[llvm] [DebugInfo] getMergedLocation: match scopes based on their location (PR #132286)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 31 11:34:26 PDT 2025
dwblaikie wrote:
Thanks, this is helping.
The chains are still a bit confusing to me in the example - perhaps use specific instructions, and their scope chain? (some instruction should have a single scope link, which continues up until it reaches the function - so I don't quite understand the function with up and down arrows, and sideways arrows)
Should be two instructions, each with linear scope chains that reach the function - could you describe those, and how the merging currently works (the steps, and how it reaches the (undesirable to you) outcome)? and how the new algorithm reaches a different conclusion?
https://github.com/llvm/llvm-project/pull/132286
More information about the llvm-commits
mailing list