Skip to content

Commit 278874f

Browse files
committed
debugserver: Return a nullptr in GetPlatformString()
This un-breaks the testsuite after https://reviews.llvm.org/D82616
1 parent 116b103 commit 278874f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/debugserver/source/MacOSX/MachProcess.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options,
672672
case PLATFORM_DRIVERKIT:
673673
return "driverkit";
674674
}
675-
return "";
675+
return nullptr;
676676
}
677677

678678
// Given an address, read the mach-o header and load commands out of memory to

0 commit comments

Comments
 (0)