diff options
author | Stephen Wilson <wilsons@start.ca> | 2011-04-11 19:41:40 +0000 |
---|---|---|
committer | Stephen Wilson <wilsons@start.ca> | 2011-04-11 19:41:40 +0000 |
commit | 71c21d18c3a29abf03e7904b42d84ccfc3be036b (patch) | |
tree | 83d783264562df4449105ff022dff7e4506e5c98 /lldb/source/Plugins/Process/Utility | |
parent | 2b899767e1ed8518e48952effc449e17922b8ef3 (diff) | |
download | bcm5719-llvm-71c21d18c3a29abf03e7904b42d84ccfc3be036b.tar.gz bcm5719-llvm-71c21d18c3a29abf03e7904b42d84ccfc3be036b.zip |
Order of initialization lists.
This patch fixes all of the warnings due to unordered initialization lists.
Patch by Marco Minutoli.
llvm-svn: 129290
Diffstat (limited to 'lldb/source/Plugins/Process/Utility')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp | 22 | ||||
-rw-r--r-- | lldb/source/Plugins/Process/Utility/UnwindAssemblyProfiler-x86.cpp | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp index 0f3207b9cf3..077aa4df81a 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp @@ -40,20 +40,20 @@ RegisterContextLLDB::RegisterContextLLDB ) : RegisterContext (thread, frame_number), m_thread(thread), - m_next_frame(next_frame), - m_sym_ctx(sym_ctx), - m_all_registers_available(false), - m_registers(), - m_cfa (LLDB_INVALID_ADDRESS), + m_next_frame(next_frame), + m_fast_unwind_plan_sp (), + m_full_unwind_plan_sp (), + m_all_registers_available(false), + m_frame_type (-1), + m_cfa (LLDB_INVALID_ADDRESS), m_start_pc (), m_current_pc (), - m_frame_number (frame_number), - m_full_unwind_plan_sp (), - m_fast_unwind_plan_sp (), - m_frame_type (-1), m_current_offset (0), - m_current_offset_backed_up_one (0), - m_sym_ctx_valid (false) + m_current_offset_backed_up_one (0), + m_sym_ctx(sym_ctx), + m_sym_ctx_valid (false), + m_frame_number (frame_number), + m_registers() { m_sym_ctx.Clear(); m_sym_ctx_valid = false; diff --git a/lldb/source/Plugins/Process/Utility/UnwindAssemblyProfiler-x86.cpp b/lldb/source/Plugins/Process/Utility/UnwindAssemblyProfiler-x86.cpp index 83255e282ac..855aa69f89c 100644 --- a/lldb/source/Plugins/Process/Utility/UnwindAssemblyProfiler-x86.cpp +++ b/lldb/source/Plugins/Process/Utility/UnwindAssemblyProfiler-x86.cpp @@ -167,10 +167,10 @@ private: }; AssemblyParse_x86::AssemblyParse_x86 (Target& target, Thread* thread, int cpu, AddressRange func) : - m_target (target), m_thread (thread), m_cpu(cpu), m_func_bounds(func), + m_target (target), m_thread (thread), m_func_bounds(func), m_cur_insn (), m_machine_ip_regnum (-1), m_machine_sp_regnum (-1), m_machine_fp_regnum (-1), m_lldb_ip_regnum (-1), m_lldb_sp_regnum (-1), m_lldb_fp_regnum (-1), - m_wordsize (-1), m_cur_insn () + m_wordsize (-1), m_cpu(cpu) { int *initialized_flag = NULL; m_lldb_ip_regnum = m_lldb_sp_regnum = m_lldb_fp_regnum = -1; |