[Lldb-commits] [lldb] r320541 - [IRExecutionUnit] Initialize uninititialized member variable.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 12 17:41:17 PST 2017
Author: davide
Date: Tue Dec 12 17:41:17 2017
New Revision: 320541
URL: http://llvm.org/viewvc/llvm-project?rev=320541&view=rev
Log:
[IRExecutionUnit] Initialize uninititialized member variable.
Found by the ubsan build.
<rdar://problem/31106358>
Modified:
lldb/trunk/include/lldb/Expression/IRExecutionUnit.h
Modified: lldb/trunk/include/lldb/Expression/IRExecutionUnit.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/IRExecutionUnit.h?rev=320541&r1=320540&r2=320541&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Expression/IRExecutionUnit.h (original)
+++ lldb/trunk/include/lldb/Expression/IRExecutionUnit.h Tue Dec 12 17:41:17 2017
@@ -421,8 +421,8 @@ private:
lldb::addr_t m_function_load_addr;
lldb::addr_t m_function_end_load_addr;
- bool m_strip_underscore; ///< True for platforms where global symbols have a _
- ///prefix
+ bool m_strip_underscore = true; ///< True for platforms where global symbols
+ /// have a _ prefix
bool m_reported_allocations; ///< True after allocations have been reported.
///It is possible that
///< sections will be allocated when this is true, in which case they weren't
More information about the lldb-commits
mailing list