Home
last modified time | relevance | path

Searched refs:uhwptr (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc46 static inline uhwptr *GetCanonicFrame(uptr bp, in GetCanonicFrame()
51 uhwptr *bp_prev = (uhwptr *)bp; in GetCanonicFrame()
63 return (uhwptr*)bp; in GetCanonicFrame()
74 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
86 uhwptr *caller_frame = (uhwptr*)frame[0]; in FastUnwindStack()
88 !IsAligned((uptr)caller_frame, sizeof(uhwptr))) in FastUnwindStack()
90 uhwptr pc1 = caller_frame[2]; in FastUnwindStack()
92 uhwptr pc1 = frame[14]; in FastUnwindStack()
94 uhwptr pc1 = frame[1]; in FastUnwindStack()
Dsanitizer_internal_defs.h71 typedef unsigned long long uhwptr; // NOLINT typedef
73 typedef uptr uhwptr; // NOLINT typedef
Dsanitizer_stacktrace.h115 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc33 uhwptr *fake_stack;
35 uhwptr start_pc;
36 uhwptr fake_top;
37 uhwptr fake_bottom;
51 fake_stack = (uhwptr *)((uptr)mapping + ps + sizeof(uhwptr)); in SetUp()
60 fake_stack[RoundDownTo(fake_stack_size - 1, 2)] = (uhwptr)&fake_stack[0]; in SetUp()
63 fake_top = (uhwptr)&fake_stack[fake_stack_size + 2]; in SetUp()
65 fake_bottom = (uhwptr)mapping; in SetUp()
88 fake_stack[4] = (uhwptr)&fake_stack[4]; in TEST_F()
117 EXPECT_EQ((uhwptr)&fake_stack[0], trace.top_frame_bp); in TEST_F()
[all …]