ladybird/Userland/Libraries/LibJIT
Jesús "gsus" Lapastora 149e382735 LibJIT: Integrate GDB JIT Interface with ELF builders
Provide a function to create an ELF image in a format GDB expects.
Outside of ELF platforms this image doesn't make much sense, and in
MacOS a Mach-O memory image is required: see
https://chromium.googlesource.com/v8/v8.git/+/refs/heads/main/src/diagnostics/gdb-jit.cc#1802

Since GDB requires active runtime addresses for the code, copying the
generated code into the image will not help. Instead, `build_gdb_image`
writes the runtime addresses of the code into a NOBITS `.text` section.
2023-12-07 15:34:38 -07:00
..
X86_64 LibJS/JIT: Add a builtin for Math.abs 2023-11-17 19:06:25 +01:00
Assembler.cpp LibJIT+LibJS: Move JIT::Assembler into a new LibJIT library 2023-10-27 19:07:22 +02:00
Assembler.h LibJIT: Only include the Assembler header for the current platform 2023-11-06 10:28:05 +01:00
CMakeLists.txt LibJIT: Integrate GDB JIT Interface with ELF builders 2023-12-07 15:34:38 -07:00
GDB.cpp LibJIT: Enable registering JITted objects into GDB 2023-12-07 15:34:38 -07:00
GDB.h LibJIT: Integrate GDB JIT Interface with ELF builders 2023-12-07 15:34:38 -07:00
GDBElf.cpp LibJIT: Integrate GDB JIT Interface with ELF builders 2023-12-07 15:34:38 -07:00
GDBUnsupported.cpp LibJIT: Integrate GDB JIT Interface with ELF builders 2023-12-07 15:34:38 -07:00