Skip to content

Commit

Permalink
[Object][COFF] Revert r258665 - It doesn't do what I had intended.
Browse files Browse the repository at this point in the history
I'm discussing the right approach for tracking visibility for COFF symbols on
the llvm-dev list.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258666 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lhames committed Jan 25, 2016
1 parent a6a79a6 commit b412501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Object/COFFObjectFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b412501

Please sign in to comment.