This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Use lld and llvm-objcopy for first stage compiler in Fuchsia
ClosedPublic

Authored by phosek on Nov 16 2018, 3:05 PM.

Details

Summary

When cross-compiling the second stage to a different target, we need to
make sure that the first-stage compiler can produce binaries for that
target. Using lld and llvm-objcopy as the default linker and objcopy
tool eliminates some of the dependencies on the host toolchain.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Nov 16 2018, 3:05 PM
juliehockett accepted this revision.Nov 16 2018, 3:06 PM
This revision is now accepted and ready to land.Nov 16 2018, 3:06 PM
This revision was automatically updated to reflect the committed changes.