Skip to content

Commit

Permalink
Use DWARF 5 value for DW_LANG_Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
tromey committed Apr 4, 2016
1 parent 8d5e845 commit a0943d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_trans/debuginfo/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit a0943d0

Please sign in to comment.