[all-commits] [llvm/llvm-project] 927688: Update and improve compiler-rt tests for -mllvm -a...

kda via All-commits all-commits at lists.llvm.org
Sat Jun 5 00:26:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 927688a4cd9dcde92e8bf430e6ceefac6ab8c8a0
      https://github.com/llvm/llvm-project/commit/927688a4cd9dcde92e8bf430e6ceefac6ab8c8a0
  Author: Kevin Athey <kda at google.com>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M compiler-rt/lib/asan/asan_interface.inc
    M compiler-rt/lib/asan/asan_rtl.cpp
    M compiler-rt/lib/asan/weak_symbols.txt
    M compiler-rt/test/asan/TestCases/Linux/uar_signals.cpp
    M compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cpp
    M compiler-rt/test/asan/TestCases/heavy_uar_test.cpp
    M compiler-rt/test/asan/TestCases/pass-struct-byval-uar.cpp
    M compiler-rt/test/asan/TestCases/scariness_score_test.cpp
    M compiler-rt/test/asan/TestCases/uar_and_exceptions.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/test/Instrumentation/AddressSanitizer/fake-stack.ll
    M llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn

  Log Message:
  -----------
  Update and improve compiler-rt tests for -mllvm -asan_use_after_return=(never|[runtime]|always).

In addition:
  - optionally add global flag to capture compile intent for UAR:
    __asan_detect_use_after_return_always.
    The global is a SANITIZER_WEAK_ATTRIBUTE.

for issue: https://github.com/google/sanitizers/issues/1394

Reviewed By: vitalybuka

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




More information about the All-commits mailing list