]> granicus.if.org Git - llvm/commitdiff
[DWARF] DW_TAG_imported_unit is not a unit type.
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 9 Oct 2017 22:33:53 +0000 (22:33 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 9 Oct 2017 22:33:53 +0000 (22:33 +0000)
As pointed out by David in D38453 and confirmed with the DWARF mailing
list, DW_TAG_imported_unit is not a valid unit type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315244 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/BinaryFormat/Dwarf.h

index a89adbee298fc12172eb38c274c55d6bc44c0b5e..a0e5367b412c36234305b042cfe66d0db820b0ed 100644 (file)
@@ -345,7 +345,6 @@ inline bool isUnitType(dwarf::Tag T) {
   case DW_TAG_type_unit:
   case DW_TAG_partial_unit:
   case DW_TAG_skeleton_unit:
-  case DW_TAG_imported_unit:
     return true;
   default:
     return false;