summaryrefslogtreecommitdiffstats
path: root/lldb/lit/SymbolFile
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-12 13:11:25 +0000
committerPavel Labath <labath@google.com>2018-06-12 13:11:25 +0000
commitdc4bd2e4419fd96842385b12ebe096c2929afc28 (patch)
tree0b9b0bf56c71f6edc177e572b8c83b9c9d188806 /lldb/lit/SymbolFile
parent07828811610dfaef98c9eaa82a754c516b4e2801 (diff)
downloadbcm5719-llvm-dc4bd2e4419fd96842385b12ebe096c2929afc28.tar.gz
bcm5719-llvm-dc4bd2e4419fd96842385b12ebe096c2929afc28.zip
DWARFDebugNames: Implement last GetGlobalVariables overload
This function implements the search for all global variables within a given compilation unit. llvm-svn: 334500
Diffstat (limited to 'lldb/lit/SymbolFile')
-rw-r--r--lldb/lit/SymbolFile/DWARF/find-variable-file.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/lldb/lit/SymbolFile/DWARF/find-variable-file.cpp b/lldb/lit/SymbolFile/DWARF/find-variable-file.cpp
index 4f0cb573aea..f71d4a2b09b 100644
--- a/lldb/lit/SymbolFile/DWARF/find-variable-file.cpp
+++ b/lldb/lit/SymbolFile/DWARF/find-variable-file.cpp
@@ -1,7 +1,15 @@
// REQUIRES: lld
-// RUN: clang -g -c -o %t-1.o --target=x86_64-pc-linux %s
-// RUN: clang -g -c -o %t-2.o --target=x86_64-pc-linux %S/Inputs/find-variable-file-2.cpp
+// RUN: clang -g -c -o %t-1.o --target=x86_64-pc-linux -mllvm -accel-tables=Disable %s
+// RUN: clang -g -c -o %t-2.o --target=x86_64-pc-linux -mllvm -accel-tables=Disable %S/Inputs/find-variable-file-2.cpp
+// RUN: ld.lld %t-1.o %t-2.o -o %t
+// RUN: lldb-test symbols --file=find-variable-file.cpp --find=variable %t | \
+// RUN: FileCheck --check-prefix=ONE %s
+// RUN: lldb-test symbols --file=find-variable-file-2.cpp --find=variable %t | \
+// RUN: FileCheck --check-prefix=TWO %s
+
+// RUN: clang -g -c -o %t-1.o --target=x86_64-pc-linux -mllvm -accel-tables=Dwarf %s
+// RUN: clang -g -c -o %t-2.o --target=x86_64-pc-linux -mllvm -accel-tables=Dwarf %S/Inputs/find-variable-file-2.cpp
// RUN: ld.lld %t-1.o %t-2.o -o %t
// RUN: lldb-test symbols --file=find-variable-file.cpp --find=variable %t | \
// RUN: FileCheck --check-prefix=ONE %s
OpenPOWER on IntegriCloud