[lld] [ELF] Fix unnecessary inclusion of unreferenced provide symbols (PR #84512)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 20:14:23 PDT 2024


================
@@ -40,13 +51,23 @@ patatino:
   movl newsym, %eax
 
 #--- chain.t
-PROVIDE(f2 = 0x1000);
+PROVIDE(f7 = 0x1000);
+PROVIDE(f5 = f6);
----------------
MaskRay wrote:

Add a cycle example to either this test or the new test?

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


More information about the llvm-commits mailing list