Skip to content

Commit a67763a

Browse files
authored
Merge pull request #8635 from augusto2112/next-0b2b91ee9cf92
Reapply "[llvm] Fix assertion error where we didn't check fixed point…
2 parents 3ce9420 + 0d6aedf commit a67763a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,15 @@ bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) {
226226
Encoding == dwarf::DW_ATE_float || Encoding == dwarf::DW_ATE_UTF ||
227227
Encoding == dwarf::DW_ATE_boolean ||
228228
Encoding == dwarf::DW_ATE_complex_float ||
229+
Encoding == dwarf::DW_ATE_signed_fixed ||
230+
Encoding == dwarf::DW_ATE_unsigned_fixed ||
229231
(Ty->getTag() == dwarf::DW_TAG_unspecified_type &&
230232
Ty->getName() == "decltype(nullptr)")) &&
231233
"Unsupported encoding");
232234
return Encoding == dwarf::DW_ATE_unsigned ||
233235
Encoding == dwarf::DW_ATE_unsigned_char ||
234236
Encoding == dwarf::DW_ATE_UTF || Encoding == dwarf::DW_ATE_boolean ||
237+
Encoding == llvm::dwarf::DW_ATE_unsigned_fixed ||
235238
Ty->getTag() == dwarf::DW_TAG_unspecified_type;
236239
}
237240
// FIXME: the signedness should come from the expression where the type is

0 commit comments

Comments
 (0)