[Lldb-commits] [PATCH] D124814: Fix debugserver translation check

Alexandre Perez via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 2 18:48:54 PDT 2022


aperez added a comment.

In D124814#3487179 <https://reviews.llvm.org/D124814#3487179>, @jasonmolenda wrote:

> Ah, I see what you're doing.  You've got a shell running x86_64 or something (maybe started lldb as x86_64) so everything that is spawned from that is x86_64 -- debugserver and the inferior process -- and so you hit this.  let me look more closely later tonight, but I didn't take that scenario into account.  Normally when people are running debugserver as x86_64 it's because they unintentionally ran a parent as x86_64 and are paying an unintended perf hit across the debug session and part of this error reporting was to say "hey, you probably didn't mean to do this".

In our case we are currently distributing an x86_64-only version of the toolchain (including lldb and debugserver) across many machines. Some of these machines are m1 laptops, and we started observing failures to attach on these machines once 0c443e92d3b9 <https://reviews.llvm.org/rG0c443e92d3b9bc5a25214f2c8418b72501a15a00> was included.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124814/new/

https://reviews.llvm.org/D124814



More information about the lldb-commits mailing list