[PATCH] D148614: [clang][Interp] Add frame depth checking

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 18 23:12:34 PDT 2023


tbaeder updated this revision to Diff 514826.
tbaeder added a comment.

Move things around a bit and add some `+ 1`s to get matching diagnostic output with the current interpreter.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148614/new/

https://reviews.llvm.org/D148614

Files:
  clang/lib/AST/Interp/Interp.cpp
  clang/lib/AST/Interp/Interp.h
  clang/lib/AST/Interp/InterpFrame.cpp
  clang/lib/AST/Interp/InterpFrame.h
  clang/lib/AST/Interp/InterpState.cpp
  clang/lib/AST/Interp/InterpState.h
  clang/test/AST/Interp/depth-limit.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148614.514826.patch
Type: text/x-patch
Size: 7418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230419/fff887a4/attachment.bin>


More information about the cfe-commits mailing list