[clang] [llvm] [DLCov 3/5] Implement DebugLoc origin-tracking (PR #107369)
Stephen Tozer via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 23 14:07:38 PDT 2024
================
@@ -487,14 +490,15 @@ def Main():
if bugs_metadata == "DILocation":
try:
+ origin = bug["origin"]
action = bug["action"]
bb_name = bug["bb-name"]
fn_name = bug["fn-name"]
instr = bug["instr"]
except:
skipped_bugs += 1
continue
- di_loc_bug = DILocBug(action, bb_name, fn_name, instr)
+ di_loc_bug = DILocBug(origin, action, bb_name, fn_name, instr)
----------------
SLTozer wrote:
Oddly the parameters to this function are passed in reverse of their use/declaration; wasn't sure why, but I decided to keep the ordering rather than make the new parameter an odd one out.
https://github.com/llvm/llvm-project/pull/107369
More information about the cfe-commits
mailing list