llvm-project/lldb/packages/Python/lldbsuite
Devin Coughlin a10ab76b16 [tsan] Prefer mangled name looking up variable declaration for racy address
For Thread Sanitizer reports, LLDB tries to find a global variable declaration
corresponding to the racy address in order to provide a filename and line
number. This commit changes the lookup of the variable to use the mangled
name for lookup and fall back to the demangled version if unavailable. This
is needed to report locations of races on Swift global variables.

I've also added a test to make sure we look up C++ globals correctly.

rdar://problem/26459401

Differential Revision: http://reviews.llvm.org/D20760

llvm-svn: 271433
2016-06-01 21:32:45 +00:00
..
support Add "-gmodules" support to the test suite. 2016-05-26 13:57:03 +00:00
test [tsan] Prefer mangled name looking up variable declaration for racy address 2016-06-01 21:32:45 +00:00
test_event surface build error content through test event system 2016-05-14 00:42:30 +00:00
__init__.py Added lldbsuite.lldb_test_root, switched formatter to use it. 2015-12-07 06:19:48 +00:00