diff options
-rw-r--r-- | llvm/lib/Transforms/IPO/FunctionImport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionImport.cpp b/llvm/lib/Transforms/IPO/FunctionImport.cpp index c9874fc3714..6325a726673 100644 --- a/llvm/lib/Transforms/IPO/FunctionImport.cpp +++ b/llvm/lib/Transforms/IPO/FunctionImport.cpp @@ -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.") + |