-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The build now produces a ".dwo" file containing DWARF debug information. This contains a binary encoding of internal information about RaptorJIT e.g. the layout of all its internal data structures. The DWARF information is for use by debugging tools that need to understand JIT internals. The DWARF file is currently generated with gcc. I would prefer to use clang, for the sake of consistency with the rest of the build, but I seem to get _much_ more debug information from gcc so I stick with that for now. The nix build expression outputs the debug information as lib/raptorjit.dwo
- Loading branch information
Showing
3 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
** Compilation unit for DWARF debug information. | ||
*/ | ||
|
||
#include "lj_obj.h" | ||
#include "lj_gc.h" | ||
#include "lj_err.h" | ||
#include "lj_debug.h" | ||
#include "lj_str.h" | ||
#include "lj_frame.h" | ||
#include "lj_state.h" | ||
#include "lj_bc.h" | ||
#include "lj_ir.h" | ||
#include "lj_jit.h" | ||
#include "lj_iropt.h" | ||
#include "lj_mcode.h" | ||
#include "lj_trace.h" | ||
#include "lj_snap.h" | ||
#include "lj_gdbjit.h" | ||
#include "lj_record.h" | ||
#include "lj_asm.h" | ||
#include "lj_dispatch.h" | ||
#include "lj_vm.h" | ||
#include "lj_target.h" |