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

kda via All-commits all-commits at lists.llvm.org
Thu Jun 3 13:14:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41b3088c3f33d712e3d2f64b66ae4eb701fa4bfb
      https://github.com/llvm/llvm-project/commit/41b3088c3f33d712e3d2f64b66ae4eb701fa4bfb
  Author: Kevin Athey <kda at google.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M compiler-rt/lib/asan/asan_interface.inc
    M compiler-rt/lib/asan/asan_rtl.cpp
    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/Windows/dll_stack_use_after_return.cpp
    M compiler-rt/test/asan/TestCases/Windows/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

  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