https://github.com/MaskRay requested changes to this pull request.

This breaks a -DBUILD_SHARED_LIBS=on build
```
ld.lld: error: undefined symbol: 
llvm::codegen::InitTargetOptionsFromCodeGenFlags(llvm::Triple const&)
>>> referenced by LTO.cpp
>>>               
>>> tools/lld/ELF/CMakeFiles/lldELF.dir/LTO.cpp.o:(createConfig(lld::elf::Ctx&)::$_0::operator()(llvm::Triple
>>>  const&) const)
>>> referenced by LTO.cpp
>>>               
>>> tools/lld/ELF/CMakeFiles/lldELF.dir/LTO.cpp.o:(llvm::lto::Config::InitTargetOptions::'lambda'(llvm::Triple
>>>  const&)::operator()(llvm::Triple const&) const)
```

https://github.com/llvm/llvm-project/pull/179509
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to