[Lldb-commits] [lldb] r265124 - Change a recently added assert into lldbassert
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 1 02:57:30 PDT 2016
Author: labath
Date: Fri Apr 1 04:57:30 2016
New Revision: 265124
URL: http://llvm.org/viewvc/llvm-project?rev=265124&view=rev
Log:
Change a recently added assert into lldbassert
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp?rev=265124&r1=265123&r2=265124&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp Fri Apr 1 04:57:30 2016
@@ -12,6 +12,7 @@
#include "lldb/Core/Section.h"
#include "lldb/Expression/DWARFExpression.h"
#include "lldb/Symbol/ObjectFile.h"
+#include "lldb/Utility/LLDBAssert.h"
#include "DWARFCompileUnit.h"
#include "DWARFDebugInfo.h"
@@ -133,6 +134,6 @@ SymbolFileDWARFDwo::GetTypeSystemForLang
DWARFDIE
SymbolFileDWARFDwo::GetDIE(const DIERef &die_ref)
{
- assert(m_base_dwarf_cu->GetOffset() == die_ref.cu_offset);
+ lldbassert(m_base_dwarf_cu->GetOffset() == die_ref.cu_offset);
return DebugInfo()->GetDIEForDIEOffset(die_ref.die_offset);
}
More information about the lldb-commits
mailing list