[PATCH] D107934: [LowerTypeTests] Emit cfi_jt aliases regardless of function export
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 25 10:42:02 PDT 2021
tejohnson added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/LowerTypeTests.cpp:1564
JtAlias->setVisibility(GlobalValue::HiddenVisibility);
+ appendToUsed(M, {JtAlias});
+ }
----------------
This should only be needed if it is internal linkage, to prevent the dropping. With external linkage it can't be dropped anyway.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107934/new/
https://reviews.llvm.org/D107934
More information about the llvm-commits
mailing list