[Lldb-commits] [lldb] r327753 - Fix the Windows build after r327750

Frederic Riss via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 16 15:19:58 PDT 2018


Author: friss
Date: Fri Mar 16 15:19:58 2018
New Revision: 327753

URL: http://llvm.org/viewvc/llvm-project?rev=327753&view=rev
Log:
Fix the Windows build after r327750

Modified:
    lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp?rev=327753&r1=327752&r2=327753&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp Fri Mar 16 15:19:58 2018
@@ -224,7 +224,7 @@ static void CompleteExternalTagDeclType(
     die.GetDWARF()->GetObjectFile()->GetModule()->ReportError(
         "Unable to complete the Decl context for DIE '%s' at offset "
         "0x%8.8x.\nPlease file a bug report.",
-        type_name_cstr ?: "", die.GetOffset());
+        type_name_cstr ? type_name_cstr : "", die.GetOffset());
     // We need to make the type look complete otherwise, we
     // might crash in Clang when adding children.
     if (ClangASTContext::StartTagDeclarationDefinition(type))




More information about the lldb-commits mailing list