Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace.cpp75 static inline uhwptr *GetCanonicFrame(uptr bp, in GetCanonicFrame()
81 uhwptr *bp_prev = (uhwptr *)bp; in GetCanonicFrame()
93 return (uhwptr*)bp; in GetCanonicFrame()
105 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast()
117 uhwptr *caller_frame = (uhwptr*)frame[0]; in UnwindFast()
119 !IsAligned((uptr)caller_frame, sizeof(uhwptr))) in UnwindFast()
121 uhwptr pc1 = caller_frame[2]; in UnwindFast()
123 uhwptr pc1 = frame[14]; in UnwindFast()
126 uhwptr pc1 = frame[-1]; in UnwindFast()
128 uhwptr pc1 = STRIP_PAC_PC((void *)frame[1]); in UnwindFast()
H A Dsanitizer_stacktrace_sparc.cpp55 while (next_bp != bp && IsAligned(next_bp, sizeof(uhwptr)) && i++ < 8) { in UnwindFast()
57 next_bp = (uptr)((uhwptr *)next_bp)[14] + STACK_BIAS; in UnwindFast()
65 while (IsValidFrame(bp, stack_top, bottom) && IsAligned(bp, sizeof(uhwptr)) && in UnwindFast()
67 uhwptr pc1 = ((uhwptr *)bp)[15]; in UnwindFast()
79 bp = (uptr)((uhwptr *)bp)[14] + STACK_BIAS; in UnwindFast()
H A Dsanitizer_internal_defs.h153 typedef unsigned long long uhwptr; typedef
155 typedef uptr uhwptr; typedef
H A Dsanitizer_stacktrace.h166 static const uptr kFrameSize = 2 * sizeof(uhwptr);
H A Dsanitizer_linux.cpp2244 *bp = (uptr)((uhwptr *)*sp)[14] + STACK_BIAS; in GetPcSpBp()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stacktrace_test.cpp38 uhwptr *fake_stack;
40 uhwptr start_pc;
42 uhwptr fake_bp;
43 uhwptr fake_top;
44 uhwptr fake_bottom;
69 fake_stack = (uhwptr *)((uptr)mapping + ps + sizeof(uhwptr)); in SetUp()
81 fake_top = (uhwptr)&fake_stack[fake_stack_size + kFpOffset]; in SetUp()
83 fake_bottom = (uhwptr)mapping; in SetUp()
124 fake_stack[4] = (uhwptr)&fake_stack[4]; in TEST_F()
150 EXPECT_EQ((uhwptr)&fake_stack[kBpOffset], trace.top_frame_bp); in TEST_F()
[all …]