mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Make StringRef's std::string conversion operator explicit
The build is currenly broken when perf or ffi are enabled for llvm Just like in https://reviews.llvm.org/rG777180a32b61070a10dd330b4f038bf24e916af1
This commit is contained in:
parent
a5cd3272b1
commit
5c78d195eb
@ -274,7 +274,7 @@ GenericValue Interpreter::callExternalFunction(Function *F,
|
||||
RawFunc RawFn;
|
||||
if (RF == RawFunctions->end()) {
|
||||
RawFn = (RawFunc)(intptr_t)
|
||||
sys::DynamicLibrary::SearchForAddressOfSymbol(F->getName());
|
||||
sys::DynamicLibrary::SearchForAddressOfSymbol(std::string(F->getName()));
|
||||
if (!RawFn)
|
||||
RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F);
|
||||
if (RawFn != 0)
|
||||
|
@ -328,7 +328,7 @@ bool PerfJITEventListener::InitDebuggingDir() {
|
||||
return false;
|
||||
}
|
||||
|
||||
JitPath = UniqueDebugDir.str();
|
||||
JitPath = std::string(UniqueDebugDir.str());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user