[all-commits] [llvm/llvm-project] 263efb: [lli] Revisit Orc debug output tests (#76822)

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Mon Jan 22 12:25:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 263efb044add93b946ca4a96a8f1699b3eb9ae73
      https://github.com/llvm/llvm-project/commit/263efb044add93b946ca4a96a8f1699b3eb9ae73
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    R llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
    A llvm/test/ExecutionEngine/OrcLazy/debug-descriptor.ll
    R llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
    A llvm/test/ExecutionEngine/OrcLazy/debug-objects.ll
    M llvm/tools/lli/CMakeLists.txt
    R llvm/tools/lli/ExecutionUtils.cpp
    R llvm/tools/lli/ExecutionUtils.h
    M llvm/tools/lli/lli.cpp

  Log Message:
  -----------
  [lli] Revisit Orc debug output tests (#76822)

Integrate in-memory debug-info dumps into the `--orc-lazy-debug`
command-line option instead of exposing built-in functions to be called
from JITed code. This reduces overall amount of code (removing
`ExecutionUtils.cpp`) and seems cleaner anyway.

All existing items of `OrcDumpKind` work on IR level and run in the
IR-transform step of the JIT. The newly added `DumpDebugDescriptor` and
`DumpDebugObjects` must run after debug-registration and thus are
deferred to the Object-transform step of the JIT. This separation is the
major side-effect of the patch.




More information about the All-commits mailing list