[all-commits] [llvm/llvm-project] 976d8b: [clang][Interp] Virtual function calls

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu Jun 15 04:34:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 976d8b40cccf4678fe8c414210ce82170049b715
      https://github.com/llvm/llvm-project/commit/976d8b40cccf4678fe8c414210ce82170049b715
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/Context.h
    M clang/lib/AST/Interp/Descriptor.cpp
    M clang/lib/AST/Interp/Function.h
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpState.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/lib/AST/Interp/Pointer.h
    M clang/test/AST/Interp/records.cpp

  Log Message:
  -----------
  [clang][Interp] Virtual function calls

Add a CallVirt opcode and implement virtual function calls this way.

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




More information about the All-commits mailing list