Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[lli] Revisit Orc debug output tests" #79055

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

joker-eph
Copy link
Collaborator

Reverts #76822

This fails to build with gcc 7.5:

llvm/tools/lli/lli.cpp:1087:16: error: could not convert ‘Obj’ from ‘std::unique_ptr<llvm::MemoryBuffer>’ to ‘llvm::Expected<std::unique_ptr<llvm::MemoryBuffer> >’
         return Obj;
                ^~~

@joker-eph joker-eph merged commit 3f3a3e8 into main Jan 22, 2024
2 of 3 checks passed
@joker-eph joker-eph deleted the revert-76822-revisit-orclazy-debug-tests branch January 22, 2024 20:54
weliveindetail added a commit that referenced this pull request Jan 22, 2024
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 263efb0 was reverted in #79055, because
the gcc 7.5 bot had found a missing std::move().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant