Increase generated DWARF version to 4

This commit is contained in:
Yury Delendik
2020-03-25 13:34:21 -05:00
parent 021ebb3748
commit 5c4ea5b03a

View File

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