From 5c4ea5b03a527d83e099e4d89ca308b223a7df4d Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Wed, 25 Mar 2020 13:34:21 -0500 Subject: [PATCH] Increase generated DWARF version to 4 --- crates/debug/src/transform/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/debug/src/transform/mod.rs b/crates/debug/src/transform/mod.rs index 1fc6cb4cc8..621a18682b 100644 --- a/crates/debug/src/transform/mod.rs +++ b/crates/debug/src/transform/mod.rs @@ -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(), };