summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-14 23:17:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-14 23:17:41 +0000
commitb3eaba688dd3cf0e04442fb1a97788ec8150d601 (patch)
tree5c6ae0cc2694cd8774e661ecdac7b2e57ba0863e /llvm/tools
parent36c3a585578d2daef1d527a0f6cf1cc1486b397a (diff)
downloadbcm5719-llvm-b3eaba688dd3cf0e04442fb1a97788ec8150d601.tar.gz
bcm5719-llvm-b3eaba688dd3cf0e04442fb1a97788ec8150d601.zip
Correct call of methods whose names have changed.
llvm-svn: 17803
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/llvm-ar/llvm-ar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 2d1d6219acb..74ea8bf5dcc 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -356,9 +356,9 @@ void doPrint() {
std::cout << "Printing " << I->getPath().get() << "\n";
if (I->isCompressedBytecode())
- Compressor::decompressToFile(data+4,I->getSize()-4,std::cout);
+ Compressor::decompressToStream(data+4,I->getSize()-4,std::cout);
else if (I->isCompressed()) {
- Compressor::decompressToFile(data,I->getSize(),std::cout);
+ Compressor::decompressToStream(data,I->getSize(),std::cout);
} else {
unsigned len = I->getSize();
std::cout.write(data, len);
@@ -420,7 +420,7 @@ void doDisplayTable() {
std::cout << "/" << std::setw(4) << I->getGroup();
std::cout << " " << std::setw(8) << I->getSize();
std::cout << " " << std::setw(20) <<
- I->getModTime().ToString().substr(4);
+ I->getModTime().toString().substr(4);
std::cout << " " << I->getPath().get() << "\n";
} else {
std::cout << I->getPath().get() << "\n";
@@ -464,7 +464,7 @@ void doExtract() {
// Write the data, making sure to uncompress things first
if (I->isCompressed()) {
- Compressor::decompressToFile(data,len,file);
+ Compressor::decompressToStream(data,len,file);
} else {
file.write(data,len);
}
OpenPOWER on IntegriCloud