[PATCH] D122033: [DebugInfo][NFC] Add a comment on the ordering of DILineInfo frames.
Snehasish Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 10:42:02 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5cfb1100902e: [DebugInfo][NFC] Add a comment on the ordering of DILineInfo frames. (authored by snehasish).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122033/new/
https://reviews.llvm.org/D122033
Files:
llvm/include/llvm/DebugInfo/DIContext.h
Index: llvm/include/llvm/DebugInfo/DIContext.h
===================================================================
--- llvm/include/llvm/DebugInfo/DIContext.h
+++ llvm/include/llvm/DebugInfo/DIContext.h
@@ -90,6 +90,8 @@
public:
DIInliningInfo() = default;
+ /// Returns the frame at `Index`. Frames are stored in bottom-up
+ /// (leaf-to-root) order with increasing index.
const DILineInfo &getFrame(unsigned Index) const {
assert(Index < Frames.size());
return Frames[Index];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122033.417024.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220321/0656a3d5/attachment.bin>
More information about the llvm-commits
mailing list