Skip to content

Commit 8570bee

Browse files
committed
Revert "[llvm][dsymutil] Add DW_TAG_imported_declaration to accelerator table"
This reverts commit ccee9b7. This started failing on Linux buildbots. The executable wasn't generated correctly. Differential Revision: https://reviews.llvm.org/D143458
1 parent e135476 commit 8570bee

File tree

4 files changed

+0
-66
lines changed

4 files changed

+0
-66
lines changed

llvm/lib/DWARFLinker/DWARFLinker.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,8 +1589,6 @@ DIE *DWARFLinker::DIECloner::cloneDIE(const DWARFDie &InputDIE,
15891589
if (!AttrInfo.Name)
15901590
AttrInfo.Name = StringPool.getEntry("(anonymous namespace)");
15911591
Unit.addNamespaceAccelerator(Die, AttrInfo.Name);
1592-
} else if (Tag == dwarf::DW_TAG_imported_declaration && AttrInfo.Name) {
1593-
Unit.addNamespaceAccelerator(Die, AttrInfo.Name);
15941592
} else if (isTypeTag(Tag) && !AttrInfo.IsDeclaration &&
15951593
getDIENames(InputDIE, AttrInfo, StringPool) && AttrInfo.Name &&
15961594
AttrInfo.Name.getString()[0]) {

llvm/test/tools/dsymutil/ARM/accel-imported-declarations.test

Lines changed: 0 additions & 47 deletions
This file was deleted.

llvm/test/tools/dsymutil/Inputs/accel-imported-declaration.cpp

Lines changed: 0 additions & 17 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)