[all-commits] [llvm/llvm-project] 1dc393: [lldb/qemu] Stub out process info functions

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Oct 28 00:18:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dc39378c46643ec9d2544da671aca78e7c6967a
      https://github.com/llvm/llvm-project/commit/1dc39378c46643ec9d2544da671aca78e7c6967a
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h
    M lldb/test/API/qemu/TestQemuAPI.py

  Log Message:
  -----------
  [lldb/qemu] Stub out process info functions

These functions return the information about the host process (so they
show the executable as "qemu" and have the "wrong" architecture), which
isn't useful and can confuse lldb.

We could theoretically try to identify which host processes are running
an emulator, and translate the process information, but that would be
tricky to implement, and the usefulness of it would be fairly limited as
qemu does not support attaching to a running process.




More information about the All-commits mailing list