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

kda via All-commits all-commits at lists.llvm.org
Fri Jun 4 16:31:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60e5243e593ec7e0feca42783edb735e9ac2c4a7
      https://github.com/llvm/llvm-project/commit/60e5243e593ec7e0feca42783edb735e9ac2c4a7
  Author: Kevin Athey <kda at google.com>
  Date:   2021-06-04 (Fri, 04 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/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