Skip to content

Commit 0a9ca5d

Browse files
authored
TableGen: Add failing function to libcall emitter error message (#153390)
1 parent 8453f20 commit 0a9ca5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,9 @@ void LibcallPredicateExpander::expand(SetTheory &ST, const Record *Def,
562562
auto [It, Inserted] = Func2Preds.insert({LibcallImpl, {{}, CCClass}});
563563
if (!Inserted) {
564564
PrintError(
565-
Def, "combining nested libcall set predicates currently unhandled");
565+
Def,
566+
"combining nested libcall set predicates currently unhandled: '" +
567+
LibcallImpl->getLibcallFuncName() + "'");
566568
}
567569

568570
It->second.first.push_back(AP.getDef());

0 commit comments

Comments
 (0)