Skip to content

Commit efa1337

Browse files
authored
Merge pull request #1519 from Teemperor/cherry/e2d8aa6bf774ef29e134c40f886c55557bb5f970
[lldb] Re-add nullptr check to IRForTarget::RewriteObjCConstString lo…
2 parents 801a49e + 5e83be5 commit efa1337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ bool IRForTarget::RewriteObjCConstString(llvm::GlobalVariable *ns_str,
433433
m_execution_unit.FindSymbol(g_CFStringCreateWithBytes_str,
434434
missing_weak);
435435
if (CFStringCreateWithBytes_addr == LLDB_INVALID_ADDRESS || missing_weak) {
436-
log->PutCString("Couldn't find CFStringCreateWithBytes in the target");
436+
LLDB_LOG(log, "Couldn't find CFStringCreateWithBytes in the target");
437437

438438
m_error_stream.Printf("Error [IRForTarget]: Rewriting an Objective-C "
439439
"constant string requires "

0 commit comments

Comments
 (0)