[all-commits] [llvm/llvm-project] 216dfd: [clang][Interp] Fix stack peek offset for This ptr...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Nov 14 07:22:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 216dfd5ff0621791936ee2d208d686a9edc00db0
      https://github.com/llvm/llvm-project/commit/216dfd5ff0621791936ee2d208d686a9edc00db0
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Fix stack peek offset for This ptr (#70663)

`Function::getArgSize()` include both the instance and the RVO pointer,
so we need to subtract here.




More information about the All-commits mailing list