[all-commits] [llvm/llvm-project] e88a1c: [ASan] Allow for passing AddressSanitizer command ...

Usama Hameed via All-commits all-commits at lists.llvm.org
Tue Nov 28 11:47:31 PST 2023


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

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

  Log Message:
  -----------
  [ASan] Allow for passing AddressSanitizer command line options through the AddressSanitizerOptions struct. (#72439)

This patch adds the ability to pass values for the command line options
of -max-inline-poisoning-size, -instrumentation-with-calls-threshold and
-asan-guard-against-version-mismatch through the AddressSanitizerOptions
struct. The motivation is to use these new options when using the pass
in Swift.

rdar://118470958




More information about the All-commits mailing list