[Lldb-commits] [lldb] 81b11c9 - Fix a macOS build break caused by 3dfb94986170.

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 8 09:14:11 PDT 2020


On 08/10/2020 00:01, Jim Ingham via lldb-commits wrote:
> 
> Author: Jim Ingham
> Date: 2020-10-07T15:01:27-07:00
> New Revision: 81b11c91070f3a969b64b2c2e6011b02450fa75f
> 
> URL: https://github.com/llvm/llvm-project/commit/81b11c91070f3a969b64b2c2e6011b02450fa75f
> DIFF: https://github.com/llvm/llvm-project/commit/81b11c91070f3a969b64b2c2e6011b02450fa75f.diff
> 
> LOG: Fix a macOS build break caused by 3dfb94986170.
> 
> Added:
>      
> 
> Modified:
>      lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm
> 
> Removed:
>      
> 
> 
> ################################################################################
> diff  --git a/lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm b/lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm
> index cfd44f9ae5ce..92bf716599b0 100644
> --- a/lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm
> +++ b/lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm
> @@ -415,8 +415,9 @@ static Status HandleFileAction(ProcessLaunchInfo &launch_info,
>                 secondary_fd =
>                     launch_info.GetPTY().OpenSecondary(O_RDWR, nullptr, 0);
>               if (secondary_fd == PseudoTerminal::invalid_fd) {
> +              std::string secondary_path = secondary_spec.GetPath();
>                 error.SetErrorStringWithFormat(
> -                  "unable to open secondary pty '%s'", secondary_path);
> +                  "unable to open secondary pty '%s'", secondary_path.c_str());
>                 return error; // Failure
>               }
>               [options setValue:[NSNumber numberWithInteger:secondary_fd]
> 
> 
>          
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
> 

thanks.


More information about the lldb-commits mailing list