[all-commits] [llvm/llvm-project] 8b899e: [ASan] Added intermediate functions between assemb...

kstoimenov via All-commits all-commits at lists.llvm.org
Wed Feb 2 16:31:58 PST 2022


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

  Changed paths:
    M compiler-rt/lib/asan/asan_rtl_static.cpp
    M compiler-rt/lib/asan/asan_rtl_x86_64.S

  Log Message:
  -----------
  [ASan] Added intermediate functions between assembly and __asan_report.* to avoid link errors.

Instead of calling asan_report.* directly from assembly code they have been replaced with corresponding asan_report.*_asm function, which call asan_report.*. All asan_report.* are now undefined weak symbols, which allows DSOs to link when z defs is used.

Reviewed By: MaskRay, morehouse

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




More information about the All-commits mailing list