Change a recently added assert into lldbassert
authorPavel Labath <labath@google.com>
Fri, 1 Apr 2016 09:57:30 +0000 (09:57 +0000)
committerPavel Labath <labath@google.com>
Fri, 1 Apr 2016 09:57:30 +0000 (09:57 +0000)
llvm-svn: 265124

lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp

index ca7f6a8..14603aa 100644 (file)
@@ -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::GetTypeSystemForLanguage(LanguageType language)
 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);
 }