summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerTracePC.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-05-19 01:20:00 +0000
committerKamil Rytarowski <n54@gmx.com>2018-05-19 01:20:00 +0000
commitda054b1bc17dd4b6607aa9c8d7e66ff4d77d1308 (patch)
tree2bc9c8827b53e7b4d5216ee66143925c3fec6b79 /lib/fuzzer/FuzzerTracePC.cpp
parent83357ea1da602d7309226a3c43726054c16d869e (diff)
Align ClearShadowForThreadStackAndTLS for NetBSD/i386
Summary: The static TLS vector for the main thread on NetBSD/i386 can be unaligned in terms of the shadow granularity. Align the start of it with Round Down and end of it with Round Up operations for the shadow granularity shift. Example static TLS vector ranges on NetBSD/i386: tls_begin_=0xfbee7244 tls_end_=0xfbee726c. ClearShadowForThreadStackAndTLS() is called from the Main Thread bootstrap functions. This change restores the NetBSD x86 32-bit (i386) support. Sponsored by <The NetBSD Foundation> Reviewers: vitalybuka, joerg Reviewed By: vitalybuka Subscribers: kubamracek, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D46585 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerTracePC.cpp')
0 files changed, 0 insertions, 0 deletions