aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Archive
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-16 06:47:07 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-16 06:47:07 +0000
commit1f465809cdc9fef41b756731821226a16dfbb8b4 (patch)
tree26c6ed99afa4165f0078d6c52b5e43c9330f51b0 /lib/Archive
parent60f1758f7cb66dc76064aec375875a4378a4d7f8 (diff)
downloadexternal_llvm-1f465809cdc9fef41b756731821226a16dfbb8b4.zip
external_llvm-1f465809cdc9fef41b756731821226a16dfbb8b4.tar.gz
external_llvm-1f465809cdc9fef41b756731821226a16dfbb8b4.tar.bz2
Per code review:\
* Make sure all members are initialized upon construction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive')
-rw-r--r--lib/Archive/Archive.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Archive/Archive.cpp b/lib/Archive/Archive.cpp
index b006e5a..a3fb534 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);