diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-04-23 15:03:24 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-04-23 15:03:24 +0000 |
commit | a2470a4653174067491618b18a8ae596f179cefb (patch) | |
tree | 21a1a178586d80c3f730e35848e1e74768e75aef /llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp | |
parent | efd94c56badf696ed7193f4a83c7a59f7dfbfc6e (diff) | |
download | llvm-a2470a4653174067491618b18a8ae596f179cefb.zip llvm-a2470a4653174067491618b18a8ae596f179cefb.tar.gz llvm-a2470a4653174067491618b18a8ae596f179cefb.tar.bz2 |
Revert "DebugInfo: Emit only one kind of accelerated access/name table"
Regresses some apple_names situations - still investigating.
This reverts commit r358931.
llvm-svn: 358997
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp b/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp index b5617f46..c4eef7a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp @@ -555,8 +555,8 @@ void llvm::emitDWARF5AccelTable( SmallVector<unsigned, 1> CUIndex(CUs.size()); int Count = 0; for (const auto &CU : enumerate(CUs)) { - if (CU.value()->getCUNode()->getNameTableKind() != - DICompileUnit::DebugNameTableKind::Default) + if (CU.value()->getCUNode()->getNameTableKind() == + DICompileUnit::DebugNameTableKind::None) continue; CUIndex[CU.index()] = Count++; assert(CU.index() == CU.value()->getUniqueID()); |