[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 16:37:39 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});
----------------
bd1976bris wrote:
Obj.insert({"Approximate", true});
https://github.com/llvm/llvm-project/pull/82240
More information about the llvm-commits
mailing list