[all-commits] [llvm/llvm-project] dd67e6: [ASan] Reland of D116182 to always link asan_stati...

kstoimenov via All-commits all-commits at lists.llvm.org
Thu Mar 24 12:32:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd67e6972f85b4f0d00f7c68aea857b09e7a0b8a
      https://github.com/llvm/llvm-project/commit/dd67e6972f85b4f0d00f7c68aea857b09e7a0b8a
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/sanitizer-ld.c
    M compiler-rt/lib/asan/CMakeLists.txt
    M compiler-rt/lib/asan/asan_interface.inc
    M compiler-rt/lib/asan/asan_rtl_x86_64.S

  Log Message:
  -----------
  [ASan] Reland of D116182 to always link asan_static library.

After landing D121813 the binary size increase introduced by this change can be minimized by using --gc-sections link options. D121813 allows each individual callbacks to be optimized out if not used.

Reviewed By: vitalybuka, MaskRay

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




More information about the All-commits mailing list