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

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 03:11:37 PDT 2024


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

I have made the test more complex and added a new test with cycle example.

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


More information about the llvm-commits mailing list