Addr b, b_next;
tl_assert(bm);
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
tl_assert(a2 < first_address_with_higher_msb(a2));
tl_assert(a1 == first_address_with_same_lsb(a1));
tl_assert(a2 == first_address_with_same_lsb(a2));
Addr b, b_next;
tl_assert(bm);
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
tl_assert(a2 < first_address_with_higher_msb(a2));
tl_assert(a1 == first_address_with_same_lsb(a1));
tl_assert(a2 == first_address_with_same_lsb(a2));
{
DrdClientobj *p;
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
VG_(OSetGen_ResetIter)(s_clientobj_set);
for ( ; (p = VG_(OSetGen_Next)(s_clientobj_set)) != 0; )
{
void drd_start_using_mem(const Addr a1, const SizeT len,
const Bool is_stack_mem)
{
- tl_assert(a1 < a1 + len);
+ tl_assert(a1 <= a1 + len);
if (!is_stack_mem && s_trace_alloc)
VG_(message)(Vg_UserMsg, "Started using memory range 0x%lx + %ld%s\n",
{
const Addr a2 = a1 + len;
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
if (UNLIKELY(DRD_(any_address_is_traced)()))
DRD_(trace_mem_access)(a1, len, eEnd);
a1, a2 - a1, reason);
}
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
DRD_(bm_access_range_store)(DRD_(s_suppressed), a1, a2);
}
VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(), 12);
}
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
DRD_(bm_clear_store)(DRD_(s_suppressed), a1, a2);
}
void DRD_(start_tracing_address_range)(const Addr a1, const Addr a2)
{
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
DRD_(bm_access_range_load)(DRD_(s_traced), a1, a2);
if (! DRD_(g_any_address_traced))
void DRD_(stop_tracing_address_range)(const Addr a1, const Addr a2)
{
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
DRD_(bm_clear_load)(DRD_(s_traced), a1, a2);
if (DRD_(g_any_address_traced))
}
}
tl_assert(a1);
- tl_assert(a1 < a2);
+ tl_assert(a1 <= a2);
DRD_(bm_clear)(DRD_(s_suppressed), a1, a2);
DRD_(bm_clear)(DRD_(s_traced), a1, a2);
}
static
struct { Addr address; SizeT size; BmAccessTypeT access_type; }
s_test1_args[] = {
+ { 0, 0, eLoad },
{ 0, 1, eLoad },
{ 666, 4, eLoad },
{ 667, 2, eStore },