[PATCH] D135427: [LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_externally
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 8 10:24:55 PDT 2022
MaskRay added inline comments.
================
Comment at: llvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll:11
; available_externally.
; RUN: llvm-lto2 run -r=%t1.o,C,pl -r=%t2.o,C,l -r=%t2.o,testglobfunc,lxp -r=%t1.o,testglobfunc,lx -o %t3 %t1.o %t2.o -save-temps
----------------
The test has an issue. If C is prevailing in %t1.o, its member testglobfunc must be prevailing as well.
I'll swap the two `-r` options for `testglobfunc`: `-r=%t1.o,testglobfunc,lxp -r=%t2.o,testglobfunc,lx`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135427/new/
https://reviews.llvm.org/D135427
More information about the llvm-commits
mailing list