-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LineNumberProgramHeader::raw_program_buf
#168
Conversation
This commit adds the `raw_program_buf` method to `LineNumberProgramHeader` to get the underlying `EndianBuf` that contains the raw, un-parsed line number program.
@@ -2188,7 +2188,8 @@ impl<'input, 'abbrev, 'unit, Endian> EntriesCursor<'input, 'abbrev, 'unit, Endia | |||
// down one level. | |||
depth += 1; | |||
|
|||
let sibling_ptr = try!(self.current().unwrap().attr_value(constants::DW_AT_sibling)); | |||
let sibling_ptr = | |||
try!(self.current().unwrap().attr_value(constants::DW_AT_sibling)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a change that should be made separately?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its in a second commit, which just ran rustfmt
, so it is separate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but I don't feel like it should be a part of this PR. In the larger context it probably doesn't matter, but this change could probably be pushed separately (maybe even without a PR)
I think the best alternative to |
r? @jonhoo