[all-commits] [llvm/llvm-project] 428ed6: [ASan] Shared optimized callbacks implementation.

kstoimenov via All-commits all-commits at lists.llvm.org
Thu Dec 9 15:05:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 428ed61a921c092b638ee512c73d48352af915e6
      https://github.com/llvm/llvm-project/commit/428ed61a921c092b638ee512c73d48352af915e6
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

  Changed paths:
    M compiler-rt/lib/asan/CMakeLists.txt
    M compiler-rt/lib/asan/asan_interface.inc
    A compiler-rt/lib/asan/asan_rtl_x86_64.S
    M compiler-rt/lib/asan/tests/asan_noinst_test.cpp
    M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp

  Log Message:
  -----------
  [ASan] Shared optimized callbacks implementation.

This change moves optimized callbacks from each .o file to compiler-rt. Instead of using code generation it uses direct assembly implementation. Please note that the 'or' version is not implemented and it will produce unresolved external if somehow 'or' version is requested.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list