llvm-project/lldb/packages/Python/lldbsuite/test/functionalities
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
..
abbreviation Remove expectedFlakeyFreeBSD decorator for prompt setting 2016-02-18 21:38:24 +00:00
alias
apropos_with_process Fix a bug where LLDB would crash if 'apropos <anything>' was used after spawning an inferior process 2016-04-20 20:48:05 +00:00
archives Mark some aarch64-linux specific xfails marking bug entries 2016-05-25 22:30:05 +00:00
asan Update test for r268192. 2016-05-01 11:32:10 +00:00
attach_resume [test] make expect_state_changes actually expect *only* them 2016-04-14 15:52:58 +00:00
avoids-fd-leak Fixup TestFdLeak 2016-04-12 13:55:54 +00:00
backticks Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
breakpoint Fix error propagation from the Z0 packet in gdb-remote breakpoint setting. 2016-05-19 02:13:44 +00:00
command_history Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
command_regex Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
command_script Revert "XFail TestImport.py on Windows because Python 3 import rules don't work that way." 2016-04-05 21:49:41 +00:00
command_script_immediate_output Split out console and file writing cases in TestCommandScriptImmediateOutput 2016-05-03 16:31:36 +00:00
command_source Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
completion Add target and host platform enumerations so we're not using strings. 2016-02-18 18:50:02 +00:00
conditional_break Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
data-formatter It has been brought to my attention that, given two variables 2016-05-25 23:19:01 +00:00
dead-strip Add "-gmodules" support to the test suite. 2016-05-26 13:57:03 +00:00
disassembly Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
dynamic_value_child_count Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
embedded_interpreter Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
exec When calling TypeSystemMap::Clear, objects being destroyed in the process of 2016-02-12 00:03:19 +00:00
expr-doesnt-deadlock Remove flaky decorator from three tests on linux 2016-04-27 12:43:37 +00:00
fat_archives Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
format Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
inferior-assert [LLDB][MIPS] Fix TestInferiorAssert.py for MIPS 2016-02-26 13:30:34 +00:00
inferior-changed Remove skipIfHostPlatform and skipUnlessHostPlatform decorators. 2016-02-09 00:36:27 +00:00
inferior-crashing Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
inline-stepping Remove XFAIL from test passing on FreeBSD 2016-02-19 17:35:01 +00:00
jitloader_gdb Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
launch_with_shellexpand Improve the way LLDB escapes arguments before passing them to the shell 2016-04-04 22:46:38 +00:00
llvm Fix xfail for test_tilde_home_directory on windows 2016-04-20 09:54:47 +00:00
load_unload Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
longjmp Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
memory Clean up test results on Windows. 2016-05-13 18:26:30 +00:00
multidebugger_commands Change 'apropos' such that it doesn't look into the "long help/syntax" strings for commands 2016-03-23 01:21:55 +00:00
nested_alias Fix an issue with nested aliases where the help system wouldn't correctly track the fact that an alias is an alias to a dash-dash alias 2016-03-25 21:59:06 +00:00
non-overlapping-index-variable-i Remove `use_lldb_suite` from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
nosucharch Remove `use_lldb_suite` from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
object-file Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
paths Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
platform Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
plugins Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
postmortem Disable LinuxCoreTestCase.test_s390x 2016-04-14 17:36:41 +00:00
process_attach [NFC] Cleanup the code used to run shell commands from tests 2016-04-05 14:08:18 +00:00
process_group [NFC] Cleanup the code used to run shell commands from tests 2016-04-05 14:08:18 +00:00
process_launch Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
process_save_core Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
ptr_refs Added a testcase for the ptr_refs tool so we catch if it stops working. 2016-05-03 20:36:06 +00:00
recursion Remove `use_lldb_suite` from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
register Remove the skipUnlessArch decorator. 2016-02-09 00:36:22 +00:00
rerun Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
return-value Revert a part of "Add/Improve complex, vector, aggregate types handling for SysV ARM (hard/soft) ABI." 2016-02-29 14:26:45 +00:00
set-data Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
signal Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
single-quote-in-filename-to-lldb Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
step-avoids-no-debug Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
stop-hook Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
target_command Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
thread Xfail TestCrashDuringStep and TestCreateDuringInstructionStep on arm-linux 2016-05-16 11:21:49 +00:00
tsan [tsan] Prefer mangled name looking up variable declaration for racy address 2016-06-01 21:32:45 +00:00
tty Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
type_completion Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
type_lookup Make 'type lookup' print an error message instead of complete radio silence when it can't find a type matching user input 2016-03-24 21:32:39 +00:00
unwind Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
value_md5_crash Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
watchpoint Mark some aarch64-linux specific xfails marking bug entries 2016-05-25 22:30:05 +00:00