[all-commits] [llvm/llvm-project] 1f8353: [clang][bytecode] Apply pointer casts to opaque po...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Sep 15 08:54:22 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f83538aa13d9a622c36226e7c8a60ba58bb68f0
      https://github.com/llvm/llvm-project/commit/1f83538aa13d9a622c36226e7c8a60ba58bb68f0
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/Opcodes.td
    M clang/test/AST/ByteCode/builtin-object-size-codegen.c
    M clang/test/AST/ByteCode/c.c

  Log Message:
  -----------
  [clang][bytecode] Apply pointer casts to opaque pointers (#223607)

For `((char *)&sqlite3Prepare_sParse) + 4`, the final byte offset should
be `4`, not `4 * sizeof(sqlite3Prepare_sParse)`. To handle that, we need
to actually pass the cast along to the opaque pointer.



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