[lld] lld: Add initial support for GNU LTO format (PR #157175)

Tulio Magno Quites Machado Filho via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 14:31:11 PDT 2025


================
@@ -0,0 +1,28 @@
+// REQUIRES: gnu_lto, gcc
----------------
tuliom wrote:

This is a good point. If the right gcc is used (i.e. the cross-compiler one) this test will fail.
If we remove the execution of the test, we won't test if the executable is working.
We only test if GCC + LLD were used.

I didn't follow your suggestion to use a freestanding test. Are you suggesting to replace it with another one?
I believe we would still need to link to a shared library.

https://github.com/llvm/llvm-project/pull/157175


More information about the llvm-commits mailing list