The Archive class now has differentiation for BSD4.4 and SVR4 style archive

symbol tables. Adjust our usage to compensate.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-11-20 18:01:22 +00:00
parent bab98e4a32
commit 0fdd363a26

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