[PATCH] D113167: [lld-macho]Allow exporting weak_def_can_be_hidden(AKA "autohide") symbols
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 12 17:44:31 PST 2021
int3 added inline comments.
================
Comment at: lld/MachO/SymbolTable.cpp:102-103
isPrivateExtern, isThumb, isReferencedDynamically, noDeadStrip);
defined->overridesWeakDef = overridesWeakDef;
+ defined->weakDefCanBeHidden = isWeakDefCanBeHidden;
return defined;
----------------
oontvoo wrote:
> int3 wrote:
> > I forgot why we chose not to have `overridesWeakDef` as part of the Defined constructor... is it very ugly to add an additional optional param instead of doing this assignment?
> good question - dunno why it was written this way.
> so make both of them optional?
yeah sounds good
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113167/new/
https://reviews.llvm.org/D113167
More information about the llvm-commits
mailing list