diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-15 21:43:37 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-15 21:43:37 +0000 |
commit | 770772e831d1ff1dfbc0e94fb3212437e597d7a5 (patch) | |
tree | 50966268373286a7876d42cd9ba308a5a6dcec3b /include/llvm/Bitcode | |
parent | 36852d3681ec239df82e1fd86d93a91a9f49e592 (diff) | |
download | external_llvm-770772e831d1ff1dfbc0e94fb3212437e597d7a5.zip external_llvm-770772e831d1ff1dfbc0e94fb3212437e597d7a5.tar.gz external_llvm-770772e831d1ff1dfbc0e94fb3212437e597d7a5.tar.bz2 |
Archive: Replace all internal uses of PathV1 with PathV2. The external API still uses PathV1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r-- | include/llvm/Bitcode/Archive.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Bitcode/Archive.h b/include/llvm/Bitcode/Archive.h index c2aeb83..34dd997 100644 --- a/include/llvm/Bitcode/Archive.h +++ b/include/llvm/Bitcode/Archive.h @@ -25,6 +25,7 @@ namespace llvm { class MemoryBuffer; + class raw_ostream; // Forward declare classes class Module; // From VMCore @@ -482,7 +483,7 @@ class Archive { bool loadSymbolTable(std::string* ErrMessage); /// @brief Write the symbol table to an ofstream. - void writeSymbolTable(std::ofstream& ARFile); + void writeSymbolTable(raw_ostream& ARFile); /// Writes one ArchiveMember to an ofstream. If an error occurs, returns /// false, otherwise true. If an error occurs and error is non-null then @@ -491,7 +492,7 @@ class Archive { /// @returns true Writing member failed, \p error set to error message bool writeMember( const ArchiveMember& member, ///< The member to be written - std::ofstream& ARFile, ///< The file to write member onto + raw_ostream& ARFile, ///< The file to write member onto bool CreateSymbolTable, ///< Should symbol table be created? bool TruncateNames, ///< Should names be truncated to 11 chars? bool ShouldCompress, ///< Should the member be compressed? |