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

kstoimenov via All-commits all-commits at lists.llvm.org
Tue Dec 14 07:56:01 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c13524856bb304e6b4f80da7f5c5ecdc021920ee
      https://github.com/llvm/llvm-project/commit/c13524856bb304e6b4f80da7f5c5ecdc021920ee
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2021-12-14 (Tue, 14 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