summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2016-12-19 17:52:20 +0000
committerKuba Mracek <mracek@apple.com>2016-12-19 17:52:20 +0000
commit1187cbd20fe3f08345321820476511828f5c7b34 (patch)
tree3a04cd2c1d8daf7afe9eb06659a7b8b49704ca25 /clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
parentdd46b52942c2e461c4e3c41747a583c1a9a89375 (diff)
downloadbcm5719-llvm-1187cbd20fe3f08345321820476511828f5c7b34.tar.gz
bcm5719-llvm-1187cbd20fe3f08345321820476511828f5c7b34.zip
[tsan] Implement __tsan_get_alloc_stack and __tsan_locate_address to query pointer types and allocation stacks of heap pointers
In ASan, we have __asan_locate_address and __asan_get_alloc_stack, which is used in LLDB/Xcode to show the allocation backtrace for a heap memory object. This patch implements the same for TSan. Differential Revision: https://reviews.llvm.org/D27656 llvm-svn: 290119
Diffstat (limited to 'clang/test/CodeGenCXX/stack-reuse-miscompile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud