Revert r308329: llvm: add llvm-dlltool support to the archiver
This reverts commit r308329 because it broke buildbots. llvm-svn: 308374
This commit is contained in:
@@ -227,11 +227,8 @@ uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const {
|
||||
if (Symb.isExternal() || Symb.isWeakExternal())
|
||||
Result |= SymbolRef::SF_Global;
|
||||
|
||||
if (Symb.isWeakExternal()) {
|
||||
if (Symb.isWeakExternal())
|
||||
Result |= SymbolRef::SF_Weak;
|
||||
// We use indirect to allow the archiver to write weak externs
|
||||
Result |= SymbolRef::SF_Indirect;
|
||||
}
|
||||
|
||||
if (Symb.getSectionNumber() == COFF::IMAGE_SYM_ABSOLUTE)
|
||||
Result |= SymbolRef::SF_Absolute;
|
||||
|
||||
Reference in New Issue
Block a user