[Openmp-commits] [PATCH] D109846: [OpenMP][libomptarget] Minor fix in x86_64 plugin
Hansang Bae via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Sep 15 13:57:45 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGae2a5facce96: [OpenMP][libomptarget] Minor fix in x86_64 plugin (authored by hbae).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109846/new/
https://reviews.llvm.org/D109846
Files:
openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
Index: openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
===================================================================
--- openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
+++ openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
@@ -41,7 +41,7 @@
/// Array of Dynamic libraries loaded for this target.
struct DynLibTy {
- char *FileName;
+ std::string FileName;
void *Handle;
};
@@ -100,7 +100,7 @@
for (auto &lib : DynLibs) {
if (lib.Handle) {
dlclose(lib.Handle);
- remove(lib.FileName);
+ remove(lib.FileName.c_str());
}
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109846.372795.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210915/0ca0660b/attachment.bin>
More information about the Openmp-commits
mailing list