diff options
| author | Pavel Labath <labath@google.com> | 2018-06-06 11:35:23 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2018-06-06 11:35:23 +0000 |
| commit | 9337b41cb5cd79fb57d97578b3c5e26a117ddfaf (patch) | |
| tree | d20d75b75aa69f42fb836a0f30dd3c65b9e59fc2 /lldb/lit/SymbolFile | |
| parent | 86026bdaee77c40009bdb91d9543bdc679b792ea (diff) | |
| download | bcm5719-llvm-9337b41cb5cd79fb57d97578b3c5e26a117ddfaf.tar.gz bcm5719-llvm-9337b41cb5cd79fb57d97578b3c5e26a117ddfaf.zip | |
[DWARF] Add (empty) DebugNamesDWARFIndex class and a setting to control its use
Summary:
This patch adds the skeleton for implementing the DWARF v5 name index
class. All of the methods are stubbed out and will be implemented in
subsequent patches. The interesting part of the patch is the addition of
a "ignore-file-indexes" setting to the dwarf plugin which enables a
user to force using manual indexing path in lldb (for example as a
debugging aid). I have also added a test that verifies that file indexes
are used by default.
Reviewers: JDevlieghere, clayborg, jingham
Subscribers: mgorny, mehdi_amini, aprantl, lldb-commits
Differential Revision: https://reviews.llvm.org/D47629
llvm-svn: 334088
Diffstat (limited to 'lldb/lit/SymbolFile')
| -rw-r--r-- | lldb/lit/SymbolFile/DWARF/apple-index-is-used.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/lit/SymbolFile/DWARF/apple-index-is-used.cpp b/lldb/lit/SymbolFile/DWARF/apple-index-is-used.cpp new file mode 100644 index 00000000000..104d86756e4 --- /dev/null +++ b/lldb/lit/SymbolFile/DWARF/apple-index-is-used.cpp @@ -0,0 +1,8 @@ +// Test that we use the apple indexes. +// RUN: clang %s -g -c -o %t --target=x86_64-apple-macosx +// RUN: lldb-test symbols %t | FileCheck %s + +// CHECK: .apple_names index present +// CHECK: .apple_types index present + +int foo; |

