[llvm] [DebugInfo] Helper method for finding the deepest inlining location (PR #161696)
Akshay Deodhar via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 3 12:57:25 PDT 2025
================
@@ -2600,14 +2600,23 @@ class DILocation : public MDNode {
StringRef getDirectory() const { return getScope()->getDirectory(); }
std::optional<StringRef> getSource() const { return getScope()->getSource(); }
+ /// Get the location where this is inlined
+ ///
+ /// Walk through \a getInlinedAt() and return the \a DILocation where this is
+ /// inlined.
----------------
akshayrdeodhar wrote:
That is clearer, I'll update the comment!
https://github.com/llvm/llvm-project/pull/161696
More information about the llvm-commits
mailing list