mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[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
84361d0d8a
commit
19769657b9
@ -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
Block a user