summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-05-08 21:07:15 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-05-08 21:07:15 +0000
commitda2a31764475b150be8cb986decbc3cde1667029 (patch)
tree158a3725683027b981299bb321876fad0ae33684
parent51a17df45d198731ca9dc691ef90b38c4d0810ac (diff)
downloadbcm5719-llvm-da2a31764475b150be8cb986decbc3cde1667029.tar.gz
bcm5719-llvm-da2a31764475b150be8cb986decbc3cde1667029.zip
[Reproducers] Fix unitialized pointer
The FileCollector pointer in the FileSystem class wasn't initialized to nullptr during replay. llvm-svn: 360285
-rw-r--r--lldb/include/lldb/Host/FileSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Host/FileSystem.h b/lldb/include/lldb/Host/FileSystem.h
index 0401f43f7e9..865b09b2310 100644
--- a/lldb/include/lldb/Host/FileSystem.h
+++ b/lldb/include/lldb/Host/FileSystem.h
@@ -39,7 +39,7 @@ public:
m_mapped(false) {}
FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs,
bool mapped = false)
- : m_fs(fs), m_mapped(mapped) {}
+ : m_fs(fs), m_collector(nullptr), m_mapped(mapped) {}
FileSystem(const FileSystem &fs) = delete;
FileSystem &operator=(const FileSystem &fs) = delete;
OpenPOWER on IntegriCloud