File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,16 @@ class SymbolBody {
6262 bool isUndefined () const { return SymbolKind == UndefinedKind; }
6363 bool isDefined () const { return SymbolKind <= DefinedLast; }
6464 bool isCommon () const { return SymbolKind == DefinedCommonKind; }
65+ bool isShared () const { return SymbolKind == SharedKind; }
66+ bool isLocal () const { return IsLocal; }
67+
6568 bool isLazy () const {
6669 return SymbolKind == LazyArchiveKind || SymbolKind == LazyObjectKind;
6770 }
68- bool isShared () const { return SymbolKind == SharedKind; }
71+
6972 bool isInCurrentDSO () const {
70- return ! isUndefined () && ! isShared () && ! isLazy () ;
73+ return SymbolKind == DefinedRegularKind || SymbolKind == DefinedCommonKind ;
7174 }
72- bool isLocal () const { return IsLocal; }
7375
7476 // True is this is an undefined weak symbol. This only works once
7577 // all input files have been added.
You can’t perform that action at this time.
0 commit comments