[llvm] [llvm-profgen] Support loading symbols from symtab for COFF (PR #179175)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 4 18:54:43 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/32269
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
62.209 [8/2/2876] Linking CXX shared library lib/libLLVMLTO.so.23.0git
62.234 [7/2/2877] Creating library symlink lib/libLLVMLTO.so
62.324 [3/5/2878] Linking CXX shared library lib/libLLVMDTLTO.so.23.0git
62.348 [2/5/2879] Creating library symlink lib/libLLVMDTLTO.so
62.351 [2/4/2880] Linking CXX shared library lib/libLTO.so.23.0git
62.362 [1/4/2881] Linking CXX executable bin/llvm-lto
62.363 [1/3/2882] Linking CXX executable bin/llvm-lto2
62.375 [1/2/2883] Creating library symlink lib/libLTO.so
72.519 [1/1/2884] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/ProfiledBinary.cpp.o
72.648 [0/1/2885] Linking CXX executable bin/llvm-profgen
FAILED: bin/llvm-profgen
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold -Wl,--gc-sections tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/llvm-profgen.cpp.o tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/PerfReader.cpp.o tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/CSPreInliner.cpp.o tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/ProfiledBinary.cpp.o tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/ProfileGenerator.cpp.o tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/MissingFrameInferrer.cpp.o -o bin/llvm-profgen -Wl,-rpath,"\$ORIGIN/../lib:/home/buildbot/worker/as-builder-7/llvm-nvptx64-nvidia-ubuntu/build/lib:" lib/libLLVMX86Desc.so.23.0git lib/libLLVMNVPTXDesc.so.23.0git lib/libLLVMX86Disassembler.so.23.0git lib/libLLVMX86Info.so.23.0git lib/libLLVMNVPTXInfo.so.23.0git lib/libLLVMipo.so.23.0git lib/libLLVMMCDisassembler.so.23.0git lib/libLLVMProfileData.so.23.0git lib/libLLVMSymbolize.so.23.0git lib/libLLVMDebugInfoDWARF.so.23.0git lib/libLLVMObject.so.23.0git lib/libLLVMMC.so.23.0git lib/libLLVMCore.so.23.0git lib/libLLVMTargetParser.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/llvm-nvptx64-nvidia-ubuntu/build/lib && :
tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/ProfiledBinary.cpp.o:ProfiledBinary.cpp:function llvm::sampleprof::ProfiledBinary::loadSymbolsFromSymtab(llvm::object::ObjectFile const*) [clone .localalias]:(.text._ZN4llvm10sampleprof14ProfiledBinary21loadSymbolsFromSymtabEPKNS_6object10ObjectFileE+0x250): error: undefined reference to 'llvm::pdb::loadDataForEXE(llvm::pdb::PDB_ReaderType, llvm::StringRef, std::unique_ptr<llvm::pdb::IPDBSession, std::default_delete<llvm::pdb::IPDBSession> >&)'
tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/ProfiledBinary.cpp.o:ProfiledBinary.cpp:function llvm::sampleprof::ProfiledBinary::loadSymbolsFromSymtab(llvm::object::ObjectFile const*) [clone .localalias]:(.text._ZN4llvm10sampleprof14ProfiledBinary21loadSymbolsFromSymtabEPKNS_6object10ObjectFileE+0x461): error: undefined reference to 'llvm::pdb::PDBSymbol::getSymTag() const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/179175
More information about the llvm-commits
mailing list