[PATCH] [ASan] Test churn for setting ASAN_OPTIONS=symbolize_vs_style=false

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Fri Jun 5 19:38:29 PDT 2015


Hi samsonov, kcc, rnk,

This commit adds symbolize_vs_style=false to every instance of
ASAN_OPTIONS in the asan tests and sets
ASAN_OPTIONS=symbolize_vs_style=false in lit, for tests which don't set
it.

This way we don't need to make the tests be able to deal with both
symbolize styles.

This is the first patch in the series. I will eventually submit for the
other sanitizers too.

We need this change (or another way to deal with the different outputs) in
order to be able to default to symbolize_vs_style=true on some platforms.

http://reviews.llvm.org/D10294

Files:
  test/asan/TestCases/Android/coverage-android.cc
  test/asan/TestCases/Darwin/atos-symbolizer.cc
  test/asan/TestCases/Darwin/dladdr-demangling.cc
  test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cc
  test/asan/TestCases/Darwin/suppressions-darwin.cc
  test/asan/TestCases/Darwin/suppressions-sandbox.cc
  test/asan/TestCases/Linux/asan_prelink_test.cc
  test/asan/TestCases/Linux/coverage-missing.cc
  test/asan/TestCases/Linux/init-order-dlopen.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/static_tls.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/coverage-direct-activation.cc
  test/asan/TestCases/Posix/coverage-direct-large.cc
  test/asan/TestCases/Posix/coverage-direct.cc
  test/asan/TestCases/Posix/coverage-fork-direct.cc
  test/asan/TestCases/Posix/coverage-fork.cc
  test/asan/TestCases/Posix/coverage-module-unloaded.cc
  test/asan/TestCases/Posix/coverage-sandboxing.cc
  test/asan/TestCases/Posix/coverage.cc
  test/asan/TestCases/Posix/ioctl.cc
  test/asan/TestCases/Posix/large_allocator_unpoisons_on_free.cc
  test/asan/TestCases/Posix/log_path_fork_test.cc.disabled
  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/coverage-basic.cc
  test/asan/TestCases/Windows/dll_report_globals_symbolization_at_startup.cc
  test/asan/TestCases/Windows/dll_stack_use_after_return.cc
  test/asan/TestCases/Windows/report_globals_reload_dll.cc
  test/asan/TestCases/Windows/report_globals_vs_freelibrary.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/closed-fds.cc
  test/asan/TestCases/contiguous_container_crash.cc
  test/asan/TestCases/coverage-and-lsan.cc
  test/asan/TestCases/coverage-caller-callee-total-count.cc
  test/asan/TestCases/coverage-caller-callee.cc
  test/asan/TestCases/coverage-disabled.cc
  test/asan/TestCases/coverage-levels.cc
  test/asan/TestCases/coverage-maybe-open-file.cc
  test/asan/TestCases/coverage-order-pcs.cc
  test/asan/TestCases/coverage-reset.cc
  test/asan/TestCases/coverage-tracing.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/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/stack-overflow.cc
  test/asan/TestCases/stack-use-after-return.cc
  test/asan/TestCases/strip_path_prefix.c
  test/asan/TestCases/suppressions-exec-relative-location.cc
  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
  test/asan/lit.cfg

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10294.27254.patch
Type: text/x-patch
Size: 99828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150606/80907b4a/attachment.bin>


More information about the llvm-commits mailing list