diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2017-10-09 22:33:53 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2017-10-09 22:33:53 +0000 |
| commit | d3b670e79a2ce9b482c26b2c033d0a4cf97fee29 (patch) | |
| tree | 2e54361bf6a0091693c5d29402673fc7c6e51b2e | |
| parent | 57d8452a63f9d66b42b32049e676a9ec77397720 (diff) | |
| download | bcm5719-llvm-d3b670e79a2ce9b482c26b2c033d0a4cf97fee29.tar.gz bcm5719-llvm-d3b670e79a2ce9b482c26b2c033d0a4cf97fee29.zip | |
[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.
llvm-svn: 315244
| -rw-r--r-- | llvm/include/llvm/BinaryFormat/Dwarf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/include/llvm/BinaryFormat/Dwarf.h b/llvm/include/llvm/BinaryFormat/Dwarf.h index a89adbee298..a0e5367b412 100644 --- a/llvm/include/llvm/BinaryFormat/Dwarf.h +++ b/llvm/include/llvm/BinaryFormat/Dwarf.h @@ -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; |

