forked from OSchip/llvm-project
[Object][COFF] Revert r258665 - It doesn't do what I had intended.
I'm discussing the right approach for tracking visibility for COFF symbols on the llvm-dev list. llvm-svn: 258666
This commit is contained in:
parent
074b42debb
commit
9dc0eb4204
|
@ -207,7 +207,7 @@ uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const {
|
|||
uint32_t Result = SymbolRef::SF_None;
|
||||
|
||||
if (Symb.isExternal() || Symb.isWeakExternal())
|
||||
Result |= (SymbolRef::SF_Global | SymbolRef::SF_Exported);
|
||||
Result |= SymbolRef::SF_Global;
|
||||
|
||||
if (Symb.isWeakExternal())
|
||||
Result |= SymbolRef::SF_Weak;
|
||||
|
|
Loading…
Reference in New Issue