Author: jdevlieghere Date: Wed May 8 14:07:15 2019 New Revision: 360285 URL: http://llvm.org/viewvc/llvm-project?rev=360285&view=rev Log: [Reproducers] Fix unitialized pointer
The FileCollector pointer in the FileSystem class wasn't initialized to nullptr during replay. Modified: lldb/trunk/include/lldb/Host/FileSystem.h Modified: lldb/trunk/include/lldb/Host/FileSystem.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/FileSystem.h?rev=360285&r1=360284&r2=360285&view=diff ============================================================================== --- lldb/trunk/include/lldb/Host/FileSystem.h (original) +++ lldb/trunk/include/lldb/Host/FileSystem.h Wed May 8 14:07:15 2019 @@ -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; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits