diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2025-08-26 11:15:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 11:15:24 -0700 |
commit | 4a4b810c27bf293cf5e32d2801e598c0922d0675 (patch) | |
tree | 13da917725c788579eb072f7874480469c50b661 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | c81cc9f55b8d21d9421cdb00755b241f9852eca0 (diff) | |
download | llvm-4a4b810c27bf293cf5e32d2801e598c0922d0675.zip llvm-4a4b810c27bf293cf5e32d2801e598c0922d0675.tar.gz llvm-4a4b810c27bf293cf5e32d2801e598c0922d0675.tar.bz2 |
[NFC][DirectX] Fix build failure (#155441)
Add `BinaryFormat` to `LINK_COMPONENTS` to fix the following linker
error:
```
ld.lld: error: undefined symbol: llvm::dxbc::getRootParameterTypes()
>>> referenced by DXILRootSignature.cpp
>>> lib/Target/DirectX/CMakeFiles/LLVMDirectXCodeGen.dir/DXILRootSignature.cpp.o:(llvm::dxil::RootSignatureAnalysisPrinter::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&))
ld.lld: error: undefined symbol: llvm::dxbc::getShaderVisibility()
>>> referenced by DXILRootSignature.cpp
>>> lib/Target/DirectX/CMakeFiles/LLVMDirectXCodeGen.dir/DXILRootSignature.cpp.o:(llvm::dxil::RootSignatureAnalysisPrinter::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&))
>>> referenced by DXILRootSignature.cpp
>>> lib/Target/DirectX/CMakeFiles/LLVMDirectXCodeGen.dir/DXILRootSignature.cpp.o:(llvm::dxil::RootSignatureAnalysisPrinter::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&))
```
Root cause: https://github.com/llvm/llvm-project/pull/154249 changed a
header-only dependency to a real dependency without noticing that the
dependency was missing in CMakeLists.txt
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions