summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Archive/Archive.cpp3
-rw-r--r--lib/Bytecode/Archive/Archive.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Archive/Archive.cpp b/lib/Archive/Archive.cpp
index b006e5a83d7..a3fb534c9c3 100644
--- a/lib/Archive/Archive.cpp
+++ b/lib/Archive/Archive.cpp
@@ -124,7 +124,8 @@ void ArchiveMember::replaceWith(const sys::Path& newFile) {
// Archive class. Everything else (default,copy) is deprecated. This just
// initializes and maps the file into memory, if requested.
Archive::Archive(const sys::Path& filename, bool map )
- : archPath(filename), members(), mapfile(0), base(0), symTab(), symTabSize(0)
+ : archPath(filename), members(), mapfile(0), base(0), symTab(), strtab(),
+ symTabSize(0), firstFileOffset(0), modules(), foreignST(0)
{
if (map) {
mapfile = new sys::MappedFile(filename);
diff --git a/lib/Bytecode/Archive/Archive.cpp b/lib/Bytecode/Archive/Archive.cpp
index b006e5a83d7..a3fb534c9c3 100644
--- a/lib/Bytecode/Archive/Archive.cpp
+++ b/lib/Bytecode/Archive/Archive.cpp
@@ -124,7 +124,8 @@ void ArchiveMember::replaceWith(const sys::Path& newFile) {
// Archive class. Everything else (default,copy) is deprecated. This just
// initializes and maps the file into memory, if requested.
Archive::Archive(const sys::Path& filename, bool map )
- : archPath(filename), members(), mapfile(0), base(0), symTab(), symTabSize(0)
+ : archPath(filename), members(), mapfile(0), base(0), symTab(), strtab(),
+ symTabSize(0), firstFileOffset(0), modules(), foreignST(0)
{
if (map) {
mapfile = new sys::MappedFile(filename);