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

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 31 13:43:28 PDT 2025


================
@@ -34,6 +35,12 @@ cl::opt<bool> EnableFSDiscriminator(
     cl::desc("Enable adding flow sensitive discriminators"));
 } // namespace llvm
 
+// When true, preserves line and column number by picking one of the merged
----------------
rnk wrote:

I'd like to have a more descriptive name for this option, since we are discarding information, we're not preserving half of the merged source location. I came up with some suggestions:
* -merge-source-locs-by-picking
* -pick-merged-source-locations
* -merge-source-locations-with-selection
* -merge-source-locations-by-choice
* -no-approximate-merged-source-locs

I'm really just trying various synonyms for "pick", "select", "choose".

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


More information about the llvm-commits mailing list