Merge pull request #1402 from yurydelendik/enable-gdb

Enable GDB JIT debugging
This commit is contained in:
Nick Fitzgerald
2020-03-26 10:08:15 -07:00
committed by GitHub

View File

@@ -71,8 +71,7 @@ pub fn transform_dwarf(
let out_encoding = gimli::Encoding { let out_encoding = gimli::Encoding {
format: gimli::Format::Dwarf32, format: gimli::Format::Dwarf32,
// TODO: this should be configurable // TODO: this should be configurable
// macOS doesn't seem to support DWARF > 3 version: 4,
version: 3,
address_size: isa.pointer_bytes(), address_size: isa.pointer_bytes(),
}; };