Author: Adrian Prantl Date: 2020-07-01T11:06:25-07:00 New Revision: 278874f07f7315e0f7fda3202597e7ab2e94ed1a
URL: https://github.com/llvm/llvm-project/commit/278874f07f7315e0f7fda3202597e7ab2e94ed1a DIFF: https://github.com/llvm/llvm-project/commit/278874f07f7315e0f7fda3202597e7ab2e94ed1a.diff LOG: debugserver: Return a nullptr in GetPlatformString() This un-breaks the testsuite after https://reviews.llvm.org/D82616 Added: Modified: lldb/tools/debugserver/source/MacOSX/MachProcess.mm Removed: ################################################################################ diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm index af9ae752f72b..d0001527f343 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm @@ -672,7 +672,7 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options, case PLATFORM_DRIVERKIT: return "driverkit"; } - return ""; + return nullptr; } // Given an address, read the mach-o header and load commands out of memory to _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits