[llvm] r315244 - [DWARF] DW_TAG_imported_unit is not a unit type.
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 15:33:53 PDT 2017
Author: jdevlieghere
Date: Mon Oct 9 15:33:53 2017
New Revision: 315244
URL: http://llvm.org/viewvc/llvm-project?rev=315244&view=rev
Log:
[DWARF] DW_TAG_imported_unit is not a unit type.
As pointed out by David in D38453 and confirmed with the DWARF mailing
list, DW_TAG_imported_unit is not a valid unit type.
Modified:
llvm/trunk/include/llvm/BinaryFormat/Dwarf.h
Modified: llvm/trunk/include/llvm/BinaryFormat/Dwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/BinaryFormat/Dwarf.h?rev=315244&r1=315243&r2=315244&view=diff
==============================================================================
--- llvm/trunk/include/llvm/BinaryFormat/Dwarf.h (original)
+++ llvm/trunk/include/llvm/BinaryFormat/Dwarf.h Mon Oct 9 15:33:53 2017
@@ -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;
More information about the llvm-commits
mailing list