forked from OSchip/llvm-project
The Archive class now has differentiation for BSD4.4 and SVR4 style archive
symbol tables. Adjust our usage to compensate. llvm-svn: 18046
This commit is contained in:
parent
ab8bf46913
commit
0e8c76ed90
|
@ -339,8 +339,8 @@ void doPrint() {
|
|||
const char* data = reinterpret_cast<const char*>(I->getData());
|
||||
|
||||
// Skip things that don't make sense to print
|
||||
if (I->isLLVMSymbolTable() || I->isForeignSymbolTable() ||
|
||||
(!DontSkipBytecode &&
|
||||
if (I->isLLVMSymbolTable() || I->isSVR4SymbolTable() ||
|
||||
I->isBSD4SymbolTable() || (!DontSkipBytecode &&
|
||||
(I->isBytecode() || I->isCompressedBytecode())))
|
||||
continue;
|
||||
|
||||
|
@ -396,10 +396,6 @@ void doDisplayTable() {
|
|||
std::cout << "b";
|
||||
else if (I->isCompressedBytecode())
|
||||
std::cout << "B";
|
||||
else if (I->isForeignSymbolTable())
|
||||
std::cout << "s";
|
||||
else if (I->isLLVMSymbolTable())
|
||||
std::cout << "S";
|
||||
else if (I->isCompressed())
|
||||
std::cout << "Z";
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue