mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-23 02:44:32 +00:00
Don't assign a temporary string to a StringRef.
Should fix the windows debug and asan bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255149 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
587b47add0
commit
e919414c03
@ -91,7 +91,7 @@ static void findExternalCalls(const Module &DestModule, Function &F,
|
||||
SmallVector<StringRef, 64> &Worklist) {
|
||||
// We need to suffix internal function calls imported from other modules,
|
||||
// prepare the suffix ahead of time.
|
||||
StringRef Suffix;
|
||||
std::string Suffix;
|
||||
if (F.getParent() != &DestModule)
|
||||
Suffix =
|
||||
(Twine(".llvm.") +
|
||||
|
Loading…
x
Reference in New Issue
Block a user