zig/src-self-hosted
Andrew Kelley ba6e5cbfd2 stage2: add the .debug_line header and associated data types
* the .debug_line header is written properly
 * link.File.Elf gains:
   - SrcFn, which is now a field in Module.Fn
   - SrcFile, which is now a field in Module.Scope.File
 * link.File.Elf gets a whole *Package field rather than only
   root_src_dir_path.
 * the fields first_dbg_line_file and last_dbg_line_file tell where the
   Line Number Program begins and ends, which alows moving files when
   the header gets too big, and allows appending files to the end.
 * codegen is passed a buffer for emitting .debug_line
   Line Number Program opcodes for functions.

See #5963

There is some work-in-progress code here, but I need to go make some
experimental changes to changing how to represent source locations and I
want to do that in a separate commit.
2020-08-02 12:02:43 -07:00
..
codegen stage2: register-aliasing-aware codegen 2020-07-29 02:29:37 -07:00
astgen.zig stage2: fix superfluous returnvoid ZIR 2020-07-29 02:29:37 -07:00
cbe.h CBE: Only try to use GNU attribute when __GNUC__is set 2020-07-08 00:33:44 -04:00
clang.zig translate-c: fix decl statement regression 2020-05-23 17:50:35 -04:00
clang_options.zig zig cc: fix ambiguity with -MT 2020-04-02 21:15:36 -04:00
clang_options_data.zig zig cc looks for native include directories unless -nostdinc 2020-04-04 14:58:24 -04:00
codegen.zig stage2: add the .debug_line header and associated data types 2020-08-02 12:02:43 -07:00
dep_tokenizer.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
introspect.zig self-hosted: use fs.selfExePathAlloc 2020-03-25 18:40:28 -04:00
ir.zig stage2: codegen handles undefined values 2020-07-29 02:29:37 -07:00
libc_installation.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
link.zig stage2: add the .debug_line header and associated data types 2020-08-02 12:02:43 -07:00
liveness.zig stage2: register allocator processes operand deaths 2020-07-20 13:12:20 -07:00
llvm.zig fix stage2 build 2019-12-29 11:04:58 +02:00
main.zig stage2: add DWARF info for the main compilation unit 2020-07-31 06:48:17 +00:00
Module.zig stage2: add the .debug_line header and associated data types 2020-08-02 12:02:43 -07:00
Package.zig stage2: add DWARF info for the main compilation unit 2020-07-31 06:48:17 +00:00
print_targets.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
stage2.zig macOS: macho ld64.lld fixes 2020-07-24 20:01:18 +00:00
test.zig stage2: add DWARF info for the main compilation unit 2020-07-31 06:48:17 +00:00
tracy.zig self-hosted: fix test regressions 2020-06-24 20:28:52 -04:00
translate_c.zig translate-c: use ArrayList for macro tokens 2020-07-27 15:38:56 +03:00
type.zig stage2: codegen handles undefined values 2020-07-29 02:29:37 -07:00
TypedValue.zig self-hosted: implement Decl lookup 2020-06-18 17:12:56 -04:00
value.zig compiler_rt: add floatditf 2020-07-29 18:03:44 +03:00
windows_sdk.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
zir.zig stage2: codegen handles undefined values 2020-07-29 02:29:37 -07:00
zir_sema.zig stage2: codegen handles undefined values 2020-07-29 02:29:37 -07:00