[all-commits] [llvm/llvm-project] cd6ed9: Reland "[lli] Revisit Orc debug output tests (#790...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd6ed95e48354d14e59871f3c3f3a8665def22c8
      https://github.com/llvm/llvm-project/commit/cd6ed95e48354d14e59871f3c3f3a8665def22c8
  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:
  -----------
  Reland "[lli] Revisit Orc debug output tests (#79055)"

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.

The original commit 263efb044add93b9 was reverted in #79055, because
the gcc 7.5 bot had found a missing std::move().




More information about the All-commits mailing list