[all-commits] [llvm/llvm-project] 107185: [sanitizer] Remove unneeded pointer casts and migr...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Nov 15 10:49:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 107185fa858e9ef07bd329b42c2721a721432d26
      https://github.com/llvm/llvm-project/commit/107185fa858e9ef07bd329b42c2721a721432d26
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  Log Message:
  -----------
  [sanitizer] Remove unneeded pointer casts and migrate away from getInt8PtrTy. NFC (#72327)

After opaque pointer migration, getInt8PtrTy() is considered legacy.
Replace it with getPtrTy(), and while here, remove some unneeded pointer
casts.




More information about the All-commits mailing list