aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-ar/Archive.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-11 12:38:02 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-11 12:38:02 +0000
commitab7348f8b188270ecbd309d5f0f4696f1f782c9b (patch)
treecfd7c69ca63dfbaa91a282c54b432cc2cdda87c3 /tools/llvm-ar/Archive.h
parent4f2779b809f6a9bb5ca63b10d55f8302cca2c656 (diff)
downloadexternal_llvm-ab7348f8b188270ecbd309d5f0f4696f1f782c9b.zip
external_llvm-ab7348f8b188270ecbd309d5f0f4696f1f782c9b.tar.gz
external_llvm-ab7348f8b188270ecbd309d5f0f4696f1f782c9b.tar.bz2
Remove support for truncating names in archives.
* All systems we support have some form of long name support. * The options has different names and semantics in different implementations ('f' on gnu, 'T' on OS X), which makes it unlikely it is normally used on build systems. * It was completely untested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar/Archive.h')
-rw-r--r--tools/llvm-ar/Archive.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/llvm-ar/Archive.h b/tools/llvm-ar/Archive.h
index 977fe62..52622dd 100644
--- a/tools/llvm-ar/Archive.h
+++ b/tools/llvm-ar/Archive.h
@@ -318,7 +318,6 @@ class Archive {
/// returns false if the writing succeeded.
/// @brief Write (possibly modified) archive contents to disk
bool writeToDisk(
- bool TruncateNames=false, ///< Truncate the filename to 15 chars
std::string* ErrMessage=0 ///< If non-null, where error msg is set
);
@@ -372,13 +371,12 @@ class Archive {
bool writeMember(
const ArchiveMember& member, ///< The member to be written
raw_fd_ostream& ARFile, ///< The file to write member onto
- bool TruncateNames, ///< Should names be truncated to 11 chars?
std::string* ErrMessage ///< If non-null, place were error msg is set
);
/// @brief Fill in an ArchiveMemberHeader from ArchiveMember.
bool fillHeader(const ArchiveMember&mbr,
- ArchiveMemberHeader& hdr,int sz, bool TruncateNames) const;
+ ArchiveMemberHeader& hdr,int sz) const;
/// @brief Maps archive into memory
bool mapToMemory(std::string* ErrMsg);