I do some fun stuff with LLVM IR generated by the rust compiler, and I see that all the
DILocations miss information about a
I found the code https://github.com/rust-lang/rust/blob/bb26aadaf3497089e9264266455d1c53391a41c0/src/librustc_trans/trans/debuginfo/mod.rs#L1524
I traced the source code back and found where it comes from https://github.com/rust-lang/rust/commit/40e05413096bbd5f35e566e796f525742076600f
I am curious: what's the reasoning behind resetting of a column information? I read commit message, but still can't get it.
Also, the comment there is misleading. I'm not sure about GCC, but
DILocations produced by Clang have the correct
column information attached.
Anyways, how one would get this information?
Thank you for understanding.