[all-commits] [llvm/llvm-project] db9485: [clang][bytecode] Allow adding offsets to function...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Aug 22 06:24:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db94852b9b4ca1008ef2889175fe3af51f26a5b0
      https://github.com/llvm/llvm-project/commit/db94852b9b4ca1008ef2889175fe3af51f26a5b0
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    A clang/lib/AST/ByteCode/FunctionPointer.cpp
    M clang/lib/AST/ByteCode/FunctionPointer.h
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/lib/AST/CMakeLists.txt
    M clang/test/AST/ByteCode/c.c

  Log Message:
  -----------
  [clang][bytecode] Allow adding offsets to function pointers (#105641)

Convert them to Pointers, do the offset calculation and then convert
them back to function pointers.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list