[all-commits] [llvm/llvm-project] 55751f: [llvm-jitlink] Add an explicit -debugger-support o...

lhames via All-commits all-commits at lists.llvm.org
Sun Nov 14 15:46:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55751f5f6303582ef683dabc151fcd4ccab6780b
      https://github.com/llvm/llvm-project/commit/55751f5f6303582ef683dabc151fcd4ccab6780b
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-11-14 (Sun, 14 Nov 2021)

  Changed paths:
    M llvm/test/ExecutionEngine/JITLink/X86/MachO_gdb_jit_debuginfo_register.s
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Add an explicit -debugger-support option.

Commit 69be352a196 restricted the MachO debugger support testcase to run on
Darwin only, but we still need to disable debugger support by default for
other noexec tests.

This patch introduces a -debugger-support option to llvm-jitlink that is
on-by-default when executing code, and off-by-default for noexec tests. This
should prevent regression tests from trying (and failing) to set up MachO
debugging support when running on non-Darwin platforms.

to explicitly enable/disable support.




More information about the All-commits mailing list