[llvm] [ThinLTO] Distinguish symbols that are promoted (PR #181946)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 10:23:33 PST 2026


================
@@ -9,7 +9,7 @@
 ; RUN:  llvm-nm %t2.bc.thinlto.o | FileCheck  %s --check-prefix=NM1
 
 ; RUN: llvm-lto2 run %t1.bc %t2.bc -o %t.o -save-temps \
-; RUN:     -r=%t1.bc,foo,plx \
+; RUN:     -r=%t1.bc,foo,lx \
----------------
mtrofin wrote:

(from offline chat) `foo` is a declaration. It shouldn't be marked prevailing in the first place, but llvm-lto2 expects a resolution for it (hence the `-r`).

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


More information about the llvm-commits mailing list