diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-20 18:01:22 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-20 18:01:22 +0000 |
commit | 0e8c76ed90b3b7a06cfad5b00e10cab7400ed706 (patch) | |
tree | 5c68805ef9c9a50678bd7b71cfe1ad28bef8203a | |
parent | ab8bf46913e85befbc3bb6d2a24b5a59fc11de2b (diff) | |
download | bcm5719-llvm-0e8c76ed90b3b7a06cfad5b00e10cab7400ed706.tar.gz bcm5719-llvm-0e8c76ed90b3b7a06cfad5b00e10cab7400ed706.zip |
The Archive class now has differentiation for BSD4.4 and SVR4 style archive
symbol tables. Adjust our usage to compensate.
llvm-svn: 18046
-rw-r--r-- | llvm/tools/llvm-ar/llvm-ar.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 1a4d75f46d8..0707fd66e7b 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -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 |