[all-commits] [llvm/llvm-project] 0c443e: Add some warnings when debugserver is running in t...

Jason Molenda via All-commits all-commits at lists.llvm.org
Wed May 12 22:18:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c443e92d3b9bc5a25214f2c8418b72501a15a00
      https://github.com/llvm/llvm-project/commit/0c443e92d3b9bc5a25214f2c8418b72501a15a00
  Author: Jason Molenda <jason at molenda.com>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M lldb/tools/debugserver/source/DNB.cpp
    M lldb/tools/debugserver/source/DNB.h
    M lldb/tools/debugserver/source/RNBRemote.cpp
    M lldb/tools/debugserver/source/debugserver.cpp

  Log Message:
  -----------
  Add some warnings when debugserver is running in translation

A debugserver launched x86_64 cannot control an arm64/arm64e
process on an Apple Silicon system.  Warn when this situation
has happened and return an error for the most common case of
attach.  I think there will be refinements to this in the
future, but start out by making it easy to spot the problem
when it happens.

rdar://76630595




More information about the All-commits mailing list