about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-03-18 15:30:15 -0600
committerTom Tromey <tom@tromey.com>2016-04-04 17:30:24 -0600
commita0943d0701d67d5260fa33dacf8afe9616e327c4 (patch)
tree05f3ba8e6224da884553d5b2c24bffb96b65017b
parent8d5e8457609e0d3520e0586c4633c08280d9b95d (diff)
downloadrust-a0943d0701d67d5260fa33dacf8afe9616e327c4.tar.gz
rust-a0943d0701d67d5260fa33dacf8afe9616e327c4.zip
Use DWARF 5 value for DW_LANG_Rust
-rw-r--r--src/librustc_trans/debuginfo/metadata.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_trans/debuginfo/metadata.rs b/src/librustc_trans/debuginfo/metadata.rs
index 5690b18bc8e..1b63fadca15 100644
--- a/src/librustc_trans/debuginfo/metadata.rs
+++ b/src/librustc_trans/debuginfo/metadata.rs
@@ -50,7 +50,9 @@ use syntax::{ast, codemap};
 use syntax::parse::token;
 
 
-const DW_LANG_RUST: c_uint = 0x9000;
+// From DWARF 5.
+// See http://www.dwarfstd.org/ShowIssue.php?issue=140129.1
+const DW_LANG_RUST: c_uint = 0x1c;
 #[allow(non_upper_case_globals)]
 const DW_ATE_boolean: c_uint = 0x02;
 #[allow(non_upper_case_globals)]