Skip to content

Commit 9dc0eb4

Browse files
committed
[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
1 parent 074b42d commit 9dc0eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Object/COFFObjectFile.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const {
207207
uint32_t Result = SymbolRef::SF_None;
208208

209209
if (Symb.isExternal() || Symb.isWeakExternal())
210-
Result |= (SymbolRef::SF_Global | SymbolRef::SF_Exported);
210+
Result |= SymbolRef::SF_Global;
211211

212212
if (Symb.isWeakExternal())
213213
Result |= SymbolRef::SF_Weak;

0 commit comments

Comments
 (0)