aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-08-02 19:57:42 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-08-02 19:57:42 -0700
commit1ce6e201aa818b05f6637438d1c0b460ea817e3f (patch)
tree6e4dee6d2077b442703ca3a0ba8bfb14daa5745d /src-self-hosted/Module.zig
parent1a3f250f195d4ed5455795d4fa6e4b0cf97cb6ce (diff)
downloadzig-1ce6e201aa818b05f6637438d1c0b460ea817e3f.tar.gz
zig-1ce6e201aa818b05f6637438d1c0b460ea817e3f.zip
.debug_line: don't rely on header_length field
Empirically, debug info consumers do not respect this field, or otherwise consider it to be an error when it does not point exactly to the end of the header. Therefore we rely on the NOP jump at the beginning of the Line Number Program for padding rather than this field. llvm-dwarfdump says the line number data is fine; gdb and binutils-readelf crap out.
Diffstat (limited to 'src-self-hosted/Module.zig')
0 files changed, 0 insertions, 0 deletions