summaryrefslogtreecommitdiff
path: root/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
AgeCommit message (Collapse)Author
2024-10-22[ORC] Fix LLJITWithRemoteDebugging example after db21bd4fa9b.Lang Hames
2024-04-24[ORC] Fix bot failure due to 7da63426ac5 (ORC task dispatch unification).Lang Hames
Fixes the failure at https://lab.llvm.org/buildbot/#/builders/131/builds/62928, and add comments about unused variable and update debugging output. Coding my way home: 6.44615S, 128.16704W
2024-01-03[Orc][examples] Revisit advanced LLJIT examples and tests (#76236)Stefan Gränitz
Some maintenance on implementation and tests: * Drop manual TargetMachineBuilder setup * Drop addDebugSupport() in favor of Orc's enableDebuggerSupport() * Check that debug support plugins append jit_code_entry * Update and reduce sample input
2023-06-25[llvm] Add missing StringExtras.h includesElliot Goodrich
In preparation for removing the `#include "llvm/ADT/StringExtras.h"` from the header to source file of `llvm/Support/Error.h`, first add in all the missing includes that were previously included transitively through this header.
2023-04-03[Orc] Add AutoRegisterCode option for DebugObjectManagerPluginStefan Gränitz
Configure the plugin to automatically call the debugger rendezvous breakpoint `__jit_debug_register_code()` for every translation unit (enabled) or never at all (disabled). Default API and behavior remain unchanged. If AutoRegisterCode is turned off, it's the client's own responsibility to call the rendezvous breakpoint function at an appropriate time. Depending on the complexity of the debugger's rendezvous breakpoint implementation, this can provide significant performance improvements in cases where many debug objects are added in sequence. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D147310
2021-10-13[examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e0.Lang Hames
2021-10-10[examples] Fix LLJITWithRemoteDebugging example after f3411616896.Lang Hames
2021-09-29[ORC][examples] Port LLJITWithRemoteDebugging to SimpleRemoteEPCStefan Gränitz
Though this is a full port of the example, it is not yet fully functional due to a threading issue in the SimpleRemoteEPC implementation. The issue was discussed in D110530, but it needs a more thorough solution. For now we are dropping the dependency to the old `OrcRPC` here (it's been the last use-case in-tree). The test for the example is under review in ... and will be re-enabled once the threading issue is solved.
2021-09-27[ORC] Fix the LLJITWithRemoteDebugging example.Lang Hames
This was broken by the switch from JITTargetAddress to ExecutorAddr in 21a06254a3a.
2021-07-29[Orc][examples] Adopt ExecutorProcessControl API and re-enable ↵Stefan Gränitz
LLJITWithRemoteDebugging The API change originated from D104694. The LLJITWithRemoteDebugging example and the test for it were disabled while it was in the works.
2021-07-01[ORC] Rename TargetProcessControl to ExecutorProcessControl. NFC.Lang Hames
This is a first step towards consistently using the term 'executor' for the process that executes JIT'd code. I've opted for 'executor' as the preferred term over 'target' as target is already heavily overloaded ("the target machine for the executor" is much clearer than "the target machine for the target").
2021-03-28[Orc][examples] Add LLJITWithRemoteDebugging exampleStefan Gränitz