[clang] [llvm] [DLCov 3/5] Implement DebugLoc origin-tracking (PR #107369)

J. Ryan Stinnett via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 03:48:12 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)
----------------
jryans wrote:

Ah hmm, that is odd... Okay, seems like you've tried to follow the local (somewhat strange) style. 😄 

https://github.com/llvm/llvm-project/pull/107369


More information about the llvm-commits mailing list