[Lldb-commits] [lldb] 1fae85a - [DWARF] Add instructions to regenerate this test, if needed.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 16 13:31:51 PDT 2020
Author: Davide Italiano
Date: 2020-04-16T13:31:32-07:00
New Revision: 1fae85a8534ec51ca893899314bd244b3e9684c7
URL: https://github.com/llvm/llvm-project/commit/1fae85a8534ec51ca893899314bd244b3e9684c7
DIFF: https://github.com/llvm/llvm-project/commit/1fae85a8534ec51ca893899314bd244b3e9684c7.diff
LOG: [DWARF] Add instructions to regenerate this test, if needed.
Added:
Modified:
lldb/test/Shell/SymbolFile/DWARF/static_scope.s
Removed:
################################################################################
diff --git a/lldb/test/Shell/SymbolFile/DWARF/static_scope.s b/lldb/test/Shell/SymbolFile/DWARF/static_scope.s
index 84a69e08ecfc..02d497ac9ccb 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/static_scope.s
+++ b/lldb/test/Shell/SymbolFile/DWARF/static_scope.s
@@ -3,6 +3,15 @@
# REQUIRES: x86
+# Original test case (for future reference), compiled with:
+# $ clang-10 -g -Og test.c -o test
+# $ cat test.c
+# volatile int a;
+# main() {
+# int b = 3;
+# a;
+# }
+
# RUN: llvm-mc -triple=x86_64-apple-macosx10.15.0 -filetype=obj %s > %t.o
# RUN: lldb-test symbols %t.o | FileCheck %s
More information about the lldb-commits
mailing list