[all-commits] [llvm/llvm-project] 11b7ce: [ASanStableABI][Driver] Stop linking to asan dylib...

thetruestblue via All-commits all-commits at lists.llvm.org
Wed Aug 2 11:31:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11b7ce26f2a22ca147feaaf1cfd2d21b85fc3d83
      https://github.com/llvm/llvm-project/commit/11b7ce26f2a22ca147feaaf1cfd2d21b85fc3d83
  Author: Blue Gaston <bgaston2 at apple.com>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M clang/include/clang/Driver/SanitizerArgs.h
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M compiler-rt/test/asan_abi/CMakeLists.txt
    M compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp
    M compiler-rt/test/asan_abi/TestCases/linkstaticlibrary.cpp
    M compiler-rt/test/asan_abi/lit.site.cfg.py.in

  Log Message:
  -----------
  [ASanStableABI][Driver] Stop linking to asan dylib when stable abi is enabled

This patch enables linking of the static archive when fsanitize-stable-abi is set and stops linking to the asan dylib.

To link to the Address Sanitizer stable abi static library use "-fsanitize=address -fsanitize-stable-abi"

Updates a test with these flags.

rdar://112480890

Differential Revision: https://reviews.llvm.org/D156718




More information about the All-commits mailing list