[PATCH] D120173: [LTO] Initialize canAutoHide() using canBeOmittedFromSymbolTable()
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 18 17:49:57 PST 2022
int3 created this revision.
int3 added reviewers: tejohnson, pcc.
Herald added subscribers: ormris, hiraditya, inglorion.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Per discussion on
https://reviews.llvm.org/D59709#inline-1148734, this seems like the
right course of action. `canBeOmittedFromSymbolTable()` subsumes and
generalizes the previous logic (which only handled `linkonce_odr`
globals).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120173
Files:
lld/test/MachO/lto-internalize-unnamed-addr.ll
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/Transforms/IPO/FunctionImport.cpp
llvm/test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll
llvm/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120173.410049.patch
Type: text/x-patch
Size: 8839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220219/2841d967/attachment.bin>
More information about the llvm-commits
mailing list