diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-05-20 18:36:35 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-05-20 18:36:35 +0000 |
| commit | 1d9aec67b07a9b489d40f3d10d1ade056edf0c8c (patch) | |
| tree | 7b880a7026a2741e2905656ebd268f0c9fa22b71 | |
| parent | dfcaf9c8d833313a3cc950618d7f3b2f17557b33 (diff) | |
| download | bcm5719-llvm-1d9aec67b07a9b489d40f3d10d1ade056edf0c8c.tar.gz bcm5719-llvm-1d9aec67b07a9b489d40f3d10d1ade056edf0c8c.zip | |
Fix test breakage introduced in r209223.
Oops, broke the broken enum constants again.
llvm-svn: 209226
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 6b541730691..68673f7fb84 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -759,7 +759,8 @@ static bool isUnsignedDIType(DwarfDebug *DD, DIType Ty) { return true; assert(T == dwarf::DW_TAG_typedef || T == dwarf::DW_TAG_const_type || T == dwarf::DW_TAG_volatile_type || - T == dwarf::DW_TAG_restrict_type); + T == dwarf::DW_TAG_restrict_type || + T == dwarf::DW_TAG_enumeration_type); if (DITypeRef Deriv = DTy.getTypeDerivedFrom()) return isUnsignedDIType(DD, DD->resolve(Deriv)); // FIXME: Enums without a fixed underlying type have unknown signedness |

