[Lldb-commits] [lldb] f4f47da - [Reproducer] Enable crash reports for reproducer tests

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 14 14:16:57 PST 2019


Author: Jonas Devlieghere
Date: 2019-11-14T14:16:41-08:00
New Revision: f4f47da530729161a73d71791ada3ab58886b9dd

URL: https://github.com/llvm/llvm-project/commit/f4f47da530729161a73d71791ada3ab58886b9dd
DIFF: https://github.com/llvm/llvm-project/commit/f4f47da530729161a73d71791ada3ab58886b9dd.diff

LOG: [Reproducer] Enable crash reports for reproducer tests

For some reason the reproducer tests seem really proficient at
uncovering structural issues in LLDB related to how we tear down things,
but of course only on the bots.

The pretty stack trace helps a bit, but what I really want is the crash
reports which contain much more information, such as what other threads
we doing.

Crash reports are automatically suppressed by lit. This patch
(temporarily) disables that for the reproducer tests.

Added: 
    lldb/test/Shell/Reproducer/lit.local.cfg

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/Reproducer/lit.local.cfg b/lldb/test/Shell/Reproducer/lit.local.cfg
new file mode 100644
index 000000000000..5659f1baa06d
--- /dev/null
+++ b/lldb/test/Shell/Reproducer/lit.local.cfg
@@ -0,0 +1,2 @@
+# Enable crash reports for the reproducer tests.
+del config.environment['LLVM_DISABLE_CRASH_REPORT']


        


More information about the lldb-commits mailing list