[all-commits] [llvm/llvm-project] 7df30e: [ASan] Allow new/delete replacement by making inte...

Mitch Phillips via All-commits all-commits at lists.llvm.org
Fri Apr 9 14:20:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7df30e77d499e2416e74d67baa6b121f5d47d2a0
      https://github.com/llvm/llvm-project/commit/7df30e77d499e2416e74d67baa6b121f5d47d2a0
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

  Changed paths:
    M compiler-rt/lib/asan/asan_new_delete.cpp
    A compiler-rt/test/asan/TestCases/replaceable_new_delete.cpp

  Log Message:
  -----------
  [ASan] Allow new/delete replacement by making interceptors weak

ASan declares these functions as strongly-defined, which results in
'duplicate symbol' errors when trying to replace them in user code when
linking the runtimes statically.

Reviewed By: eugenis

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




More information about the All-commits mailing list