Skip to content

Commit

Permalink
fix DW_END_* constants
Browse files Browse the repository at this point in the history
The endian constants were incorrect.
  • Loading branch information
tromey committed Apr 2, 2017
1 parent 97a1789 commit 6ff5279
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ dw!(DwDs(u8) {
/// The encodings of the constants used in the `DW_AT_endianity` attribute.
/// See Section 7.8, Figure 27.
dw!(DwEnd(u8) {
DW_END_public = 0x00,
DW_END_protected = 0x01,
DW_END_private = 0x02,
DW_END_default = 0x00,
DW_END_big = 0x01,
DW_END_little = 0x02,
DW_END_lo_user = 0x40,
DW_END_hi_user = 0xff,
});
Expand Down

0 comments on commit 6ff5279

Please sign in to comment.