[PATCH] [compiler-rt] Turn abort_on_error=1 by default on OS X (part 2/2)

Kuba Brecka kuba.brecka at gmail.com
Tue Jan 27 10:58:14 PST 2015


See part 1 at http://reviews.llvm.org/D7203.

This is part 2 of the patch that contains modifications of existing tests.

Individual test cases that override ASAN_OPTIONS are changed to respect the default ASAN_OPTIONS environment variable set by lit. The diff is basically the result of this command:

    find . -type f | xargs sed -E -i "" 's/ASAN_OPTIONS=([^$])/ASAN_OPTIONS=$ASAN_OPTIONS:\1/g'

with a a manual modification in malloc_delete_mismatch.cc (because ASAN_OPTIONS is used in a help message).

http://reviews.llvm.org/D7204

Files:
  test/asan/TestCases/Android/coverage-android.cc
  test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cc
  test/asan/TestCases/Darwin/suppressions-darwin.cc
  test/asan/TestCases/Linux/asan_prelink_test.cc
  test/asan/TestCases/Linux/coverage-and-lsan.cc
  test/asan/TestCases/Linux/coverage-caller-callee-total-count.cc
  test/asan/TestCases/Linux/coverage-caller-callee.cc
  test/asan/TestCases/Linux/coverage-direct-activation.cc
  test/asan/TestCases/Linux/coverage-direct-large.cc
  test/asan/TestCases/Linux/coverage-direct.cc
  test/asan/TestCases/Linux/coverage-disabled.cc
  test/asan/TestCases/Linux/coverage-fork-direct.cc
  test/asan/TestCases/Linux/coverage-fork.cc
  test/asan/TestCases/Linux/coverage-levels.cc
  test/asan/TestCases/Linux/coverage-maybe-open-file.cc
  test/asan/TestCases/Linux/coverage-module-unloaded.cc
  test/asan/TestCases/Linux/coverage-sandboxing.cc
  test/asan/TestCases/Linux/coverage-tracing.cc
  test/asan/TestCases/Linux/coverage.cc
  test/asan/TestCases/Linux/initialization-bug-any-order.cc
  test/asan/TestCases/Linux/kernel-area.cc
  test/asan/TestCases/Linux/leak.cc
  test/asan/TestCases/Linux/malloc-in-qsort.cc
  test/asan/TestCases/Linux/malloc_delete_mismatch.cc
  test/asan/TestCases/Linux/nohugepage_test.cc
  test/asan/TestCases/Linux/odr-violation.cc
  test/asan/TestCases/Linux/overflow-in-qsort.cc
  test/asan/TestCases/Linux/quarantine_size_mb.cc
  test/asan/TestCases/Linux/sized_delete_test.cc
  test/asan/TestCases/Linux/stack-overflow-sigbus.cc
  test/asan/TestCases/Linux/stack-trace-dlclose.cc
  test/asan/TestCases/Linux/stress_dtls.c
  test/asan/TestCases/Posix/allow_user_segv.cc
  test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc
  test/asan/TestCases/Posix/init-order-dlopen.cc
  test/asan/TestCases/Posix/ioctl.cc
  test/asan/TestCases/Posix/large_allocator_unpoisons_on_free.cc
  test/asan/TestCases/Posix/new_array_cookie_test.cc
  test/asan/TestCases/Posix/new_array_cookie_uaf_test.cc
  test/asan/TestCases/Posix/start-deactivated.cc
  test/asan/TestCases/Posix/tsd_dtor_leak.cc
  test/asan/TestCases/Windows/dll_stack_use_after_return.cc
  test/asan/TestCases/Windows/stack_use_after_return.cc
  test/asan/TestCases/allocator_returns_null.cc
  test/asan/TestCases/asan_and_llvm_coverage_test.cc
  test/asan/TestCases/asan_options-help.cc
  test/asan/TestCases/atexit_stats.cc
  test/asan/TestCases/contiguous_container_crash.cc
  test/asan/TestCases/debug_mapping.cc
  test/asan/TestCases/debug_ppc64_mapping.cc
  test/asan/TestCases/deep_call_stack.cc
  test/asan/TestCases/deep_stack_uaf.cc
  test/asan/TestCases/double-free.cc
  test/asan/TestCases/dump_instruction_bytes.cc
  test/asan/TestCases/gc-test.cc
  test/asan/TestCases/heap-overflow.cc
  test/asan/TestCases/heavy_uar_test.cc
  test/asan/TestCases/init-order-atexit.cc
  test/asan/TestCases/init-order-pthread-create.cc
  test/asan/TestCases/initialization-blacklist.cc
  test/asan/TestCases/initialization-bug.cc
  test/asan/TestCases/initialization-constexpr.cc
  test/asan/TestCases/initialization-nobug.cc
  test/asan/TestCases/invalid-free.cc
  test/asan/TestCases/log-path_test.cc
  test/asan/TestCases/log_path_fork_test.cc.disabled
  test/asan/TestCases/malloc_context_size.cc
  test/asan/TestCases/malloc_fill.cc
  test/asan/TestCases/max_redzone.cc
  test/asan/TestCases/memcmp_strict_test.cc
  test/asan/TestCases/mmap_limit_mb.cc
  test/asan/TestCases/poison_partial.cc
  test/asan/TestCases/print_summary.cc
  test/asan/TestCases/printf-1.c
  test/asan/TestCases/printf-2.c
  test/asan/TestCases/printf-3.c
  test/asan/TestCases/printf-4.c
  test/asan/TestCases/printf-5.c
  test/asan/TestCases/sleep_before_dying.c
  test/asan/TestCases/stack-overflow.cc
  test/asan/TestCases/stack-use-after-return.cc
  test/asan/TestCases/strip_path_prefix.c
  test/asan/TestCases/suppressions-function.cc
  test/asan/TestCases/suppressions-interceptor.cc
  test/asan/TestCases/suppressions-library.cc
  test/asan/TestCases/uar_and_exceptions.cc
  test/asan/TestCases/use-after-poison.cc
  test/asan/TestCases/use-after-scope.cc

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7204.18829.patch
Type: text/x-patch
Size: 88241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150127/60775881/attachment.bin>


More information about the llvm-commits mailing list