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:
Reid Spencer 2004-11-20 18:01:22 +00:00
parent ab8bf46913
commit 0e8c76ed90
1 changed files with 2 additions and 6 deletions

View File

@ -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