diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-08-15 09:55:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-15 09:55:39 +0900 |
commit | cb1228fbd535b8f9fe78505a15292b0ba23b17de (patch) | |
tree | 67e847fc596aacc24f9eb5ac6aa9b7ba614e995f /llvm/lib/LTO/LTO.cpp | |
parent | 0226e9449176f476c0a989ac66762f45e9db9f82 (diff) | |
download | llvm-cb1228fbd535b8f9fe78505a15292b0ba23b17de.zip llvm-cb1228fbd535b8f9fe78505a15292b0ba23b17de.tar.gz llvm-cb1228fbd535b8f9fe78505a15292b0ba23b17de.tar.bz2 |
RuntimeLibcalls: Return StringRef for libcall names (#153209)
Does not yet fully propagate this down into the TargetLowering
uses, many of which are relying on null checks on the returned
value.
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r-- | llvm/lib/LTO/LTO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp index 0323b4d..35d24c1 100644 --- a/llvm/lib/LTO/LTO.cpp +++ b/llvm/lib/LTO/LTO.cpp @@ -1422,7 +1422,7 @@ SmallVector<const char *> LTO::getRuntimeLibcallSymbols(const Triple &TT) { for (RTLIB::LibcallImpl Impl : LibcallImpls) { if (Impl != RTLIB::Unsupported) - LibcallSymbols.push_back(Libcalls.getLibcallImplName(Impl)); + LibcallSymbols.push_back(Libcalls.getLibcallImplName(Impl).data()); } return LibcallSymbols; |