llvm-project/lldb/tools
Alexandre Perez eb3136f022 Fix debugserver translation check
Currently, debugserver has a test to check if it was launched in
translation. The intent was to cover the case where an x86_64
debugserver attempts to control an arm64/arm64e process, returning
an error. However, this check also covers the case where users
are attaching to an x86_64 process, exiting out before attempting
to hand off control to the translated debugserver at
`/Library/Apple/usr/libexec/oah/debugserver`.

This diff delays the debugserver translation check until after
determining whether to hand off control to
`/Library/Apple/usr/libexec/oah/debugserver`. Only when the
process is not translated and thus has not been handed off do we
check if the debugserver is translated, erroring out in that case.

Reviewed By: jasonmolenda

Differential Revision: https://reviews.llvm.org/D124814
2022-05-05 11:31:23 -07:00
..
argdumper [lldb] Remove a few unused .exports files 2021-08-05 22:17:00 +02:00
compact-unwind Don't re-define constants that are now in compact_unwind_encoding.h. 2021-09-09 17:01:43 -07:00
darwin-debug [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
darwin-threads
debugserver Fix debugserver translation check 2022-05-05 11:31:23 -07:00
driver [lldb] Fix building for mingw after changes to sigtstp_handler 2022-03-26 22:32:53 +02:00
intel-features [LLDB] Silence warnings in cli-wrapper-mpxtable.cpp 2021-06-28 02:36:14 +00:00
lldb-fuzzer [lldb] Conditionalize target_link_libraries on the target 2022-03-25 09:50:34 -07:00
lldb-instr [lldb] Revive lldb-instr 2022-01-20 18:06:14 -08:00
lldb-server [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
lldb-test [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00
lldb-vscode [lldb-vscode] Implement stderr/stdout on win32 and redirect lldb log to VSCode 2022-04-05 11:54:03 -07:00
CMakeLists.txt [lldb] Add a fuzzer for target creation 2022-03-25 09:34:00 -07:00