[PATCH] D98220: [WPD][ELF] Allow whole program devirtualization for version script localized symbols
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 9 11:47:03 PST 2021
MaskRay marked an inline comment as done.
MaskRay added inline comments.
================
Comment at: lld/test/ELF/lto/devirt_vcall_vis_localize.ll:12
+
+; RUN: ld.lld %t1.o %t2.o -o %t.out --save-temps --lto-whole-program-visibility -shared \
+; RUN: --version-script=%t.ver -mllvm -pass-remarks=. 2>&1 | FileCheck %s --check-prefix=REMARK
----------------
lanza wrote:
> You can remove the `vcall_visibility` here and the `--lto-whole-program-visibility` combined with the version script will allow the `vcall_visibility` to be applied.
`!vcall_visibility` is here to better reflect the clang codegen.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98220/new/
https://reviews.llvm.org/D98220
More information about the llvm-commits
mailing list