[llvm] [DebugInfo] Preserve line and column number when merging debug info. (PR #129960)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 31 16:54:36 PDT 2025


================
@@ -125,6 +132,14 @@ DILocation *DILocation::getMergedLocation(DILocation *LocA, DILocation *LocB) {
   if (LocA == LocB)
     return LocA;
 
+  if (PreserveMergedDebugInfo) {
----------------
snehasish wrote:

Done.

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


More information about the llvm-commits mailing list