[all-commits] [llvm/llvm-project] 39d553: [CodeGen] Respect pointer-overflow sanitizer for v...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 4 06:16:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39d55321bd0b8ce436d6fcd8e5ba51b8bf535559
      https://github.com/llvm/llvm-project/commit/39d55321bd0b8ce436d6fcd8e5ba51b8bf535559
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGen/PowerPC/ppc64-inline-asm.c
    M clang/test/CodeGen/address-space.c
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c

  Log Message:
  -----------
  [CodeGen] Respect pointer-overflow sanitizer for void pointers (#67772)

Pointer arithmetic on void pointers (a GNU extension) was going through
a different code path and bypassed the pointer-overflow sanitizer.

Fixes https://github.com/llvm/llvm-project/issues/66451.




More information about the All-commits mailing list