We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f45ef6 commit 16b0b3eCopy full SHA for 16b0b3e
llvm/include/llvm/IR/RuntimeLibcalls.h
@@ -81,7 +81,10 @@ struct RuntimeLibcallsInfo {
81
return LibcallCallingConvs[Call];
82
}
83
84
- ArrayRef<const char *> getLibcallNames() const { return LibcallRoutineNames; }
+ ArrayRef<const char *> getLibcallNames() const {
85
+ // Trim UNKNOWN_LIBCALL from the end
86
+ return ArrayRef(LibcallRoutineNames).drop_back();
87
+ }
88
89
private:
90
/// Stores the name each libcall.
0 commit comments