You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a flag (e.g. -g similar to contemporary C compilers) for generating source-level debug info, e.g. in the DWARF format. This should make it possible to use debuggers such as lldb or gdb to step through compiled binaries.
Note that NASM already seems to have some level of support for generating DWARF info that maps to the Assembly File, but since we're interested in higher-level source mapping, we will probably have to redo this ourselves in the code generator.
The text was updated successfully, but these errors were encountered:
Add a flag (e.g.
-g
similar to contemporary C compilers) for generating source-level debug info, e.g. in the DWARF format. This should make it possible to use debuggers such aslldb
orgdb
to step through compiled binaries.Some useful references:
Note that NASM already seems to have some level of support for generating DWARF info that maps to the Assembly File, but since we're interested in higher-level source mapping, we will probably have to redo this ourselves in the code generator.
The text was updated successfully, but these errors were encountered: