mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
change the archive stuff to use MemoryBuffer instead of mappedfile.
MemoryBuffer is higher level and more closely matches the model needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49029 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
#include <fstream>
|
||||
|
||||
namespace llvm {
|
||||
namespace sys { class MappedFile; }
|
||||
class MemoryBuffer;
|
||||
|
||||
// Forward declare classes
|
||||
class ModuleProvider; // From VMCore
|
||||
@ -534,7 +534,7 @@ class Archive {
|
||||
protected:
|
||||
sys::Path archPath; ///< Path to the archive file we read/write
|
||||
MembersList members; ///< The ilist of ArchiveMember
|
||||
sys::MappedFile* mapfile; ///< Raw Archive contents mapped into memory
|
||||
MemoryBuffer *mapfile; ///< Raw Archive contents mapped into memory
|
||||
const char* base; ///< Base of the memory mapped file data
|
||||
SymTabType symTab; ///< The symbol table
|
||||
std::string strtab; ///< The string table for long file names
|
||||
|
Reference in New Issue
Block a user