diff options
author | Spyridoula Gravani <sgravani@apple.com> | 2017-07-26 00:52:31 +0000 |
---|---|---|
committer | Spyridoula Gravani <sgravani@apple.com> | 2017-07-26 00:52:31 +0000 |
commit | dc635f40bb976d8ca48e441c4a5b2ca8f8a6ebc2 (patch) | |
tree | 963536da37ae3b7886adafb00801f63c724f65a1 /llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | |
parent | 603ea2df2a997ade68a946cc5c203469a1b8f2c9 (diff) | |
download | bcm5719-llvm-dc635f40bb976d8ca48e441c4a5b2ca8f8a6ebc2.tar.gz bcm5719-llvm-dc635f40bb976d8ca48e441c4a5b2ca8f8a6ebc2.zip |
[DWARF] Generalized verification of .apple_names accelerator table to be applicable to any acceleration table. Added verification for .apple_types, .apple_namespaces and .apple_objc sections.
Differential Revision: https://reviews.llvm.org/D35853
llvm-svn: 309068
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFContext.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp index 654fc0c10c4..b8bee0c449d 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp @@ -427,10 +427,7 @@ bool DWARFContext::verify(raw_ostream &OS, DIDumpType DumpType) { if (!verifier.handleDebugLine()) Success = false; } - if (DumpType == DIDT_All || DumpType == DIDT_AppleNames) { - if (!verifier.handleAppleNames()) - Success = false; - } + Success &= verifier.handleAccelTables(); return Success; } |