[PATCH] D27656: [tsan] Implement __tsan_get_alloc_stack and __tsan_locate_address to query pointer types and allocation stacks of heap pointers

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 15:02:21 PST 2016


kubabrecka retitled this revision from "[tsan] Implement __tsan_get_alloc_stack to query the allocation stack of a heap pointer" to "[tsan] Implement __tsan_get_alloc_stack and __tsan_locate_address to query pointer types and allocation stacks of heap pointers".
kubabrecka updated the summary for this revision.
kubabrecka removed rL LLVM as the repository for this revision.
kubabrecka updated this revision to Diff 81667.
kubabrecka added a comment.

Updating patch to also add `__tsan_locate_address`.  Adding a testcase.


https://reviews.llvm.org/D27656

Files:
  lib/tsan/rtl/tsan_debugging.cc
  lib/tsan/rtl/tsan_interface.h
  lib/tsan/rtl/tsan_rtl.h
  test/tsan/debug_alloc_stack.cc
  test/tsan/debug_locate.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27656.81667.patch
Type: text/x-patch
Size: 8271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161215/86dd75d9/attachment.bin>


More information about the llvm-commits mailing list