[all-commits] [llvm/llvm-project] da836b: [clang][Interp] Track frame depth

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed May 31 03:08:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da836b36bc3540d21c947a95474d2bb6cc458951
      https://github.com/llvm/llvm-project/commit/da836b36bc3540d21c947a95474d2bb6cc458951
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpFrame.cpp
    M clang/lib/AST/Interp/InterpFrame.h
    M clang/lib/AST/Interp/InterpState.cpp
    M clang/lib/AST/Interp/InterpState.h
    A clang/test/AST/Interp/depth-limit.cpp
    A clang/test/AST/Interp/depth-limit2.cpp

  Log Message:
  -----------
  [clang][Interp] Track frame depth

Save the depth of each InterpFrame and bail out if we're too deep.

Differential Revision: https://reviews.llvm.org/D148614




More information about the All-commits mailing list