[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 14 23:53:31 PDT 2024
================
@@ -309,6 +314,9 @@ static json::Object toJSON(const DILineInfo &LineInfo) {
{"Line", LineInfo.Line},
{"Column", LineInfo.Column},
{"Discriminator", LineInfo.Discriminator}});
+ if (LineInfo.IsApproximatedLine)
+ Obj.insert({"Approximate", LineInfo.IsApproximatedLine});
----------------
ampandey-1995 wrote:
IsApproximateLine is a boolean value. I am not opposed to hardcode the "true" for Approximate. But ultimately this would have no effect in the desired outcome.
https://github.com/llvm/llvm-project/pull/82240
More information about the llvm-commits
mailing list