[llvm] [DebugInfo] Helper method for finding the deepest inlining location (PR #161696)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 3 03:53:58 PDT 2025
https://github.com/OCHyams commented:
SGTM, I'm surprised this doesn't already exist.
Could you add some unittest coverage? `getInlinedAtScope` doesn't look particularly well covered as is, but is at least called in `llvm/unittests/Transforms/Utils/CloningTest.cpp` - checking multiple levels of inlining would probably be ideal, but doing something similar to the `getInlinedAtScope` should probably be a minimum.
https://github.com/llvm/llvm-project/pull/161696
More information about the llvm-commits
mailing list