[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 08:08:01 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:
Just my personal preference here - let's leave it as it is unless someone has a stronger reason.
https://github.com/llvm/llvm-project/pull/82240
More information about the llvm-commits
mailing list