summaryrefslogtreecommitdiff
path: root/tools/llvm-ar
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2007-07-06 13:38:17 +0000
committerGabor Greif <ggreif@gmail.com>2007-07-06 13:38:17 +0000
commite75ca3d809ff17260efa320a949cb91ea2b3981e (patch)
tree88b6c59641db2229ecfe183eeaf3ace8c31708f9 /tools/llvm-ar
parent664e9546d674096c5a012536f1a424b1681ece51 (diff)
downloadllvm-e75ca3d809ff17260efa320a949cb91ea2b3981e.tar.gz
llvm-e75ca3d809ff17260efa320a949cb91ea2b3981e.tar.bz2
llvm-e75ca3d809ff17260efa320a949cb91ea2b3981e.tar.xz
eliminate residual cruft related to recognizing bytecode
files. bitcode files are the only LLVM format left. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar')
-rw-r--r--tools/llvm-ar/llvm-ar.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp
index 2cd16e361e..1d3ede6459 100644
--- a/tools/llvm-ar/llvm-ar.cpp
+++ b/tools/llvm-ar/llvm-ar.cpp
@@ -356,8 +356,7 @@ bool doPrint(std::string* ErrMsg) {
// Skip things that don't make sense to print
if (I->isLLVMSymbolTable() || I->isSVR4SymbolTable() ||
- I->isBSD4SymbolTable() || (!DontSkipBitcode &&
- (I->isBytecode() || I->isCompressedBytecode())))
+ I->isBSD4SymbolTable() || (!DontSkipBitcode && I->isBitcode()))
continue;
if (Verbose)
@@ -406,10 +405,8 @@ doDisplayTable(std::string* ErrMsg) {
if (Verbose) {
// FIXME: Output should be this format:
// Zrw-r--r-- 500/ 500 525 Nov 8 17:42 2004 Makefile
- if (I->isBytecode())
+ if (I->isBitcode())
std::cout << "b";
- else if (I->isCompressedBytecode())
- std::cout << "B";
else if (I->isCompressed())
std::cout << "Z";
else