[all-commits] [llvm/llvm-project] 571b94: [compiler-rt][asan] Add report on intercept fail t...

alvinhochun via All-commits all-commits at lists.llvm.org
Tue Apr 25 04:26:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 571b94f3d77606cb439db1fd64d4483bc409dd33
      https://github.com/llvm/llvm-project/commit/571b94f3d77606cb439db1fd64d4483bc409dd33
  Author: Alvin Wong <alvin at alvinhc.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_interceptors.cpp
    M compiler-rt/lib/asan/asan_malloc_win.cpp

  Log Message:
  -----------
  [compiler-rt][asan] Add report on intercept fail to more places

Use `ASAN_INTERCEPT_FUNC` instead of `INTERCEPT_FUNCTION` so it checks
the return value and reports a message if verbosity >= 1.

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


  Commit: 1194e6f3fa59b99f627e290a98e3c2694e859da1
      https://github.com/llvm/llvm-project/commit/1194e6f3fa59b99f627e290a98e3c2694e859da1
  Author: Alvin Wong <alvin at alvinhc.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M compiler-rt/lib/interception/tests/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt][test] Add `--large-address-aware` link flag for MinGW

The interception tests rely on the test binary being large address
aware. This has already been set for MSVC builds. Now we do the same for
MinGW.

This fixes the interception unit tests for i686-w64-windows-gnu target.

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


Compare: https://github.com/llvm/llvm-project/compare/67e02b282b70...1194e6f3fa59


More information about the All-commits mailing list