llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/181158.diff 1 Files Affected: - (modified) clang/lib/AST/ByteCode/InterpFrame.h (+6) ``````````diff diff --git a/clang/lib/AST/ByteCode/InterpFrame.h b/clang/lib/AST/ByteCode/InterpFrame.h index 61c1065e5848a..0879260695d3e 100644 --- a/clang/lib/AST/ByteCode/InterpFrame.h +++ b/clang/lib/AST/ByteCode/InterpFrame.h @@ -46,6 +46,12 @@ class InterpFrame final : public Frame { /// Destroys the frame, killing all live pointers to stack slots. ~InterpFrame(); + std::string getName() const { + if (!Func) + return "Bottom frame"; + return Func->getName(); + } + static void free(InterpFrame *F) { if (!F->isBottomFrame()) delete F; `````````` </details> https://github.com/llvm/llvm-project/pull/181158 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
