You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: MacOS with Rosette 2.
LLVM version: 13, installed with homebrew
I tried the bitcode embedding for clang. I have a very simple hello world c++ code and it happens that lld cannot recognize this flag. Can anyone help with this?
The --plugin-opt= option is specific to the ELF lld. With ld64.lld, the -mllvm option can be used for passing options to the LTO backend. Thus, the flag passed to Clang would look like -Wl,-mllvm,-lto-embed-bitcode=optimized.
Clang passes a filename rather than a directory in -lto_object_path when
using FullLTO. Previously, it was always treated it as a directory, so
lld would crash when it attempted to create temporary files inside it.
Fixesllvm#54805
Differential Revision: https://reviews.llvm.org/D129705
Platform: MacOS with Rosette 2.
LLVM version: 13, installed with homebrew
I tried the bitcode embedding for clang. I have a very simple hello world c++ code and it happens that lld cannot recognize this flag. Can anyone help with this?
I get the idea from here: https://reviews.llvm.org/rGc8e0bb3b2c24ef59556d81a275fb1f5db64899d3
Error log:
The text was updated successfully, but these errors were encountered: