[llvm-dev] [LLD] Mixing bitcode and native code

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 30 03:11:28 PDT 2018


On Fri, Mar 30, 2018, at 11:23, Carlo Kok via llvm-dev wrote:
> When having a project that's partially bitcode and partially native code, should lld allow linking a native .o to a bitcode .o?
> 
> specifically in my case, I've got an stdcall function in bitcode, called by native code, but it can't find the symbol (bitcode has it
> unmangled, native code with _ and @20)


When having thinlto enabled in both ends the same thing happens (but bitcode on both ends works fine)


More information about the llvm-dev mailing list