Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upgdb has the wrong source location with many macros #18285
Comments
alexcrichton
added
the
A-debuginfo
label
Oct 24, 2014
lifthrasiir
referenced this issue
Feb 26, 2015
Merged
std: Include line numbers in backtraces. #22839
This comment has been minimized.
This comment has been minimized.
|
Might be related to #23480. |
This comment has been minimized.
This comment has been minimized.
|
This bug makes debugging errors returned through |
This comment has been minimized.
This comment has been minimized.
huonw
referenced this issue
Nov 18, 2015
Closed
format!() generates code without line number debug info #20292
huonw
added
the
A-macros
label
Jan 5, 2016
This comment has been minimized.
This comment has been minimized.
|
Will this magically get fixed when #23480 is fixed? |
This comment has been minimized.
This comment has been minimized.
|
Yeah, this looks like a consequence of #23480 / #39450. |
jseyfried
self-assigned this
Feb 8, 2017
Mark-Simulacrum
added
the
C-bug
label
Jul 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alexcrichton commentedOct 24, 2014
The line number for the stack frame of
main::foosays it's on line 4, when it should actually be lower than that. I have noticed, however, that if there's only one macro (e.g. call2 goes away) the source location is correct. This may be a bug in debuginfo, but it may also be a bug in macros in general (source locations aren't always quite correct I think).cc @michaelwoerister