[clang] [llvm] [openmp] [PGO][OpenMP] Instrumentation for GPU devices (PR #76587)

Gheorghe-Teodor Bercea via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 09:32:28 PDT 2024


doru1004 wrote:

This is failing for me:

```
ld.lld: error: undefined symbol: llvm::InstrProfSymtab::create(llvm::StringRef)
>>> referenced by GlobalHandler.cpp
>>>               GlobalHandler.cpp.o:(llvm::omp::target::plugin::GPUProfGlobals::dump() const) in archive /home/dobercea/upstream/llvm-project/build/lib/libomptarget.rtl.amdgpu.a

ld.lld: error: undefined symbol: llvm::InstrProfSymtab::dumpNames(llvm::raw_ostream&) const
>>> referenced by GlobalHandler.cpp
>>>               GlobalHandler.cpp.o:(llvm::omp::target::plugin::GPUProfGlobals::dump() const) in archive /home/dobercea/upstream/llvm-project/build/lib/libomptarget.rtl.amdgpu.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

```

https://github.com/llvm/llvm-project/pull/76587


More information about the cfe-commits mailing list