[all-commits] [llvm/llvm-project] 4fe29d: [ASan] AddressSanitizerPass constructor should hon...

Usama Hameed via All-commits all-commits at lists.llvm.org
Thu Nov 16 16:29:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fe29d0dc2f65e60ae7dde63e7f4595446f3baca
      https://github.com/llvm/llvm-project/commit/4fe29d0dc2f65e60ae7dde63e7f4595446f3baca
  Author: Usama Hameed <u_hameed at apple.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

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

  Log Message:
  -----------
  [ASan] AddressSanitizerPass constructor should honor the AsanCtorKind argument (#72330)

Currently, the ConstructorKind member variable in AddressSanitizerPass
gets overriden by the ClConstructorKind whether the option is passed
from the command line or not. This override should only happen if the
ClConstructorKind argument is passed from the command line. Otherwise,
the constructor should honor the argument passed to it. This patch makes
this fix.

rdar://118423755




More information about the All-commits mailing list