We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab86ef commit d4f4f80Copy full SHA for d4f4f80
openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
@@ -1160,7 +1160,7 @@ struct CUDADeviceTy : public GenericDeviceTy {
1160
// automatically so we must create it ourselves. The backend will emit
1161
// several globals that contain function pointers we can call. These are
1162
// prefixed with a known name due to Nvidia's lack of section support.
1163
- auto ELFObjOrErr = ELF64LEObjectFile::create(Image.getMemoryBuffer());
+ auto ELFObjOrErr = Handler.getELFObjectFile(Image);
1164
if (!ELFObjOrErr)
1165
return ELFObjOrErr.takeError();
1166
0 commit comments