search for: lto_flag

Displaying 1 result from an estimated 1 matches for "lto_flag".

Did you mean: lto_flags
2018 Jul 09
3
Failing compiler-rt LTO test
...ugin support as described here: https://llvm.org/docs/GoldPlugin.html compiler-rt/test/lit.common.cfg isn't set up to know about ld.bfd: elif config.host_os == 'Linux' and is_linux_lto_supported(): config.lto_supported = True config.lto_launch = [] if config.use_lld: config.lto_flags = ["-fuse-ld=lld"] else: config.lto_flags = ["-fuse-ld=gold"] The test ends up passing -fuse-ld=gold and clang barfs. It seems to me the correct thing to do is update lit.common.cfg to support ld.bfd but I'm not sure exactly how to do that. I can't find where &...