mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 16:11:29 +00:00
[OpenMP] Fix save-temps name in linker wrapper
Summary: The wrapped registration code had a typo in the save-temps version of the name.
This commit is contained in:
parent
dbe716e874
commit
46a5a8029e
@ -1185,9 +1185,8 @@ Expected<std::string> compileModule(Module &M) {
|
||||
|
||||
SmallString<128> ObjectFile;
|
||||
int FD = -1;
|
||||
if (Error Err = createOutputFile(sys::path::filename(ExecutableName) +
|
||||
"offload-wrapper",
|
||||
"o", ObjectFile))
|
||||
if (Error Err = createOutputFile(
|
||||
sys::path::filename(ExecutableName) + "-wrapper", "o", ObjectFile))
|
||||
return std::move(Err);
|
||||
if (std::error_code EC = sys::fs::openFileForWrite(ObjectFile, FD))
|
||||
return errorCodeToError(EC);
|
||||
|
Loading…
Reference in New Issue
Block a user