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

kda via All-commits all-commits at lists.llvm.org
Tue Jun 8 14:39:22 PDT 2021


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

  Changed paths:
    M compiler-rt/lib/asan/asan_fake_stack.cpp
    M compiler-rt/lib/asan/asan_interface.inc
    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
    M llvm/test/Instrumentation/AddressSanitizer/stack-poisoning.ll
    M llvm/test/Instrumentation/AddressSanitizer/stack_dynamic_alloca.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