Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 9eb9267

Browse files
committed
Partially revert r308329 to fix MSVC
This is an attempt to fix an upstream bug at https://bugs.llvm.org/show_bug.cgi?id=36096 by applying the local solution found there and otherwise reverting the behavior that seems to be causing problems for us. I'm not actually sure what's going on here, but hopefully it's not too bad for us...
1 parent 5c54c25 commit 9eb9267

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Object/ArchiveWriter.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,7 @@ static bool isArchiveSymbol(const object::BasicSymbolRef &S) {
305305
return false;
306306
if (!(Symflags & object::SymbolRef::SF_Global))
307307
return false;
308-
if (Symflags & object::SymbolRef::SF_Undefined &&
309-
!(Symflags & object::SymbolRef::SF_Indirect))
308+
if (Symflags & object::SymbolRef::SF_Undefined)
310309
return false;
311310
return true;
312311
}

0 commit comments

Comments
 (0)