summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2018-03-16 22:19:58 +0000
committerFrederic Riss <friss@apple.com>2018-03-16 22:19:58 +0000
commitb6073eb6e1f781a61d6d3af17dfc845d4c8b6ac5 (patch)
treeb32772bea3f8540719dbf7926fdb654cd1e28c6e /lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
parenta4561123de9c4a31575abe573ac4324b36d84234 (diff)
downloadbcm5719-llvm-b6073eb6e1f781a61d6d3af17dfc845d4c8b6ac5.tar.gz
bcm5719-llvm-b6073eb6e1f781a61d6d3af17dfc845d4c8b6ac5.zip
Fix the Windows build after r327750
llvm-svn: 327753
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index fbf35b8be09..7a54f4588fe 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -224,7 +224,7 @@ static void CompleteExternalTagDeclType(ClangASTImporter &ast_importer,
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))
OpenPOWER on IntegriCloud