11f8ffed1d651dcafcb4f85ffc561a9eac13f844 |
30-Sep-2014 |
Stephen Hines <srhines@google.com> |
Fix windows build for compiler-rt. Bug: 14416410 Don't build enable_execute_stack.c on Windows, since it can't be used. Remove unnecessary linker options for Windows. Change-Id: I775057bfd8a24912ff57e118fbbd2c12a9233827
ndroid.mk
|
6624ff8bf28e54e4791b86c3298729232ab56429 |
01-Aug-2014 |
Ying Wang <wangying@google.co> |
Exclude only modules with prebuilts in prebulits/sdk So we can do tapas build in the full platform source tree. Change-Id: I2c28813705e6a08ff8268497bed6452f1648cbb2 (cherry picked from commit d7b75360edc991ce7a2aa4f4dbfa93b1ab24aac2)
ndroid.mk
|
5d71de26cedae3dafc17449fe0182045c0bd20e8 |
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for rebase to r212749. Includes a cherry-pick of: r213309 - fixes umodsi3 Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
MakeLists.txt
REDITS.TXT
EADME.txt
make/Modules/AddCompilerRT.cmake
make/Modules/CompilerRTCompile.cmake
nclude/CMakeLists.txt
nclude/sanitizer/allocator_interface.h
nclude/sanitizer/asan_interface.h
nclude/sanitizer/msan_interface.h
ib/asan/Android.mk
ib/asan/CMakeLists.txt
ib/asan/README.txt
ib/asan/asan_allocator2.cc
ib/asan/asan_asm_instrumentation.S
ib/asan/asan_dll_thunk.cc
ib/asan/asan_globals.cc
ib/asan/asan_init_version.h
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_interface_internal.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_mapping.h
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread.cc
ib/asan/scripts/asan_device_setup
ib/asan/scripts/gen_asm_instrumentation.sh
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_asm_test.cc
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_noinst_test.cc
ib/builtins/Makefile.mk
ib/builtins/README.txt
ib/builtins/arm/bswapdi2.S
ib/builtins/arm/bswapsi2.S
ib/builtins/arm/clzdi2.S
ib/builtins/arm/clzsi2.S
ib/builtins/arm/divmodsi4.S
ib/builtins/arm/divsi3.S
ib/builtins/arm/modsi3.S
ib/builtins/arm/udivmodsi4.S
ib/builtins/arm/udivsi3.S
ib/builtins/arm/umodsi3.S
ib/builtins/armv6m/Makefile.mk
ib/builtins/assembly.h
ib/builtins/divtf3.c
ib/builtins/extenddftf2.c
ib/builtins/extendsfdf2.c
ib/builtins/extendsftf2.c
ib/builtins/fp_extend.h
ib/builtins/fp_extend_impl.inc
ib/builtins/fp_lib.h
ib/builtins/fp_trunc.h
ib/builtins/fp_trunc_impl.inc
ib/builtins/truncdfsf2.c
ib/builtins/trunctfdf2.c
ib/builtins/trunctfsf2.c
ib/builtins/x86_64/floatundidf.S
ib/builtins/x86_64/floatundisf.S
ib/builtins/x86_64/floatundixf.S
ib/dfsan/dfsan.h
ib/interception/interception.h
ib/interception/interception_win.cc
ib/lsan/CMakeLists.txt
ib/lsan/lsan_common.cc
ib/lsan/lsan_interceptors.cc
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_allocator.cc
ib/msan/msan_chained_origin_depot.cc
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
ib/msan/msan_linux.cc
ib/msan/msan_origin.h
ib/msan/msan_report.cc
ib/msan/msan_thread.cc
ib/msan/tests/msan_test.cc
ib/profile/InstrProfilingFile.c
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_allocator_interface.h
ib/sanitizer_common/sanitizer_atomic_msvc.h
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_coverage_libcdep.cc
ib/sanitizer_common/sanitizer_coverage_mapping_libcdep.cc
ib/sanitizer_common/sanitizer_deadlock_detector2.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
ib/sanitizer_common/sanitizer_freebsd.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/sanitizer_procmaps_linux.cc
ib/sanitizer_common/sanitizer_procmaps_mac.cc
ib/sanitizer_common/sanitizer_report_decorator.h
ib/sanitizer_common/sanitizer_stackdepot.cc
ib/sanitizer_common/sanitizer_stackdepotbase.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_tls_get_addr.cc
ib/sanitizer_common/sanitizer_tls_get_addr.h
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/scripts/check_lint.sh
ib/sanitizer_common/scripts/sancov.py
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_deadlock_detector_test.cc
ib/sanitizer_common/tests/sanitizer_flags_test.cc
ib/sanitizer_common/tests/sanitizer_ioctl_test.cc
ib/tsan/CMakeLists.txt
ib/tsan/check_analyze.sh
ib/tsan/check_memcpy.sh
ib/tsan/dd/CMakeLists.txt
ib/tsan/go/build.bat
ib/tsan/go/buildgo.sh
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/Makefile.old
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_dense_alloc.h
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_interface_java.h
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stack_trace.cc
ib/tsan/rtl/tsan_stack_trace.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
ib/tsan/rtl/tsan_trace.h
ib/tsan/rtl/tsan_update_shadow_word_inl.h
ib/tsan/rtl/tsan_vector.h
ib/tsan/tests/unit/tsan_dense_alloc_test.cc
ib/tsan/tests/unit/tsan_mman_test.cc
ib/tsan/tests/unit/tsan_sync_test.cc
ib/ubsan/ubsan_diag.cc
ake/platform/clang_linux.mk
est/asan/CMakeLists.txt
est/asan/TestCases/Android/coverage-android.cc
est/asan/TestCases/Android/lit.local.cfg
est/asan/TestCases/Darwin/interface_symbols_darwin.c
est/asan/TestCases/Linux/asan_dlopen_test.cc
est/asan/TestCases/Linux/asan_preload_test-1.cc
est/asan/TestCases/Linux/asan_preload_test-2.cc
est/asan/TestCases/Linux/asan_rt_confict_test-1.cc
est/asan/TestCases/Linux/asan_rt_confict_test-2.cc
est/asan/TestCases/Linux/clone_test.cc
est/asan/TestCases/Linux/coverage-direct.cc
est/asan/TestCases/Linux/coverage-disabled.cc
est/asan/TestCases/Linux/coverage-fork-direct.cc
est/asan/TestCases/Linux/coverage-fork.cc
est/asan/TestCases/Linux/coverage-maybe-open-file.cc
est/asan/TestCases/Linux/glob.cc
est/asan/TestCases/Linux/heavy_uar_test.cc
est/asan/TestCases/Linux/interception_readdir_r_test.cc
est/asan/TestCases/Linux/interface_symbols_linux.c
est/asan/TestCases/Linux/kernel-area.cc
est/asan/TestCases/Linux/malloc_delete_mismatch.cc
est/asan/TestCases/Linux/odr-violation.cc
est/asan/TestCases/Linux/preinit_test.cc
est/asan/TestCases/Linux/ptrace.cc
est/asan/TestCases/Linux/shmctl.cc
est/asan/TestCases/Linux/stack-trace-dlclose.cc
est/asan/TestCases/Linux/stress_dtls.c
est/asan/TestCases/Linux/syscalls.cc
est/asan/TestCases/Linux/tsd_dtor_leak.cc
est/asan/TestCases/Linux/uar_signals.cc
est/asan/TestCases/Linux/unpoison_tls.cc
est/asan/TestCases/Posix/asan-symbolize-sanity-test.cc
est/asan/TestCases/Posix/init-order-dlopen.cc
est/asan/TestCases/Posix/shared-lib-test.cc
est/asan/TestCases/Posix/start-deactivated.cc
est/asan/TestCases/Windows/aligned_mallocs.cc
est/asan/TestCases/Windows/allocators_sanity.cc
est/asan/TestCases/Windows/beginthreadex.cc
est/asan/TestCases/Windows/bitfield.cc
est/asan/TestCases/Windows/bitfield_uaf.cc
est/asan/TestCases/Windows/calloc_left_oob.cc
est/asan/TestCases/Windows/calloc_right_oob.cc
est/asan/TestCases/Windows/calloc_uaf.cc
est/asan/TestCases/Windows/crt_initializers.cc
est/asan/TestCases/Windows/dll_aligned_mallocs.cc
est/asan/TestCases/Windows/dll_allocators_sanity.cc
est/asan/TestCases/Windows/dll_cerr.cc
est/asan/TestCases/Windows/dll_host.cc
est/asan/TestCases/Windows/dll_intercept_memchr.cc
est/asan/TestCases/Windows/dll_intercept_memcpy.cc
est/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cc
est/asan/TestCases/Windows/dll_intercept_memset.cc
est/asan/TestCases/Windows/dll_intercept_strlen.cc
est/asan/TestCases/Windows/dll_malloc_left_oob.cc
est/asan/TestCases/Windows/dll_malloc_uaf.cc
est/asan/TestCases/Windows/dll_noreturn.cc
est/asan/TestCases/Windows/dll_operator_array_new_left_oob.cc
est/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cc
est/asan/TestCases/Windows/dll_poison_unpoison.cc
est/asan/TestCases/Windows/dll_stack_use_after_return.cc
est/asan/TestCases/Windows/dll_thread_stack_array_left_oob.cc
est/asan/TestCases/Windows/double_free.cc
est/asan/TestCases/Windows/double_operator_delete.cc
est/asan/TestCases/Windows/global_const_string.cc
est/asan/TestCases/Windows/global_const_string_oob.cc
est/asan/TestCases/Windows/hello_world.cc
est/asan/TestCases/Windows/intercept_memcpy.cc
est/asan/TestCases/Windows/intercept_strdup.cc
est/asan/TestCases/Windows/intercept_strlen.cc
est/asan/TestCases/Windows/malloc_left_oob.cc
est/asan/TestCases/Windows/malloc_right_oob.cc
est/asan/TestCases/Windows/malloc_uaf.cc
est/asan/TestCases/Windows/operator_array_new_left_oob.cc
est/asan/TestCases/Windows/operator_array_new_right_oob.cc
est/asan/TestCases/Windows/operator_array_new_uaf.cc
est/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cc
est/asan/TestCases/Windows/operator_delete_wrong_argument.cc
est/asan/TestCases/Windows/operator_new_left_oob.cc
est/asan/TestCases/Windows/operator_new_right_oob.cc
est/asan/TestCases/Windows/operator_new_uaf.cc
est/asan/TestCases/Windows/realloc_left_oob.cc
est/asan/TestCases/Windows/realloc_right_oob.cc
est/asan/TestCases/Windows/realloc_uaf.cc
est/asan/TestCases/Windows/stack_array_left_oob.cc
est/asan/TestCases/Windows/stack_array_right_oob.cc
est/asan/TestCases/Windows/stack_array_sanity.cc
est/asan/TestCases/Windows/stack_use_after_return.cc
est/asan/TestCases/Windows/thread_simple.cc
est/asan/TestCases/Windows/thread_stack_array_left_oob.cc
est/asan/TestCases/Windows/thread_stack_array_right_oob.cc
est/asan/TestCases/Windows/thread_stack_reuse.cc
est/asan/TestCases/Windows/thread_stress.cc
est/asan/TestCases/Windows/use_after_realloc.cc
est/asan/TestCases/Windows/windows_h.cc
est/asan/TestCases/Windows/wrong_downcast_on_heap.cc
est/asan/TestCases/Windows/wrong_downcast_on_stack.cc
est/asan/TestCases/asan-symbolize-sanity-test.cc
est/asan/TestCases/current_allocated_bytes.cc
est/asan/TestCases/deep_stack_uaf.cc
est/asan/TestCases/deep_thread_stack.cc
est/asan/TestCases/default_blacklist.cc
est/asan/TestCases/default_options.cc
est/asan/TestCases/double-free.cc
est/asan/TestCases/free_hook_realloc.cc
est/asan/TestCases/frexp_interceptor.cc
est/asan/TestCases/gc-test.cc
est/asan/TestCases/global-demangle.cc
est/asan/TestCases/global-location.cc
est/asan/TestCases/init-order-atexit.cc
est/asan/TestCases/init-order-pthread-create.cc
est/asan/TestCases/initialization-blacklist.cc
est/asan/TestCases/initialization-constexpr.cc
est/asan/TestCases/initialization-nobug.cc
est/asan/TestCases/invalid-free.cc
est/asan/TestCases/large_func_test.cc
est/asan/TestCases/log-path_test.cc
est/asan/TestCases/lsan_annotations.cc
est/asan/TestCases/malloc_context_size.cc
est/asan/TestCases/malloc_hook.cc
est/asan/TestCases/max_redzone.cc
est/asan/TestCases/mmap_limit_mb.cc
est/asan/TestCases/no_asan_gen_globals.c
est/asan/TestCases/on_error_callback.cc
est/asan/TestCases/printf-1.c
est/asan/TestCases/printf-2.c
est/asan/TestCases/printf-3.c
est/asan/TestCases/printf-4.c
est/asan/TestCases/printf-5.c
est/asan/TestCases/sanity_check_pure_c.c
est/asan/TestCases/stack-overflow.cc
est/asan/TestCases/stack-use-after-return.cc
est/asan/TestCases/strdup_oob_test.cc
est/asan/TestCases/strncpy-overflow.cc
est/asan/TestCases/throw_call_test.cc
est/asan/TestCases/throw_catch.cc
est/asan/TestCases/throw_invoke_test.cc
est/asan/TestCases/time_interceptor.cc
est/asan/TestCases/uar_and_exceptions.cc
est/asan/TestCases/use-after-delete.cc
est/asan/TestCases/use-after-free-right.cc
est/asan/TestCases/use-after-free.cc
est/asan/TestCases/use-after-scope-dtor-order.cc
est/asan/TestCases/use-after-scope-inlined.cc
est/asan/TestCases/use-after-scope-nobug.cc
est/asan/TestCases/use-after-scope.cc
est/asan/android_commands/android_run.py
est/asan/lit.cfg
est/builtins/Unit/divtf3_test.c
est/builtins/Unit/extenddftf2_test.c
est/builtins/Unit/extendsftf2_test.c
est/builtins/Unit/trunctfdf2_test.c
est/builtins/Unit/trunctfsf2_test.c
est/dfsan/basic.c
est/lit.common.cfg
est/msan/SharedLibs/dso-origin-so.cc
est/msan/SharedLibs/dso-origin.h
est/msan/SharedLibs/lit.local.cfg
est/msan/chained_origin.cc
est/msan/chained_origin_empty_stack.cc
est/msan/chained_origin_limits.cc
est/msan/chained_origin_memcpy.cc
est/msan/chained_origin_with_signals.cc
est/msan/dso-origin.cc
est/msan/dtls_test.c
est/msan/getline.cc
est/msan/getline_test_data
est/msan/malloc_hook.cc
est/msan/msan_print_shadow3.cc
est/msan/mul_by_const.cc
est/msan/no_sanitize_memory_prop.cc
est/msan/print_stats.cc
est/msan/vector_cvt.cc
est/sanitizer_common/CMakeLists.txt
est/sanitizer_common/TestCases/Linux/aligned_alloc.c
est/sanitizer_common/TestCases/Linux/ptrace.cc
est/sanitizer_common/TestCases/malloc_hook.cc
est/sanitizer_common/TestCases/print-stack-trace.cc
est/sanitizer_common/TestCases/pthread_mutexattr_get.cc
est/sanitizer_common/lit.common.cfg
est/tsan/CMakeLists.txt
est/tsan/Helpers/blacklist.txt
est/tsan/Helpers/lit.local.cfg
est/tsan/SharedLibs/lit.local.cfg
est/tsan/SharedLibs/load_shared_lib-so.cc
est/tsan/atomic_free.cc
est/tsan/atomic_free2.cc
est/tsan/atomic_race.cc
est/tsan/atomic_stack.cc
est/tsan/blacklist.cc
est/tsan/blacklist2.cc
est/tsan/cond_race.cc
est/tsan/deadlock_detector_stress_test.cc
est/tsan/deep_stack1.cc
est/tsan/deflake.bash
est/tsan/fd_location.cc
est/tsan/fd_pipe_race.cc
est/tsan/fd_stdout_race.cc
est/tsan/free_race.c
est/tsan/free_race2.c
est/tsan/global_race.cc
est/tsan/global_race2.cc
est/tsan/global_race3.cc
est/tsan/halt_on_error.cc
est/tsan/heap_race.cc
est/tsan/ignore_lib0.cc
est/tsan/ignore_lib1.cc
est/tsan/ignore_lib2.cc
est/tsan/ignore_lib3.cc
est/tsan/ignore_sync.cc
est/tsan/inlined_memcpy_race.cc
est/tsan/inlined_memcpy_race2.cc
est/tsan/java.h
est/tsan/java_alloc.cc
est/tsan/java_finalizer.cc
est/tsan/java_lock.cc
est/tsan/java_lock_move.cc
est/tsan/java_lock_rec.cc
est/tsan/java_lock_rec_race.cc
est/tsan/java_move_overlap.cc
est/tsan/java_move_overlap_race.cc
est/tsan/java_race.cc
est/tsan/java_race_move.cc
est/tsan/java_rwlock.cc
est/tsan/lit.cfg
est/tsan/load_shared_lib.cc
est/tsan/longjmp3.cc
est/tsan/longjmp4.cc
est/tsan/malloc_hook.cc
est/tsan/malloc_stack.cc
est/tsan/memcpy_race.cc
est/tsan/mop_with_offset.cc
est/tsan/mop_with_offset2.cc
est/tsan/mutex_bad_read_lock.cc
est/tsan/mutex_bad_read_unlock.cc
est/tsan/mutex_bad_unlock.cc
est/tsan/mutex_cycle2.c
est/tsan/mutex_destroy_locked.cc
est/tsan/mutex_double_lock.cc
est/tsan/mutex_robust2.cc
est/tsan/mutexset1.cc
est/tsan/mutexset2.cc
est/tsan/mutexset3.cc
est/tsan/mutexset4.cc
est/tsan/mutexset5.cc
est/tsan/mutexset6.cc
est/tsan/mutexset7.cc
est/tsan/mutexset8.cc
est/tsan/oob_race.cc
est/tsan/pthread_atfork_deadlock.c
est/tsan/race_on_barrier.c
est/tsan/race_on_barrier2.c
est/tsan/race_on_heap.cc
est/tsan/race_on_mutex.c
est/tsan/race_on_mutex2.c
est/tsan/race_on_puts.cc
est/tsan/race_on_read.cc
est/tsan/race_on_write.cc
est/tsan/race_with_finished_thread.cc
est/tsan/signal_errno.cc
est/tsan/signal_malloc.cc
est/tsan/sigsuspend.cc
est/tsan/simple_race.c
est/tsan/simple_race.cc
est/tsan/simple_stack.c
est/tsan/simple_stack2.cc
est/tsan/sleep_sync.cc
est/tsan/sleep_sync2.cc
est/tsan/stack_race.cc
est/tsan/stack_race2.cc
est/tsan/static_init3.cc
est/tsan/suppress_same_address.cc
est/tsan/suppress_same_stacks.cc
est/tsan/test_output.sh
est/tsan/thread_end_with_ignore.cc
est/tsan/thread_end_with_ignore2.cc
est/tsan/thread_end_with_ignore3.cc
est/tsan/thread_leak3.c
est/tsan/thread_leak5.c
est/tsan/thread_name.cc
est/tsan/thread_name2.cc
est/tsan/tiny_race.c
est/tsan/tls_race.cc
est/tsan/tls_race2.cc
est/tsan/unaligned_race.cc
est/tsan/vptr_harmful_race.cc
est/tsan/vptr_harmful_race2.cc
est/tsan/vptr_harmful_race3.cc
est/tsan/write_in_reader_lock.cc
est/ubsan/CMakeLists.txt
|
122ed0201e9031bb08c31a74c8cdf46293f98a5a |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
am 65e7b1d5: Merge "Refactor muldf3 and mulsf3." * commit '65e7b1d5aa3878e95eab8772d7c299660b8e7d0c': Refactor muldf3 and mulsf3.
|
74ef2b04eefdf4a6505324a620615060ec1eb90f |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
am dcf29578: Merge "Adds 128 bit floating point add, sub, and mul." * commit 'dcf295787dced288e41ac54d764a76fc0602f909': Adds 128 bit floating point add, sub, and mul.
|
8d33553caec68b16ae957afcc7290e9560d5a50c |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
am fb37fb71: Merge "Provide mul for IEEE quad. From GuanHong Liu." * commit 'fb37fb71a74a95de416eba4c33f275c037436d49': Provide mul for IEEE quad. From GuanHong Liu.
|
5ea7e931fd42bc96397a10ffe0d11b9c2cbb041a |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
am 5535e1fb: Merge "Provide add and sub for IEEE quad. From GuanHong Liu." * commit '5535e1fbd49fcce5a02c0b4f78642cfcee394588': Provide add and sub for IEEE quad. From GuanHong Liu.
|
743edbf52981c22fbe06414c012bd873cde88384 |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
am f302a1a7: Merge "Refactor addsf3.c and adddf3.c." * commit 'f302a1a74c171a3a05fd780b65e0859921393f95': Refactor addsf3.c and adddf3.c.
|
f302a1a74c171a3a05fd780b65e0859921393f95 |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Refactor addsf3.c and adddf3.c."
|
65e7b1d5aa3878e95eab8772d7c299660b8e7d0c |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Refactor muldf3 and mulsf3."
|
493844deb81978ef7fbcc09dd52dd7dca6858a98 |
28-May-2014 |
Joerg Sonnenberger <joerg@bec.de> |
Refactor muldf3 and mulsf3. Patch from: GuanHong Liu Differential Revision: http://reviews.llvm.org/D3886 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209741 91177308-0d34-0410-b5e6-96231b3b80d8
ib/builtins/fp_mul_impl.inc
ib/builtins/muldf3.c
ib/builtins/mulsf3.c
|
fb37fb71a74a95de416eba4c33f275c037436d49 |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Provide mul for IEEE quad. From GuanHong Liu."
|
5535e1fbd49fcce5a02c0b4f78642cfcee394588 |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Provide add and sub for IEEE quad. From GuanHong Liu."
|
dcf295787dced288e41ac54d764a76fc0602f909 |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Adds 128 bit floating point add, sub, and mul."
|
5c072a6a116bb58827d71e2eb70097e8d1c23193 |
20-Jun-2014 |
Dan Albert <danalbert@google.com> |
Adds 128 bit floating point add, sub, and mul. Taken from upstream. This just adds them to our build. Change-Id: Ia23716a56f91f2ae2648cdcadf8be627d308d4d0
ndroid.mk
|
a47385774e7c5a4387a37c5605c58f8e8f10207e |
19-Jun-2014 |
Joerg Sonnenberger <joerg@bec.de> |
Provide mul for IEEE quad. From GuanHong Liu. Differential Revision: http://reviews.llvm.org/D2799 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211313 91177308-0d34-0410-b5e6-96231b3b80d8
ib/builtins/CMakeLists.txt
ib/builtins/multf3.c
est/builtins/Unit/multf3_test.c
|
5a869d4603ce41572b6f2f9b5b2f305a16596e63 |
19-Jun-2014 |
Joerg Sonnenberger <joerg@bec.de> |
Provide add and sub for IEEE quad. From GuanHong Liu. Differential Revision: http://reviews.llvm.org/D2798 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211312 91177308-0d34-0410-b5e6-96231b3b80d8
ib/builtins/CMakeLists.txt
ib/builtins/addtf3.c
ib/builtins/subtf3.c
est/builtins/Unit/addtf3_test.c
est/builtins/Unit/subtf3_test.c
|
a9769988556ce9ea87a866666053b155984e9f2c |
28-May-2014 |
Joerg Sonnenberger <joerg@bec.de> |
Refactor addsf3.c and adddf3.c. Differential Revision: http://reviews.llvm.org/D3885 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209740 91177308-0d34-0410-b5e6-96231b3b80d8
ib/builtins/adddf3.c
ib/builtins/addsf3.c
ib/builtins/fp_add_impl.inc
|
b40092eb3cb4679827ef6bc6da005d580ca168c1 |
19-Jun-2014 |
Dan Albert <danalbert@google.com> |
am 6cf1c255: Merge "Adds long double comparison functions to the build." * commit '6cf1c2556415c4456890b71d35eb0da6479b817c': Adds long double comparison functions to the build.
|
6cf1c2556415c4456890b71d35eb0da6479b817c |
19-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Adds long double comparison functions to the build."
|
5148f96e201c3a60a8c029d8b2b48f40975d4cd9 |
19-Jun-2014 |
Dan Albert <danalbert@google.com> |
Adds long double comparison functions to the build. __unordtf2 is needed by libc++. Working for now because a bug in the libc++ build configuration is masking the issue. Change-Id: Ie7a313a5a627f15deb041b19adeff085d7224e69
ndroid.mk
|
b9c04cf53fc3023b9eacbb40810860ff487efe10 |
16-Jun-2014 |
Stephen Hines <srhines@google.com> |
am 547c7c6e: Merge "Swap getdtablesize() for sysconf(_SC_OPEN_MAX)." * commit '547c7c6e2e0fcbee5fed7ba1bf83c0d424a30b1c': Swap getdtablesize() for sysconf(_SC_OPEN_MAX).
|
547c7c6e2e0fcbee5fed7ba1bf83c0d424a30b1c |
16-Jun-2014 |
Stephen Hines <srhines@google.com> |
Merge "Swap getdtablesize() for sysconf(_SC_OPEN_MAX)."
|
904a109377c26cf6fba76662ae9d42fc45735c72 |
16-Jun-2014 |
Dan Albert <danalbert@google.com> |
Swap getdtablesize() for sysconf(_SC_OPEN_MAX). Bionic is no removing this as it was removed from POSIX 2004. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211027 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
e1e37e8a1e995183df920beca0d4496cc4f3e4d3 |
14-Jun-2014 |
Dan Albert <danalbert@google.com> |
am 5afa96ce: Merge "Exclude Android from the tests for valloc/pvalloc." * commit '5afa96cef8990f1937faec63182b80bbf58ee986': Exclude Android from the tests for valloc/pvalloc.
|
5afa96cef8990f1937faec63182b80bbf58ee986 |
14-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Exclude Android from the tests for valloc/pvalloc."
|
31a5cd83406be83bcdb91df03e16816e3af8c615 |
14-Jun-2014 |
Dan Albert <danalbert@google.com> |
Exclude Android from the tests for valloc/pvalloc. These functions are being removed from Android because they were removed from POSIX 2004. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210962 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/sanitizer_common/tests/sanitizer_test_utils.h
|
893bfc1f2b4225f1689995991b9d134e47bc6f7c |
06-Jun-2014 |
The Android Automerger <android-build@google.com> |
am ffeb7991: merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4 * commit 'ffeb7991ba2db2e9d86750e6df203d8ccda36759': Merge "Revert "Fix compilation issues on x86_64""
|
b42a7f82f0d5e6bec6d88cfb136efc5cbff578ae |
05-Jun-2014 |
Ian Rogers <irogers@google.com> |
am 7420ca57: Merge "Build host with multilib both enabled." * commit '7420ca57ff30fad487f2a0111c5cb2a7d7d1ea3c': Build host with multilib both enabled.
|
7420ca57ff30fad487f2a0111c5cb2a7d7d1ea3c |
05-Jun-2014 |
Ian Rogers <irogers@google.com> |
Merge "Build host with multilib both enabled."
|
a217f3e4ab712f0bbcf6f60c800fce3fabc99fd0 |
05-Jun-2014 |
Ian Rogers <irogers@google.com> |
Build host with multilib both enabled. Change-Id: Iee1abb30fee280ce1e7fd61fe74f877b79a6c2b1
ndroid.mk
|
f0fa5c23aac1a635f8523bc6849f33e8a3ef494c |
05-Jun-2014 |
Stephen Hines <srhines@google.com> |
am 201df20a: Merge "Remove\'s uses of sys/timeb.h for Android." * commit '201df20a2299d5b4e055337f6c600bf8ba532f5e': Remove's uses of sys/timeb.h for Android.
|
373c7a87ef89fd44ee7eb96bb060b4ceaecc948d |
05-Jun-2014 |
Stephen Hines <srhines@google.com> |
am 706625d6: Merge "Revert "Bionic is getting rid of sys/timeb.h"" * commit '706625d653c90b26036767b549e04aedfc54b08c': Revert "Bionic is getting rid of sys/timeb.h"
|
201df20a2299d5b4e055337f6c600bf8ba532f5e |
05-Jun-2014 |
Stephen Hines <srhines@google.com> |
Merge "Remove's uses of sys/timeb.h for Android."
|
706625d653c90b26036767b549e04aedfc54b08c |
05-Jun-2014 |
Stephen Hines <srhines@google.com> |
Merge "Revert "Bionic is getting rid of sys/timeb.h""
|
92f36fefebbf65930d49375c4c84aff6df313d29 |
05-Jun-2014 |
Dan Albert <danalbert@google.com> |
Remove's uses of sys/timeb.h for Android. Android is removing sys/timeb.h because it was removed in POSIX 2008. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210235 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
a797a50b31655503c19d8bf053a44eaabf2a882a |
05-Jun-2014 |
Stephen Hines <srhines@google.com> |
Revert "Bionic is getting rid of sys/timeb.h" This reverts commit f39cd2e44634e4839f8961966cdd7565b6801dbc.
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
4d95370ef91dce05de74eac0c4a63141b5f7c131 |
05-Jun-2014 |
Dan Albert <danalbert@google.com> |
am 83779084: Merge "Bionic is getting rid of sys/timeb.h" * commit '83779084e3dd383ff0dc84d4ffec4a5393461243': Bionic is getting rid of sys/timeb.h
|
83779084e3dd383ff0dc84d4ffec4a5393461243 |
05-Jun-2014 |
Dan Albert <danalbert@google.com> |
Merge "Bionic is getting rid of sys/timeb.h"
|
f39cd2e44634e4839f8961966cdd7565b6801dbc |
05-Jun-2014 |
Dan Albert <danalbert@google.com> |
Bionic is getting rid of sys/timeb.h This file has been removed from POSIX. Change-Id: I5dd31147143b23a090a3b75b846dc5354e599121
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
746410e4d9f4a2084795de328a8151a28681862b |
04-Jun-2014 |
Stephen Hines <srhines@google.com> |
am 45b777d0: Merge "[MIPS64] Enable mips64 build" * commit '45b777d0753cc4cb6765f2fc3ecb131b4ff6220f': [MIPS64] Enable mips64 build
|
45b777d0753cc4cb6765f2fc3ecb131b4ff6220f |
04-Jun-2014 |
Stephen Hines <srhines@google.com> |
Merge "[MIPS64] Enable mips64 build"
|
5b87b3dc7a3f90b393b6020e9dec79aa299b13c3 |
20-May-2014 |
Duane Sand <duane.sand@imgtec.com> |
[MIPS64] Enable mips64 build Change-Id: I9dc872ac4b0e3e9c0063ec44c0da7e2390788b46
ndroid.mk
|
c9811bc56f3c7624deec240b22511b6fb0fee5a9 |
31-May-2014 |
Stephen Hines <srhines@google.com> |
am ce888323: am ef4e7891: Merge "Update compiler-rt aosp/master for 3.5 (r209699) rebase." * commit 'ce888323c994d45668828fd4720617becef7a881': Update compiler-rt aosp/master for 3.5 (r209699) rebase.
|
ce888323c994d45668828fd4720617becef7a881 |
31-May-2014 |
Stephen Hines <srhines@google.com> |
am ef4e7891: Merge "Update compiler-rt aosp/master for 3.5 (r209699) rebase." * commit 'ef4e7891177322d128897f1376d9077eeba19436': Update compiler-rt aosp/master for 3.5 (r209699) rebase.
|
ef4e7891177322d128897f1376d9077eeba19436 |
31-May-2014 |
Stephen Hines <srhines@google.com> |
Merge "Update compiler-rt aosp/master for 3.5 (r209699) rebase."
|
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 |
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt aosp/master for 3.5 (r209699) rebase. Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
arcconfig
gitignore
ndroid.mk
locksRuntime/Block.h
locksRuntime/Block_private.h
locksRuntime/data.c
locksRuntime/runtime.c
locksRuntime/tests/block-static.c
locksRuntime/tests/blockimport.c
locksRuntime/tests/byrefaccess.c
locksRuntime/tests/byrefcopy.c
locksRuntime/tests/byrefcopycopy.c
locksRuntime/tests/byrefcopyinner.c
locksRuntime/tests/byrefcopyint.c
locksRuntime/tests/byrefcopystack.c
locksRuntime/tests/byrefsanity.c
locksRuntime/tests/byrefstruct.c
locksRuntime/tests/c99.c
locksRuntime/tests/cast.c
locksRuntime/tests/constassign.c
locksRuntime/tests/copy-block-literal-rdar6439600.c
locksRuntime/tests/copyconstructor.C
locksRuntime/tests/copynull.c
locksRuntime/tests/dispatch_async.c
locksRuntime/tests/dispatch_call_Block_with_release.c
locksRuntime/tests/fail.c
locksRuntime/tests/flagsisa.c
locksRuntime/tests/globalexpression.c
locksRuntime/tests/goto.c
locksRuntime/tests/hasdescriptor.c
locksRuntime/tests/josh.C
locksRuntime/tests/k-and-r.c
locksRuntime/tests/large-struct.c
locksRuntime/tests/localisglobal.c
locksRuntime/tests/macro.c
locksRuntime/tests/makefile
locksRuntime/tests/modglobal.c
locksRuntime/tests/nestedimport.c
locksRuntime/tests/nullblockisa.c
locksRuntime/tests/objectRRGC.c
locksRuntime/tests/objectassign.c
locksRuntime/tests/orbars.c
locksRuntime/tests/rdar6396238.c
locksRuntime/tests/rdar6405500.c
locksRuntime/tests/rdar6414583.c
locksRuntime/tests/recursive-block.c
locksRuntime/tests/recursive-test.c
locksRuntime/tests/recursiveassign.c
locksRuntime/tests/reference.C
locksRuntime/tests/rettypepromotion.c
locksRuntime/tests/returnfunctionptr.c
locksRuntime/tests/shorthandexpression.c
locksRuntime/tests/sizeof.c
locksRuntime/tests/small-struct.c
locksRuntime/tests/structmember.c
locksRuntime/tests/testfilerunner.h
locksRuntime/tests/testfilerunner.m
locksRuntime/tests/varargs-bad-assign.c
locksRuntime/tests/varargs.c
locksRuntime/tests/variadic.c
locksRuntime/tests/voidarg.c
MakeLists.txt
ODE_OWNERS.TXT
REDITS.TXT
ICENSE.TXT
akefile
EADME.txt
DKs/darwin/usr/include/inttypes.h
DKs/darwin/usr/include/stdio.h
DKs/darwin/usr/include/string.h
DKs/darwin/usr/include/sys/fcntl.h
DKs/linux/usr/include/stdio.h
ndroid/README.LLVM
ndroid/include/sys/ucontext.h
ndroid/include/ucontext.h
make/Modules/AddCompilerRT.cmake
make/Modules/CompilerRTCompile.cmake
make/Modules/CompilerRTLink.cmake
make/Modules/CompilerRTUtils.cmake
make/Modules/SanitizerUtils.cmake
make/config-ix.cmake
nclude/CMakeLists.txt
nclude/sanitizer/asan_interface.h
nclude/sanitizer/common_interface_defs.h
nclude/sanitizer/dfsan_interface.h
nclude/sanitizer/lsan_interface.h
nclude/sanitizer/msan_interface.h
nclude/sanitizer/tsan_interface_atomic.h
ib/BlocksRuntime/Block.h
ib/BlocksRuntime/Block_private.h
ib/BlocksRuntime/data.c
ib/BlocksRuntime/runtime.c
ib/CMakeLists.txt
ib/Makefile.mk
ib/absvdi2.c
ib/absvsi2.c
ib/absvti2.c
ib/adddf3.c
ib/addsf3.c
ib/addvdi3.c
ib/addvsi3.c
ib/addvti3.c
ib/apple_versioning.c
ib/arm/Makefile.mk
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/aeabi_dcmp.S
ib/arm/aeabi_fcmp.S
ib/arm/aeabi_idivmod.S
ib/arm/aeabi_ldivmod.S
ib/arm/aeabi_memcmp.S
ib/arm/aeabi_memcpy.S
ib/arm/aeabi_memmove.S
ib/arm/aeabi_memset.S
ib/arm/aeabi_uidivmod.S
ib/arm/aeabi_uldivmod.S
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
ib/arm/comparesf2.S
ib/arm/divdf3vfp.S
ib/arm/divmodsi4.S
ib/arm/divsf3vfp.S
ib/arm/divsi3.S
ib/arm/eqdf2vfp.S
ib/arm/eqsf2vfp.S
ib/arm/extendsfdf2vfp.S
ib/arm/fixdfsivfp.S
ib/arm/fixsfsivfp.S
ib/arm/fixunsdfsivfp.S
ib/arm/fixunssfsivfp.S
ib/arm/floatsidfvfp.S
ib/arm/floatsisfvfp.S
ib/arm/floatunssidfvfp.S
ib/arm/floatunssisfvfp.S
ib/arm/gedf2vfp.S
ib/arm/gesf2vfp.S
ib/arm/gtdf2vfp.S
ib/arm/gtsf2vfp.S
ib/arm/ledf2vfp.S
ib/arm/lesf2vfp.S
ib/arm/ltdf2vfp.S
ib/arm/ltsf2vfp.S
ib/arm/modsi3.S
ib/arm/muldf3vfp.S
ib/arm/mulsf3vfp.S
ib/arm/nedf2vfp.S
ib/arm/negdf2vfp.S
ib/arm/negsf2vfp.S
ib/arm/nesf2vfp.S
ib/arm/restore_vfp_d8_d15_regs.S
ib/arm/save_vfp_d8_d15_regs.S
ib/arm/softfloat-alias.list
ib/arm/subdf3vfp.S
ib/arm/subsf3vfp.S
ib/arm/switch16.S
ib/arm/switch32.S
ib/arm/switch8.S
ib/arm/switchu8.S
ib/arm/sync_synchronize.S
ib/arm/truncdfsf2vfp.S
ib/arm/udivmodsi4.S
ib/arm/udivsi3.S
ib/arm/umodsi3.S
ib/arm/unorddf2vfp.S
ib/arm/unordsf2vfp.S
ib/arm/vfp_alias.S
ib/asan/Android.mk
ib/asan/CMakeLists.txt
ib/asan/Makefile.mk
ib/asan/asan_activation.cc
ib/asan/asan_activation.h
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_asm_instrumentation.S
ib/asan/asan_blacklist.txt
ib/asan/asan_dll_thunk.cc
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_flags.h
ib/asan/asan_globals.cc
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_interface_internal.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_mapping.h
ib/asan/asan_new_delete.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_poisoning.h
ib/asan/asan_posix.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_stats.cc
ib/asan/asan_stats.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_win.cc
ib/asan/lit_tests/32bitConfig/lit.site.cfg.in
ib/asan/lit_tests/64bitConfig/lit.site.cfg.in
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/TestCases/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/TestCases/Darwin/lit.local.cfg
ib/asan/lit_tests/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
ib/asan/lit_tests/TestCases/Darwin/malloc_zone-protected.cc
ib/asan/lit_tests/TestCases/Darwin/reexec-insert-libraries-env.cc
ib/asan/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
ib/asan/lit_tests/TestCases/Helpers/blacklist-extra.cc
ib/asan/lit_tests/TestCases/Helpers/echo-env.cc
ib/asan/lit_tests/TestCases/Helpers/init-order-atexit-extra.cc
ib/asan/lit_tests/TestCases/Helpers/init-order-pthread-create-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-blacklist-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-blacklist-extra2.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-blacklist.txt
ib/asan/lit_tests/TestCases/Helpers/initialization-bug-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-bug-extra2.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-constexpr-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-nobug-extra.cc
ib/asan/lit_tests/TestCases/Helpers/lit.local.cfg
ib/asan/lit_tests/TestCases/Linux/asan_prelink_test.cc
ib/asan/lit_tests/TestCases/Linux/clone_test.cc
ib/asan/lit_tests/TestCases/Linux/coverage.cc
ib/asan/lit_tests/TestCases/Linux/glob.cc
ib/asan/lit_tests/TestCases/Linux/glob_test_root/aa
ib/asan/lit_tests/TestCases/Linux/glob_test_root/ab
ib/asan/lit_tests/TestCases/Linux/glob_test_root/ba
ib/asan/lit_tests/TestCases/Linux/heap-overflow-large.cc
ib/asan/lit_tests/TestCases/Linux/heavy_uar_test.cc
ib/asan/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/TestCases/Linux/interception_failure_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_malloc_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_readdir_r_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_test.cc
ib/asan/lit_tests/TestCases/Linux/interface_symbols_linux.c
ib/asan/lit_tests/TestCases/Linux/lit.local.cfg
ib/asan/lit_tests/TestCases/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
ib/asan/lit_tests/TestCases/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/preinit_test.cc
ib/asan/lit_tests/TestCases/Linux/ptrace.cc
ib/asan/lit_tests/TestCases/Linux/rlimit_mmap_test.cc
ib/asan/lit_tests/TestCases/Linux/swapcontext_test.cc
ib/asan/lit_tests/TestCases/Linux/syscalls.cc
ib/asan/lit_tests/TestCases/Linux/time_null_regtest.cc
ib/asan/lit_tests/TestCases/Linux/tsd_dtor_leak.cc
ib/asan/lit_tests/TestCases/Linux/uar_signals.cc
ib/asan/lit_tests/TestCases/Linux/unpoison_tls.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow32.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow64.cc
ib/asan/lit_tests/TestCases/SharedLibs/darwin-dummy-shared-lib-so.cc
ib/asan/lit_tests/TestCases/SharedLibs/dlclose-test-so.cc
ib/asan/lit_tests/TestCases/SharedLibs/init-order-dlopen-so.cc
ib/asan/lit_tests/TestCases/SharedLibs/lit.local.cfg
ib/asan/lit_tests/TestCases/SharedLibs/shared-lib-test-so.cc
ib/asan/lit_tests/TestCases/allocator_returns_null.cc
ib/asan/lit_tests/TestCases/allow_user_segv.cc
ib/asan/lit_tests/TestCases/asan-symbolize-sanity-test.cc
ib/asan/lit_tests/TestCases/assign_large_valloc_to_global.cc
ib/asan/lit_tests/TestCases/atexit_stats.cc
ib/asan/lit_tests/TestCases/blacklist.cc
ib/asan/lit_tests/TestCases/contiguous_container.cc
ib/asan/lit_tests/TestCases/current_allocated_bytes.cc
ib/asan/lit_tests/TestCases/deep_call_stack.cc
ib/asan/lit_tests/TestCases/deep_stack_uaf.cc
ib/asan/lit_tests/TestCases/deep_tail_call.cc
ib/asan/lit_tests/TestCases/deep_thread_stack.cc
ib/asan/lit_tests/TestCases/default_blacklist.cc
ib/asan/lit_tests/TestCases/default_options.cc
ib/asan/lit_tests/TestCases/dlclose-test.cc
ib/asan/lit_tests/TestCases/double-free.cc
ib/asan/lit_tests/TestCases/force_inline_opt0.cc
ib/asan/lit_tests/TestCases/free_hook_realloc.cc
ib/asan/lit_tests/TestCases/global-demangle.cc
ib/asan/lit_tests/TestCases/global-overflow.cc
ib/asan/lit_tests/TestCases/heap-overflow.cc
ib/asan/lit_tests/TestCases/huge_negative_hea_oob.cc
ib/asan/lit_tests/TestCases/init-order-atexit.cc
ib/asan/lit_tests/TestCases/init-order-dlopen.cc
ib/asan/lit_tests/TestCases/init-order-pthread-create.cc
ib/asan/lit_tests/TestCases/initialization-blacklist.cc
ib/asan/lit_tests/TestCases/initialization-bug.cc
ib/asan/lit_tests/TestCases/initialization-constexpr.cc
ib/asan/lit_tests/TestCases/initialization-nobug.cc
ib/asan/lit_tests/TestCases/inline.cc
ib/asan/lit_tests/TestCases/interface_test.cc
ib/asan/lit_tests/TestCases/invalid-free.cc
ib/asan/lit_tests/TestCases/ioctl.cc
ib/asan/lit_tests/TestCases/large_func_test.cc
ib/asan/lit_tests/TestCases/log-path_test.cc
ib/asan/lit_tests/TestCases/log_path_fork_test.cc.disabled
ib/asan/lit_tests/TestCases/lsan_annotations.cc
ib/asan/lit_tests/TestCases/malloc_context_size.cc
ib/asan/lit_tests/TestCases/malloc_fill.cc
ib/asan/lit_tests/TestCases/malloc_hook.cc
ib/asan/lit_tests/TestCases/memcmp_strict_test.cc
ib/asan/lit_tests/TestCases/memcmp_test.cc
ib/asan/lit_tests/TestCases/null_deref.cc
ib/asan/lit_tests/TestCases/on_error_callback.cc
ib/asan/lit_tests/TestCases/partial_right.cc
ib/asan/lit_tests/TestCases/poison_partial.cc
ib/asan/lit_tests/TestCases/print_summary.cc
ib/asan/lit_tests/TestCases/readv.cc
ib/asan/lit_tests/TestCases/sanity_check_pure_c.c
ib/asan/lit_tests/TestCases/shared-lib-test.cc
ib/asan/lit_tests/TestCases/sleep_before_dying.c
ib/asan/lit_tests/TestCases/stack-buffer-overflow-with-position.cc
ib/asan/lit_tests/TestCases/stack-frame-demangle.cc
ib/asan/lit_tests/TestCases/stack-oob-frames.cc
ib/asan/lit_tests/TestCases/stack-overflow.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
ib/asan/lit_tests/TestCases/strdup_oob_test.cc
ib/asan/lit_tests/TestCases/strerror_r_test.cc
ib/asan/lit_tests/TestCases/strip_path_prefix.c
ib/asan/lit_tests/TestCases/strncpy-overflow.cc
ib/asan/lit_tests/TestCases/symbolize_callback.cc
ib/asan/lit_tests/TestCases/throw_call_test.cc
ib/asan/lit_tests/TestCases/throw_invoke_test.cc
ib/asan/lit_tests/TestCases/time_interceptor.cc
ib/asan/lit_tests/TestCases/uar_and_exceptions.cc
ib/asan/lit_tests/TestCases/unaligned_loads_and_stores.cc
ib/asan/lit_tests/TestCases/use-after-free-right.cc
ib/asan/lit_tests/TestCases/use-after-free.cc
ib/asan/lit_tests/TestCases/use-after-poison.cc
ib/asan/lit_tests/TestCases/use-after-scope-dtor-order.cc
ib/asan/lit_tests/TestCases/use-after-scope-inlined.cc
ib/asan/lit_tests/TestCases/use-after-scope-nobug.cc
ib/asan/lit_tests/TestCases/use-after-scope-temp.cc
ib/asan/lit_tests/TestCases/use-after-scope.cc
ib/asan/lit_tests/TestCases/wait.cc
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/asan/lit_tests/lit.cfg
ib/asan/scripts/CMakeLists.txt
ib/asan/scripts/asan_device_setup
ib/asan/scripts/asan_symbolize.py
ib/asan/scripts/gen_asm_instrumentation.sh
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_asm_test.cc
ib/asan/tests/asan_fake_stack_test.cc
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_mem_test.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_oob_test.cc
ib/asan/tests/asan_racy_double_free_test.cc
ib/asan/tests/asan_str_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_config.h
ib/asan/tests/asan_test_utils.h
ib/ashldi3.c
ib/ashlti3.c
ib/ashrdi3.c
ib/ashrti3.c
ib/assembly.h
ib/atomic.c
ib/builtins/CMakeLists.txt
ib/builtins/Makefile.mk
ib/builtins/absvdi2.c
ib/builtins/absvsi2.c
ib/builtins/absvti2.c
ib/builtins/adddf3.c
ib/builtins/addsf3.c
ib/builtins/addvdi3.c
ib/builtins/addvsi3.c
ib/builtins/addvti3.c
ib/builtins/apple_versioning.c
ib/builtins/arm/Makefile.mk
ib/builtins/arm/adddf3vfp.S
ib/builtins/arm/addsf3vfp.S
ib/builtins/arm/aeabi_dcmp.S
ib/builtins/arm/aeabi_fcmp.S
ib/builtins/arm/aeabi_idivmod.S
ib/builtins/arm/aeabi_ldivmod.S
ib/builtins/arm/aeabi_memcmp.S
ib/builtins/arm/aeabi_memcpy.S
ib/builtins/arm/aeabi_memmove.S
ib/builtins/arm/aeabi_memset.S
ib/builtins/arm/aeabi_uidivmod.S
ib/builtins/arm/aeabi_uldivmod.S
ib/builtins/arm/bswapdi2.S
ib/builtins/arm/bswapsi2.S
ib/builtins/arm/clzdi2.S
ib/builtins/arm/clzsi2.S
ib/builtins/arm/comparesf2.S
ib/builtins/arm/divdf3vfp.S
ib/builtins/arm/divmodsi4.S
ib/builtins/arm/divsf3vfp.S
ib/builtins/arm/divsi3.S
ib/builtins/arm/eqdf2vfp.S
ib/builtins/arm/eqsf2vfp.S
ib/builtins/arm/extendsfdf2vfp.S
ib/builtins/arm/fixdfsivfp.S
ib/builtins/arm/fixsfsivfp.S
ib/builtins/arm/fixunsdfsivfp.S
ib/builtins/arm/fixunssfsivfp.S
ib/builtins/arm/floatsidfvfp.S
ib/builtins/arm/floatsisfvfp.S
ib/builtins/arm/floatunssidfvfp.S
ib/builtins/arm/floatunssisfvfp.S
ib/builtins/arm/gedf2vfp.S
ib/builtins/arm/gesf2vfp.S
ib/builtins/arm/gtdf2vfp.S
ib/builtins/arm/gtsf2vfp.S
ib/builtins/arm/ledf2vfp.S
ib/builtins/arm/lesf2vfp.S
ib/builtins/arm/ltdf2vfp.S
ib/builtins/arm/ltsf2vfp.S
ib/builtins/arm/modsi3.S
ib/builtins/arm/muldf3vfp.S
ib/builtins/arm/mulsf3vfp.S
ib/builtins/arm/nedf2vfp.S
ib/builtins/arm/negdf2vfp.S
ib/builtins/arm/negsf2vfp.S
ib/builtins/arm/nesf2vfp.S
ib/builtins/arm/restore_vfp_d8_d15_regs.S
ib/builtins/arm/save_vfp_d8_d15_regs.S
ib/builtins/arm/softfloat-alias.list
ib/builtins/arm/subdf3vfp.S
ib/builtins/arm/subsf3vfp.S
ib/builtins/arm/switch16.S
ib/builtins/arm/switch32.S
ib/builtins/arm/switch8.S
ib/builtins/arm/switchu8.S
ib/builtins/arm/sync-ops.h
ib/builtins/arm/sync_fetch_and_add_4.S
ib/builtins/arm/sync_fetch_and_add_8.S
ib/builtins/arm/sync_fetch_and_and_4.S
ib/builtins/arm/sync_fetch_and_and_8.S
ib/builtins/arm/sync_fetch_and_max_4.S
ib/builtins/arm/sync_fetch_and_max_8.S
ib/builtins/arm/sync_fetch_and_min_4.S
ib/builtins/arm/sync_fetch_and_min_8.S
ib/builtins/arm/sync_fetch_and_nand_4.S
ib/builtins/arm/sync_fetch_and_nand_8.S
ib/builtins/arm/sync_fetch_and_or_4.S
ib/builtins/arm/sync_fetch_and_or_8.S
ib/builtins/arm/sync_fetch_and_sub_4.S
ib/builtins/arm/sync_fetch_and_sub_8.S
ib/builtins/arm/sync_fetch_and_umax_4.S
ib/builtins/arm/sync_fetch_and_umax_8.S
ib/builtins/arm/sync_fetch_and_umin_4.S
ib/builtins/arm/sync_fetch_and_umin_8.S
ib/builtins/arm/sync_fetch_and_xor_4.S
ib/builtins/arm/sync_fetch_and_xor_8.S
ib/builtins/arm/sync_synchronize.S
ib/builtins/arm/truncdfsf2vfp.S
ib/builtins/arm/udivmodsi4.S
ib/builtins/arm/udivsi3.S
ib/builtins/arm/umodsi3.S
ib/builtins/arm/unorddf2vfp.S
ib/builtins/arm/unordsf2vfp.S
ib/builtins/arm/vfp_alias.S
ib/builtins/ashldi3.c
ib/builtins/ashlti3.c
ib/builtins/ashrdi3.c
ib/builtins/ashrti3.c
ib/builtins/assembly.h
ib/builtins/atomic.c
ib/builtins/clear_cache.c
ib/builtins/clzdi2.c
ib/builtins/clzsi2.c
ib/builtins/clzti2.c
ib/builtins/cmpdi2.c
ib/builtins/cmpti2.c
ib/builtins/comparedf2.c
ib/builtins/comparesf2.c
ib/builtins/comparetf2.c
ib/builtins/ctzdi2.c
ib/builtins/ctzsi2.c
ib/builtins/ctzti2.c
ib/builtins/divdc3.c
ib/builtins/divdf3.c
ib/builtins/divdi3.c
ib/builtins/divmoddi4.c
ib/builtins/divmodsi4.c
ib/builtins/divsc3.c
ib/builtins/divsf3.c
ib/builtins/divsi3.c
ib/builtins/divti3.c
ib/builtins/divxc3.c
ib/builtins/enable_execute_stack.c
ib/builtins/eprintf.c
ib/builtins/extendsfdf2.c
ib/builtins/ffsdi2.c
ib/builtins/ffsti2.c
ib/builtins/fixdfdi.c
ib/builtins/fixdfsi.c
ib/builtins/fixdfti.c
ib/builtins/fixsfdi.c
ib/builtins/fixsfsi.c
ib/builtins/fixsfti.c
ib/builtins/fixunsdfdi.c
ib/builtins/fixunsdfsi.c
ib/builtins/fixunsdfti.c
ib/builtins/fixunssfdi.c
ib/builtins/fixunssfsi.c
ib/builtins/fixunssfti.c
ib/builtins/fixunsxfdi.c
ib/builtins/fixunsxfsi.c
ib/builtins/fixunsxfti.c
ib/builtins/fixxfdi.c
ib/builtins/fixxfti.c
ib/builtins/floatdidf.c
ib/builtins/floatdisf.c
ib/builtins/floatdixf.c
ib/builtins/floatsidf.c
ib/builtins/floatsisf.c
ib/builtins/floattidf.c
ib/builtins/floattisf.c
ib/builtins/floattixf.c
ib/builtins/floatundidf.c
ib/builtins/floatundisf.c
ib/builtins/floatundixf.c
ib/builtins/floatunsidf.c
ib/builtins/floatunsisf.c
ib/builtins/floatuntidf.c
ib/builtins/floatuntisf.c
ib/builtins/floatuntixf.c
ib/builtins/fp_lib.h
ib/builtins/gcc_personality_v0.c
ib/builtins/i386/Makefile.mk
ib/builtins/i386/ashldi3.S
ib/builtins/i386/ashrdi3.S
ib/builtins/i386/divdi3.S
ib/builtins/i386/floatdidf.S
ib/builtins/i386/floatdisf.S
ib/builtins/i386/floatdixf.S
ib/builtins/i386/floatundidf.S
ib/builtins/i386/floatundisf.S
ib/builtins/i386/floatundixf.S
ib/builtins/i386/lshrdi3.S
ib/builtins/i386/moddi3.S
ib/builtins/i386/muldi3.S
ib/builtins/i386/udivdi3.S
ib/builtins/i386/umoddi3.S
ib/builtins/int_endianness.h
ib/builtins/int_lib.h
ib/builtins/int_math.h
ib/builtins/int_types.h
ib/builtins/int_util.c
ib/builtins/int_util.h
ib/builtins/lshrdi3.c
ib/builtins/lshrti3.c
ib/builtins/moddi3.c
ib/builtins/modsi3.c
ib/builtins/modti3.c
ib/builtins/muldc3.c
ib/builtins/muldf3.c
ib/builtins/muldi3.c
ib/builtins/mulodi4.c
ib/builtins/mulosi4.c
ib/builtins/muloti4.c
ib/builtins/mulsc3.c
ib/builtins/mulsf3.c
ib/builtins/multi3.c
ib/builtins/mulvdi3.c
ib/builtins/mulvsi3.c
ib/builtins/mulvti3.c
ib/builtins/mulxc3.c
ib/builtins/negdf2.c
ib/builtins/negdi2.c
ib/builtins/negsf2.c
ib/builtins/negti2.c
ib/builtins/negvdi2.c
ib/builtins/negvsi2.c
ib/builtins/negvti2.c
ib/builtins/paritydi2.c
ib/builtins/paritysi2.c
ib/builtins/parityti2.c
ib/builtins/popcountdi2.c
ib/builtins/popcountsi2.c
ib/builtins/popcountti2.c
ib/builtins/powidf2.c
ib/builtins/powisf2.c
ib/builtins/powitf2.c
ib/builtins/powixf2.c
ib/builtins/ppc/DD.h
ib/builtins/ppc/Makefile.mk
ib/builtins/ppc/divtc3.c
ib/builtins/ppc/fixtfdi.c
ib/builtins/ppc/fixunstfdi.c
ib/builtins/ppc/floatditf.c
ib/builtins/ppc/floatunditf.c
ib/builtins/ppc/gcc_qadd.c
ib/builtins/ppc/gcc_qdiv.c
ib/builtins/ppc/gcc_qmul.c
ib/builtins/ppc/gcc_qsub.c
ib/builtins/ppc/multc3.c
ib/builtins/ppc/restFP.S
ib/builtins/ppc/saveFP.S
ib/builtins/subdf3.c
ib/builtins/subsf3.c
ib/builtins/subvdi3.c
ib/builtins/subvsi3.c
ib/builtins/subvti3.c
ib/builtins/trampoline_setup.c
ib/builtins/truncdfsf2.c
ib/builtins/ucmpdi2.c
ib/builtins/ucmpti2.c
ib/builtins/udivdi3.c
ib/builtins/udivmoddi4.c
ib/builtins/udivmodsi4.c
ib/builtins/udivmodti4.c
ib/builtins/udivsi3.c
ib/builtins/udivti3.c
ib/builtins/umoddi3.c
ib/builtins/umodsi3.c
ib/builtins/umodti3.c
ib/builtins/x86_64/Makefile.mk
ib/builtins/x86_64/floatdidf.c
ib/builtins/x86_64/floatdisf.c
ib/builtins/x86_64/floatdixf.c
ib/builtins/x86_64/floatundidf.S
ib/builtins/x86_64/floatundisf.S
ib/builtins/x86_64/floatundixf.S
ib/clear_cache.c
ib/clzdi2.c
ib/clzsi2.c
ib/clzti2.c
ib/cmpdi2.c
ib/cmpti2.c
ib/comparedf2.c
ib/comparesf2.c
ib/ctzdi2.c
ib/ctzsi2.c
ib/ctzti2.c
ib/dfsan/CMakeLists.txt
ib/dfsan/dfsan.cc
ib/dfsan/dfsan.h
ib/dfsan/dfsan_custom.cc
ib/dfsan/done_abilist.txt
ib/dfsan/lit_tests/CMakeLists.txt
ib/dfsan/lit_tests/Inputs/flags_abilist.txt
ib/dfsan/lit_tests/basic.c
ib/dfsan/lit_tests/custom.c
ib/dfsan/lit_tests/flags.c
ib/dfsan/lit_tests/fncall.c
ib/dfsan/lit_tests/lit.cfg
ib/dfsan/lit_tests/lit.site.cfg.in
ib/dfsan/lit_tests/propagate.c
ib/dfsan/scripts/build-libc-list.py
ib/dfsan/scripts/check_custom_wrappers.sh
ib/divdc3.c
ib/divdf3.c
ib/divdi3.c
ib/divmoddi4.c
ib/divmodsi4.c
ib/divsc3.c
ib/divsf3.c
ib/divsi3.c
ib/divti3.c
ib/divxc3.c
ib/enable_execute_stack.c
ib/eprintf.c
ib/extendsfdf2.c
ib/ffsdi2.c
ib/ffsti2.c
ib/fixdfdi.c
ib/fixdfsi.c
ib/fixdfti.c
ib/fixsfdi.c
ib/fixsfsi.c
ib/fixsfti.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunsdfti.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/fixunssfti.c
ib/fixunsxfdi.c
ib/fixunsxfsi.c
ib/fixunsxfti.c
ib/fixxfdi.c
ib/fixxfti.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatdixf.c
ib/floatsidf.c
ib/floatsisf.c
ib/floattidf.c
ib/floattisf.c
ib/floattixf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatundixf.c
ib/floatunsidf.c
ib/floatunsisf.c
ib/floatuntidf.c
ib/floatuntisf.c
ib/floatuntixf.c
ib/fp_lib.h
ib/gcc_personality_v0.c
ib/i386/Makefile.mk
ib/i386/ashldi3.S
ib/i386/ashrdi3.S
ib/i386/divdi3.S
ib/i386/floatdidf.S
ib/i386/floatdisf.S
ib/i386/floatdixf.S
ib/i386/floatundidf.S
ib/i386/floatundisf.S
ib/i386/floatundixf.S
ib/i386/lshrdi3.S
ib/i386/moddi3.S
ib/i386/muldi3.S
ib/i386/udivdi3.S
ib/i386/umoddi3.S
ib/int_endianness.h
ib/int_lib.h
ib/int_math.h
ib/int_types.h
ib/int_util.c
ib/int_util.h
ib/interception/CMakeLists.txt
ib/interception/interception.h
ib/interception/interception_linux.cc
ib/interception/interception_linux.h
ib/interception/interception_type_test.cc
ib/interception/interception_win.cc
ib/lit.common.cfg
ib/lit.common.configured.in
ib/lit.common.unit.cfg
ib/lit.common.unit.configured.in
ib/lsan/CMakeLists.txt
ib/lsan/lit_tests/AsanConfig/lit.cfg
ib/lsan/lit_tests/AsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/CMakeLists.txt
ib/lsan/lit_tests/LsanConfig/lit.cfg
ib/lsan/lit_tests/LsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/TestCases/SharedLibs/huge_tls_lib_so.cc
ib/lsan/lit_tests/TestCases/SharedLibs/lit.local.cfg
ib/lsan/lit_tests/TestCases/cleanup_in_tsd_destructor.cc
ib/lsan/lit_tests/TestCases/disabler.cc
ib/lsan/lit_tests/TestCases/disabler_in_tsd_destructor.cc
ib/lsan/lit_tests/TestCases/do_leak_check_override.cc
ib/lsan/lit_tests/TestCases/fork.cc
ib/lsan/lit_tests/TestCases/fork_threaded.cc
ib/lsan/lit_tests/TestCases/high_allocator_contention.cc
ib/lsan/lit_tests/TestCases/ignore_object.cc
ib/lsan/lit_tests/TestCases/ignore_object_errors.cc
ib/lsan/lit_tests/TestCases/large_allocation_leak.cc
ib/lsan/lit_tests/TestCases/leak_check_at_exit.cc
ib/lsan/lit_tests/TestCases/link_turned_off.cc
ib/lsan/lit_tests/TestCases/pointer_to_self.cc
ib/lsan/lit_tests/TestCases/sanity_check_pure_c.c
ib/lsan/lit_tests/TestCases/stale_stack_leak.cc
ib/lsan/lit_tests/TestCases/suppressions_default.cc
ib/lsan/lit_tests/TestCases/suppressions_file.cc
ib/lsan/lit_tests/TestCases/suppressions_file.cc.supp
ib/lsan/lit_tests/TestCases/swapcontext.cc
ib/lsan/lit_tests/TestCases/use_after_return.cc
ib/lsan/lit_tests/TestCases/use_globals_initialized.cc
ib/lsan/lit_tests/TestCases/use_globals_uninitialized.cc
ib/lsan/lit_tests/TestCases/use_registers.cc
ib/lsan/lit_tests/TestCases/use_stacks.cc
ib/lsan/lit_tests/TestCases/use_stacks_threaded.cc
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/TestCases/use_tls_static.cc
ib/lsan/lit_tests/TestCases/use_unaligned.cc
ib/lsan/lit_tests/Unit/lit.site.cfg.in
ib/lsan/lit_tests/lit.common.cfg
ib/lsan/lsan.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_common_linux.cc
ib/lsan/lsan_interceptors.cc
ib/lsan/tests/CMakeLists.txt
ib/lsan/tests/lsan_dummy_unittest.cc
ib/lsan/tests/lsan_testlib.cc
ib/lshrdi3.c
ib/lshrti3.c
ib/moddi3.c
ib/modsi3.c
ib/modti3.c
ib/msan/CMakeLists.txt
ib/msan/lit_tests/CMakeLists.txt
ib/msan/lit_tests/Linux/glob.cc
ib/msan/lit_tests/Linux/glob_altdirfunc.cc
ib/msan/lit_tests/Linux/glob_nomatch.cc
ib/msan/lit_tests/Linux/glob_test_root/aa
ib/msan/lit_tests/Linux/glob_test_root/ab
ib/msan/lit_tests/Linux/glob_test_root/ba
ib/msan/lit_tests/Linux/lit.local.cfg
ib/msan/lit_tests/Linux/syscalls.cc
ib/msan/lit_tests/Linux/tcgetattr.cc
ib/msan/lit_tests/SharedLibs/dso-origin-so.cc
ib/msan/lit_tests/SharedLibs/dso-origin.h
ib/msan/lit_tests/SharedLibs/lit.local.cfg
ib/msan/lit_tests/Unit/lit.site.cfg.in
ib/msan/lit_tests/allocator_returns_null.cc
ib/msan/lit_tests/backtrace.cc
ib/msan/lit_tests/c-strdup.c
ib/msan/lit_tests/cxa_atexit.cc
ib/msan/lit_tests/default_blacklist.cc
ib/msan/lit_tests/dlerror.cc
ib/msan/lit_tests/dso-origin.cc
ib/msan/lit_tests/errno.cc
ib/msan/lit_tests/getaddrinfo-positive.cc
ib/msan/lit_tests/getaddrinfo.cc
ib/msan/lit_tests/getline.cc
ib/msan/lit_tests/getline_test_data
ib/msan/lit_tests/heap-origin.cc
ib/msan/lit_tests/initgroups.cc
ib/msan/lit_tests/inline.cc
ib/msan/lit_tests/insertvalue_origin.cc
ib/msan/lit_tests/ioctl.cc
ib/msan/lit_tests/ioctl_custom.cc
ib/msan/lit_tests/keep-going-dso.cc
ib/msan/lit_tests/keep-going.cc
ib/msan/lit_tests/lit.cfg
ib/msan/lit_tests/lit.site.cfg.in
ib/msan/lit_tests/malloc_hook.cc
ib/msan/lit_tests/no_sanitize_memory.cc
ib/msan/lit_tests/no_sanitize_memory_prop.cc
ib/msan/lit_tests/poison_in_free.cc
ib/msan/lit_tests/ptrace.cc
ib/msan/lit_tests/readdir64.cc
ib/msan/lit_tests/scandir.cc
ib/msan/lit_tests/scandir_null.cc
ib/msan/lit_tests/scandir_test_root/aaa
ib/msan/lit_tests/scandir_test_root/aab
ib/msan/lit_tests/scandir_test_root/bbb
ib/msan/lit_tests/select.cc
ib/msan/lit_tests/setlocale.cc
ib/msan/lit_tests/signal_stress_test.cc
ib/msan/lit_tests/sigwait.cc
ib/msan/lit_tests/sigwaitinfo.cc
ib/msan/lit_tests/stack-origin.cc
ib/msan/lit_tests/sync_lock_set_and_test.cc
ib/msan/lit_tests/tzset.cc
ib/msan/lit_tests/unaligned_read_origin.cc
ib/msan/lit_tests/use-after-free.cc
ib/msan/lit_tests/vector_cvt.cc
ib/msan/lit_tests/vector_select.cc
ib/msan/lit_tests/wrap_indirect_calls.cc
ib/msan/lit_tests/wrap_indirect_calls/caller.cc
ib/msan/lit_tests/wrap_indirect_calls/lit.local.cfg
ib/msan/lit_tests/wrap_indirect_calls/one.cc
ib/msan/lit_tests/wrap_indirect_calls/two.cc
ib/msan/lit_tests/wrap_indirect_calls/wrapper.cc
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_allocator.cc
ib/msan/msan_allocator.h
ib/msan/msan_chained_origin_depot.cc
ib/msan/msan_chained_origin_depot.h
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
ib/msan/msan_linux.cc
ib/msan/msan_new_delete.cc
ib/msan/msan_origin.h
ib/msan/msan_report.cc
ib/msan/msan_thread.cc
ib/msan/msan_thread.h
ib/msan/tests/CMakeLists.txt
ib/msan/tests/msan_test.cc
ib/msandr/msandr.cc
ib/muldc3.c
ib/muldf3.c
ib/muldi3.c
ib/mulodi4.c
ib/mulosi4.c
ib/muloti4.c
ib/mulsc3.c
ib/mulsf3.c
ib/multi3.c
ib/mulvdi3.c
ib/mulvsi3.c
ib/mulvti3.c
ib/mulxc3.c
ib/negdf2.c
ib/negdi2.c
ib/negsf2.c
ib/negti2.c
ib/negvdi2.c
ib/negvsi2.c
ib/negvti2.c
ib/paritydi2.c
ib/paritysi2.c
ib/parityti2.c
ib/popcountdi2.c
ib/popcountsi2.c
ib/popcountti2.c
ib/powidf2.c
ib/powisf2.c
ib/powitf2.c
ib/powixf2.c
ib/ppc/DD.h
ib/ppc/Makefile.mk
ib/ppc/divtc3.c
ib/ppc/fixtfdi.c
ib/ppc/fixunstfdi.c
ib/ppc/floatditf.c
ib/ppc/floatunditf.c
ib/ppc/gcc_qadd.c
ib/ppc/gcc_qdiv.c
ib/ppc/gcc_qmul.c
ib/ppc/gcc_qsub.c
ib/ppc/multc3.c
ib/ppc/restFP.S
ib/ppc/saveFP.S
ib/profile/CMakeLists.txt
ib/profile/GCDAProfiling.c
ib/profile/InstrProfiling.c
ib/profile/InstrProfiling.h
ib/profile/InstrProfilingBuffer.c
ib/profile/InstrProfilingFile.c
ib/profile/InstrProfilingPlatformDarwin.c
ib/profile/InstrProfilingPlatformOther.c
ib/profile/InstrProfilingRuntime.cc
ib/profile/Makefile.mk
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_addrhashmap.h
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_allocator_internal.h
ib/sanitizer_common/sanitizer_asm.h
ib/sanitizer_common/sanitizer_atomic.h
ib/sanitizer_common/sanitizer_atomic_clang.h
ib/sanitizer_common/sanitizer_atomic_clang_other.h
ib/sanitizer_common/sanitizer_atomic_clang_x86.h
ib/sanitizer_common/sanitizer_atomic_msvc.h
ib/sanitizer_common/sanitizer_bitvector.h
ib/sanitizer_common/sanitizer_bvgraph.h
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_format.inc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/sanitizer_common_libcdep.cc
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_coverage.cc
ib/sanitizer_common/sanitizer_coverage_libcdep.cc
ib/sanitizer_common/sanitizer_coverage_mapping_libcdep.cc
ib/sanitizer_common/sanitizer_deadlock_detector.h
ib/sanitizer_common/sanitizer_deadlock_detector1.cc
ib/sanitizer_common/sanitizer_deadlock_detector2.cc
ib/sanitizer_common/sanitizer_deadlock_detector_interface.h
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
ib/sanitizer_common/sanitizer_interception.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_libignore.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_list.h
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_mac.h
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/sanitizer_persistent_allocator.cc
ib/sanitizer_common/sanitizer_persistent_allocator.h
ib/sanitizer_common/sanitizer_platform.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_posix_libcdep.cc
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_procmaps_linux.cc
ib/sanitizer_common/sanitizer_procmaps_mac.cc
ib/sanitizer_common/sanitizer_report_decorator.h
ib/sanitizer_common/sanitizer_stackdepot.cc
ib/sanitizer_common/sanitizer_stackdepot.h
ib/sanitizer_common/sanitizer_stackdepotbase.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
ib/sanitizer_common/sanitizer_suppressions.cc
ib/sanitizer_common/sanitizer_suppressions.h
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
ib/sanitizer_common/sanitizer_symbolizer_libbacktrace.h
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/sanitizer_common/sanitizer_syscall_generic.inc
ib/sanitizer_common/sanitizer_syscall_linux_x86_64.inc
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
ib/sanitizer_common/sanitizer_tls_get_addr.cc
ib/sanitizer_common/sanitizer_tls_get_addr.h
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/scripts/check_lint.sh
ib/sanitizer_common/scripts/cpplint.py
ib/sanitizer_common/scripts/gen_dynamic_list.py
ib/sanitizer_common/scripts/litlint.py
ib/sanitizer_common/scripts/litlint_test.py
ib/sanitizer_common/scripts/sancov.py
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/lit.site.cfg.in
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/sanitizer_common/tests/sanitizer_allocator_testlib.cc
ib/sanitizer_common/tests/sanitizer_atomic_test.cc
ib/sanitizer_common/tests/sanitizer_bitvector_test.cc
ib/sanitizer_common/tests/sanitizer_bvgraph_test.cc
ib/sanitizer_common/tests/sanitizer_common_test.cc
ib/sanitizer_common/tests/sanitizer_deadlock_detector_test.cc
ib/sanitizer_common/tests/sanitizer_flags_test.cc
ib/sanitizer_common/tests/sanitizer_format_interceptor_test.cc
ib/sanitizer_common/tests/sanitizer_ioctl_test.cc
ib/sanitizer_common/tests/sanitizer_libc_test.cc
ib/sanitizer_common/tests/sanitizer_mutex_test.cc
ib/sanitizer_common/tests/sanitizer_printf_test.cc
ib/sanitizer_common/tests/sanitizer_procmaps_test.cc
ib/sanitizer_common/tests/sanitizer_pthread_wrappers.h
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
ib/sanitizer_common/tests/sanitizer_suppressions_test.cc
ib/sanitizer_common/tests/sanitizer_test_config.h
ib/sanitizer_common/tests/sanitizer_test_utils.h
ib/sanitizer_common/tests/sanitizer_thread_registry_test.cc
ib/subdf3.c
ib/subsf3.c
ib/subvdi3.c
ib/subvsi3.c
ib/subvti3.c
ib/trampoline_setup.c
ib/truncdfsf2.c
ib/tsan/CMakeLists.txt
ib/tsan/Makefile.old
ib/tsan/check_memcpy.sh
ib/tsan/dd/CMakeLists.txt
ib/tsan/dd/dd_interceptors.cc
ib/tsan/dd/dd_rtl.cc
ib/tsan/dd/dd_rtl.h
ib/tsan/go/build.bat
ib/tsan/go/buildgo.sh
ib/tsan/go/test.c
ib/tsan/go/tsan_go.cc
ib/tsan/lit_tests/CMakeLists.txt
ib/tsan/lit_tests/Helpers/blacklist.txt
ib/tsan/lit_tests/Helpers/lit.local.cfg
ib/tsan/lit_tests/SharedLibs/lit.local.cfg
ib/tsan/lit_tests/SharedLibs/load_shared_lib-so.cc
ib/tsan/lit_tests/Unit/lit.cfg
ib/tsan/lit_tests/Unit/lit.site.cfg.in
ib/tsan/lit_tests/aligned_vs_unaligned_race.cc
ib/tsan/lit_tests/allocator_returns_null.cc
ib/tsan/lit_tests/atomic_free.cc
ib/tsan/lit_tests/atomic_free2.cc
ib/tsan/lit_tests/atomic_norace.cc
ib/tsan/lit_tests/atomic_race.cc
ib/tsan/lit_tests/atomic_stack.cc
ib/tsan/lit_tests/benign_race.cc
ib/tsan/lit_tests/blacklist.cc
ib/tsan/lit_tests/cond.c
ib/tsan/lit_tests/cond_race.cc
ib/tsan/lit_tests/cond_version.c
ib/tsan/lit_tests/deep_stack1.cc
ib/tsan/lit_tests/default_options.cc
ib/tsan/lit_tests/fd_close_norace.cc
ib/tsan/lit_tests/fd_close_norace2.cc
ib/tsan/lit_tests/fd_dup_norace.cc
ib/tsan/lit_tests/fd_location.cc
ib/tsan/lit_tests/fd_pipe_norace.cc
ib/tsan/lit_tests/fd_pipe_race.cc
ib/tsan/lit_tests/fd_socket_connect_norace.cc
ib/tsan/lit_tests/fd_socket_norace.cc
ib/tsan/lit_tests/fd_socketpair_norace.cc
ib/tsan/lit_tests/fd_stdout_race.cc
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/free_race.c.supp
ib/tsan/lit_tests/free_race2.c
ib/tsan/lit_tests/global_race.cc
ib/tsan/lit_tests/halt_on_error.cc
ib/tsan/lit_tests/heap_race.cc
ib/tsan/lit_tests/ignore_free.cc
ib/tsan/lit_tests/ignore_lib0.cc
ib/tsan/lit_tests/ignore_lib0.cc.supp
ib/tsan/lit_tests/ignore_lib1.cc
ib/tsan/lit_tests/ignore_lib1.cc.supp
ib/tsan/lit_tests/ignore_lib2.cc
ib/tsan/lit_tests/ignore_lib2.cc.supp
ib/tsan/lit_tests/ignore_lib3.cc
ib/tsan/lit_tests/ignore_lib3.cc.supp
ib/tsan/lit_tests/ignore_lib_lib.h
ib/tsan/lit_tests/ignore_malloc.cc
ib/tsan/lit_tests/ignore_race.cc
ib/tsan/lit_tests/ignore_sync.cc
ib/tsan/lit_tests/inlined_memcpy_race.cc
ib/tsan/lit_tests/java.h
ib/tsan/lit_tests/java_alloc.cc
ib/tsan/lit_tests/java_lock.cc
ib/tsan/lit_tests/java_lock_move.cc
ib/tsan/lit_tests/java_lock_rec.cc
ib/tsan/lit_tests/java_lock_rec_race.cc
ib/tsan/lit_tests/java_race.cc
ib/tsan/lit_tests/java_race_move.cc
ib/tsan/lit_tests/java_rwlock.cc
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/lit.site.cfg.in
ib/tsan/lit_tests/load_shared_lib.cc
ib/tsan/lit_tests/longjmp.cc
ib/tsan/lit_tests/longjmp2.cc
ib/tsan/lit_tests/longjmp3.cc
ib/tsan/lit_tests/longjmp4.cc
ib/tsan/lit_tests/malloc_overflow.cc
ib/tsan/lit_tests/malloc_stack.cc
ib/tsan/lit_tests/memcpy_race.cc
ib/tsan/lit_tests/mop_with_offset.cc
ib/tsan/lit_tests/mop_with_offset2.cc
ib/tsan/lit_tests/mutex_destroy_locked.cc
ib/tsan/lit_tests/mutex_robust.cc
ib/tsan/lit_tests/mutex_robust2.cc
ib/tsan/lit_tests/mutexset1.cc
ib/tsan/lit_tests/mutexset2.cc
ib/tsan/lit_tests/mutexset3.cc
ib/tsan/lit_tests/mutexset4.cc
ib/tsan/lit_tests/mutexset5.cc
ib/tsan/lit_tests/mutexset6.cc
ib/tsan/lit_tests/mutexset7.cc
ib/tsan/lit_tests/mutexset8.cc
ib/tsan/lit_tests/oob_race.cc
ib/tsan/lit_tests/race_on_barrier.c
ib/tsan/lit_tests/race_on_barrier2.c
ib/tsan/lit_tests/race_on_heap.cc
ib/tsan/lit_tests/race_on_mutex.c
ib/tsan/lit_tests/race_on_mutex2.c
ib/tsan/lit_tests/race_on_read.cc
ib/tsan/lit_tests/race_on_write.cc
ib/tsan/lit_tests/race_with_finished_thread.cc
ib/tsan/lit_tests/signal_errno.cc
ib/tsan/lit_tests/signal_malloc.cc
ib/tsan/lit_tests/sigsuspend.cc
ib/tsan/lit_tests/simple_race.c
ib/tsan/lit_tests/simple_race.cc
ib/tsan/lit_tests/simple_stack.c
ib/tsan/lit_tests/simple_stack2.cc
ib/tsan/lit_tests/sleep_sync.cc
ib/tsan/lit_tests/sleep_sync2.cc
ib/tsan/lit_tests/stack_race.cc
ib/tsan/lit_tests/stack_race2.cc
ib/tsan/lit_tests/static_init1.cc
ib/tsan/lit_tests/static_init2.cc
ib/tsan/lit_tests/static_init3.cc
ib/tsan/lit_tests/static_init4.cc
ib/tsan/lit_tests/static_init5.cc
ib/tsan/lit_tests/static_init6.cc
ib/tsan/lit_tests/suppress_same_address.cc
ib/tsan/lit_tests/suppress_same_stacks.cc
ib/tsan/lit_tests/suppressions_global.cc
ib/tsan/lit_tests/suppressions_global.cc.supp
ib/tsan/lit_tests/suppressions_race.cc
ib/tsan/lit_tests/suppressions_race.cc.supp
ib/tsan/lit_tests/suppressions_race2.cc
ib/tsan/lit_tests/suppressions_race2.cc.supp
ib/tsan/lit_tests/test_output.sh
ib/tsan/lit_tests/thread_end_with_ignore.cc
ib/tsan/lit_tests/thread_end_with_ignore2.cc
ib/tsan/lit_tests/thread_leak.c
ib/tsan/lit_tests/thread_leak2.c
ib/tsan/lit_tests/thread_leak3.c
ib/tsan/lit_tests/thread_leak4.c
ib/tsan/lit_tests/thread_leak5.c
ib/tsan/lit_tests/thread_name.cc
ib/tsan/lit_tests/thread_name2.cc
ib/tsan/lit_tests/tiny_race.c
ib/tsan/lit_tests/tls_race.cc
ib/tsan/lit_tests/tls_race2.cc
ib/tsan/lit_tests/tsan-vs-gvn.cc
ib/tsan/lit_tests/unaligned_norace.cc
ib/tsan/lit_tests/unaligned_race.cc
ib/tsan/lit_tests/user_fopen.cc
ib/tsan/lit_tests/user_malloc.cc
ib/tsan/lit_tests/virtual_inheritance_compile_bug.cc
ib/tsan/lit_tests/vptr_benign_race.cc
ib/tsan/lit_tests/vptr_harmful_race.cc
ib/tsan/lit_tests/vptr_harmful_race2.cc
ib/tsan/lit_tests/write_in_reader_lock.cc
ib/tsan/rtl/Makefile.old
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_fd.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_ignoreset.cc
ib/tsan/rtl/tsan_ignoreset.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_mutexset.h
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_amd64.S
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize.cc
ib/tsan/rtl/tsan_symbolize.h
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
ib/tsan/rtl/tsan_vector.h
ib/tsan/tests/CMakeLists.txt
ib/tsan/tests/rtl/tsan_test.cc
ib/tsan/tests/rtl/tsan_test_util.h
ib/tsan/tests/unit/tsan_clock_test.cc
ib/tsan/tests/unit/tsan_flags_test.cc
ib/tsan/tests/unit/tsan_mman_test.cc
ib/tsan/tests/unit/tsan_stack_test.cc
ib/tsan/tests/unit/tsan_sync_test.cc
ib/tsan/tests/unit/tsan_vector_test.cc
ib/ubsan/CMakeLists.txt
ib/ubsan/lit_tests/AsanConfig/lit.cfg
ib/ubsan/lit_tests/AsanConfig/lit.site.cfg.in
ib/ubsan/lit_tests/CMakeLists.txt
ib/ubsan/lit_tests/TestCases/Float/cast-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/add-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/div-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/div-zero.cpp
ib/ubsan/lit_tests/TestCases/Integer/incdec-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/mul-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/negate-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/no-recover.cpp
ib/ubsan/lit_tests/TestCases/Integer/shift.cpp
ib/ubsan/lit_tests/TestCases/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/uincdec-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/umul-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/usub-overflow.cpp
ib/ubsan/lit_tests/TestCases/Misc/bool.cpp
ib/ubsan/lit_tests/TestCases/Misc/bounds.cpp
ib/ubsan/lit_tests/TestCases/Misc/deduplication.cpp
ib/ubsan/lit_tests/TestCases/Misc/enum.cpp
ib/ubsan/lit_tests/TestCases/Misc/missing_return.cpp
ib/ubsan/lit_tests/TestCases/Misc/unreachable.cpp
ib/ubsan/lit_tests/TestCases/Misc/vla.c
ib/ubsan/lit_tests/TestCases/TypeCheck/Function/function.cpp
ib/ubsan/lit_tests/TestCases/TypeCheck/Function/lit.local.cfg
ib/ubsan/lit_tests/TestCases/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TestCases/TypeCheck/null.cpp
ib/ubsan/lit_tests/TestCases/TypeCheck/vptr.cpp
ib/ubsan/lit_tests/UbsanConfig/lit.cfg
ib/ubsan/lit_tests/UbsanConfig/lit.site.cfg.in
ib/ubsan/lit_tests/lit.common.cfg
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_value.cc
ib/ubsan/ubsan_value.h
ib/ucmpdi2.c
ib/ucmpti2.c
ib/udivdi3.c
ib/udivmoddi4.c
ib/udivmodsi4.c
ib/udivmodti4.c
ib/udivsi3.c
ib/udivti3.c
ib/umoddi3.c
ib/umodsi3.c
ib/umodti3.c
ib/x86_64/Makefile.mk
ib/x86_64/floatdidf.c
ib/x86_64/floatdisf.c
ib/x86_64/floatdixf.c
ib/x86_64/floatundidf.S
ib/x86_64/floatundisf.S
ib/x86_64/floatundixf.S
ake/config.mk
ake/platform/clang_darwin.mk
ake/platform/clang_darwin_embedded.mk
ake/platform/clang_linux.mk
ake/platform/clang_macho_embedded.mk
ake/platform/clang_macho_embedded_test_input.c
ake/platform/darwin_fat.mk
ake/subdir.mk
est/BlocksRuntime/block-static.c
est/BlocksRuntime/blockimport.c
est/BlocksRuntime/byrefaccess.c
est/BlocksRuntime/byrefcopy.c
est/BlocksRuntime/byrefcopycopy.c
est/BlocksRuntime/byrefcopyinner.c
est/BlocksRuntime/byrefcopyint.c
est/BlocksRuntime/byrefcopystack.c
est/BlocksRuntime/byrefsanity.c
est/BlocksRuntime/byrefstruct.c
est/BlocksRuntime/c99.c
est/BlocksRuntime/cast.c
est/BlocksRuntime/constassign.c
est/BlocksRuntime/copy-block-literal-rdar6439600.c
est/BlocksRuntime/copyconstructor.C
est/BlocksRuntime/copynull.c
est/BlocksRuntime/dispatch_async.c
est/BlocksRuntime/dispatch_call_Block_with_release.c
est/BlocksRuntime/fail.c
est/BlocksRuntime/flagsisa.c
est/BlocksRuntime/globalexpression.c
est/BlocksRuntime/goto.c
est/BlocksRuntime/hasdescriptor.c
est/BlocksRuntime/josh.C
est/BlocksRuntime/k-and-r.c
est/BlocksRuntime/large-struct.c
est/BlocksRuntime/localisglobal.c
est/BlocksRuntime/macro.c
est/BlocksRuntime/makefile
est/BlocksRuntime/modglobal.c
est/BlocksRuntime/nestedimport.c
est/BlocksRuntime/nullblockisa.c
est/BlocksRuntime/objectRRGC.c
est/BlocksRuntime/objectassign.c
est/BlocksRuntime/orbars.c
est/BlocksRuntime/rdar6396238.c
est/BlocksRuntime/rdar6405500.c
est/BlocksRuntime/rdar6414583.c
est/BlocksRuntime/recursive-block.c
est/BlocksRuntime/recursive-test.c
est/BlocksRuntime/recursiveassign.c
est/BlocksRuntime/reference.C
est/BlocksRuntime/rettypepromotion.c
est/BlocksRuntime/returnfunctionptr.c
est/BlocksRuntime/shorthandexpression.c
est/BlocksRuntime/sizeof.c
est/BlocksRuntime/small-struct.c
est/BlocksRuntime/structmember.c
est/BlocksRuntime/testfilerunner.h
est/BlocksRuntime/testfilerunner.m
est/BlocksRuntime/varargs-bad-assign.c
est/BlocksRuntime/varargs.c
est/BlocksRuntime/variadic.c
est/BlocksRuntime/voidarg.c
est/CMakeLists.txt
est/Unit/absvdi2_test.c
est/Unit/absvsi2_test.c
est/Unit/absvti2_test.c
est/Unit/adddf3vfp_test.c
est/Unit/addsf3vfp_test.c
est/Unit/addvdi3_test.c
est/Unit/addvsi3_test.c
est/Unit/addvti3_test.c
est/Unit/ashldi3_test.c
est/Unit/ashlti3_test.c
est/Unit/ashrdi3_test.c
est/Unit/ashrti3_test.c
est/Unit/bswapdi2_test.c
est/Unit/bswapsi2_test.c
est/Unit/clear_cache_test.c
est/Unit/clzdi2_test.c
est/Unit/clzsi2_test.c
est/Unit/clzti2_test.c
est/Unit/cmpdi2_test.c
est/Unit/cmpti2_test.c
est/Unit/comparedf2_test.c
est/Unit/comparesf2_test.c
est/Unit/ctzdi2_test.c
est/Unit/ctzsi2_test.c
est/Unit/ctzti2_test.c
est/Unit/divdc3_test.c
est/Unit/divdf3vfp_test.c
est/Unit/divdi3_test.c
est/Unit/divmodsi4_test.c
est/Unit/divsc3_test.c
est/Unit/divsf3vfp_test.c
est/Unit/divsi3_test.c
est/Unit/divtc3_test.c
est/Unit/divti3_test.c
est/Unit/divxc3_test.c
est/Unit/enable_execute_stack_test.c
est/Unit/endianness.h
est/Unit/eqdf2vfp_test.c
est/Unit/eqsf2vfp_test.c
est/Unit/extebdsfdf2vfp_test.c
est/Unit/ffsdi2_test.c
est/Unit/ffsti2_test.c
est/Unit/fixdfdi_test.c
est/Unit/fixdfsivfp_test.c
est/Unit/fixdfti_test.c
est/Unit/fixsfdi_test.c
est/Unit/fixsfsivfp_test.c
est/Unit/fixsfti_test.c
est/Unit/fixunsdfdi_test.c
est/Unit/fixunsdfsi_test.c
est/Unit/fixunsdfsivfp_test.c
est/Unit/fixunsdfti_test.c
est/Unit/fixunssfdi_test.c
est/Unit/fixunssfsi_test.c
est/Unit/fixunssfsivfp_test.c
est/Unit/fixunssfti_test.c
est/Unit/fixunstfdi_test.c
est/Unit/fixunsxfdi_test.c
est/Unit/fixunsxfsi_test.c
est/Unit/fixunsxfti_test.c
est/Unit/fixxfdi_test.c
est/Unit/fixxfti_test.c
est/Unit/floatdidf_test.c
est/Unit/floatdisf_test.c
est/Unit/floatdixf_test.c
est/Unit/floatsidfvfp_test.c
est/Unit/floatsisfvfp_test.c
est/Unit/floattidf_test.c
est/Unit/floattisf_test.c
est/Unit/floattixf_test.c
est/Unit/floatundidf_test.c
est/Unit/floatundisf_test.c
est/Unit/floatundixf_test.c
est/Unit/floatunssidfvfp_test.c
est/Unit/floatunssisfvfp_test.c
est/Unit/floatuntidf_test.c
est/Unit/floatuntisf_test.c
est/Unit/floatuntixf_test.c
est/Unit/gcc_personality_test.c
est/Unit/gcc_personality_test_helper.cxx
est/Unit/gedf2vfp_test.c
est/Unit/gesf2vfp_test.c
est/Unit/gtdf2vfp_test.c
est/Unit/gtsf2vfp_test.c
est/Unit/ledf2vfp_test.c
est/Unit/lesf2vfp_test.c
est/Unit/lshrdi3_test.c
est/Unit/lshrti3_test.c
est/Unit/ltdf2vfp_test.c
est/Unit/ltsf2vfp_test.c
est/Unit/moddi3_test.c
est/Unit/modsi3_test.c
est/Unit/modti3_test.c
est/Unit/muldc3_test.c
est/Unit/muldf3vfp_test.c
est/Unit/muldi3_test.c
est/Unit/mulodi4_test.c
est/Unit/mulosi4_test.c
est/Unit/muloti4_test.c
est/Unit/mulsc3_test.c
est/Unit/mulsf3vfp_test.c
est/Unit/multc3_test.c
est/Unit/multi3_test.c
est/Unit/mulvdi3_test.c
est/Unit/mulvsi3_test.c
est/Unit/mulvti3_test.c
est/Unit/mulxc3_test.c
est/Unit/nedf2vfp_test.c
est/Unit/negdf2vfp_test.c
est/Unit/negdi2_test.c
est/Unit/negsf2vfp_test.c
est/Unit/negti2_test.c
est/Unit/negvdi2_test.c
est/Unit/negvsi2_test.c
est/Unit/negvti2_test.c
est/Unit/nesf2vfp_test.c
est/Unit/paritydi2_test.c
est/Unit/paritysi2_test.c
est/Unit/parityti2_test.c
est/Unit/popcountdi2_test.c
est/Unit/popcountsi2_test.c
est/Unit/popcountti2_test.c
est/Unit/powidf2_test.c
est/Unit/powisf2_test.c
est/Unit/powitf2_test.c
est/Unit/powixf2_test.c
est/Unit/ppc/DD.h
est/Unit/ppc/fixtfdi_test.c
est/Unit/ppc/floatditf_test.c
est/Unit/ppc/floatditf_test.h
est/Unit/ppc/floatunditf_test.c
est/Unit/ppc/floatunditf_test.h
est/Unit/ppc/qadd_test.c
est/Unit/ppc/qdiv_test.c
est/Unit/ppc/qmul_test.c
est/Unit/ppc/qsub_test.c
est/Unit/ppc/test
est/Unit/subdf3vfp_test.c
est/Unit/subsf3vfp_test.c
est/Unit/subvdi3_test.c
est/Unit/subvsi3_test.c
est/Unit/subvti3_test.c
est/Unit/test
est/Unit/trampoline_setup_test.c
est/Unit/truncdfsf2vfp_test.c
est/Unit/ucmpdi2_test.c
est/Unit/ucmpti2_test.c
est/Unit/udivdi3_test.c
est/Unit/udivmoddi4_test.c
est/Unit/udivmodsi4_test.c
est/Unit/udivmodti4_test.c
est/Unit/udivsi3_test.c
est/Unit/udivti3_test.c
est/Unit/umoddi3_test.c
est/Unit/umodsi3_test.c
est/Unit/umodti3_test.c
est/Unit/unorddf2vfp_test.c
est/Unit/unordsf2vfp_test.c
est/asan/CMakeLists.txt
est/asan/TestCases/Darwin/asan_gen_prefixes.cc
est/asan/TestCases/Darwin/cstring_literals_regtest.mm
est/asan/TestCases/Darwin/interception-in-shared-lib-test.cc
est/asan/TestCases/Darwin/interface_symbols_darwin.c
est/asan/TestCases/Darwin/lit.local.cfg
est/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
est/asan/TestCases/Darwin/malloc_zone-protected.cc
est/asan/TestCases/Darwin/reexec-insert-libraries-env.cc
est/asan/TestCases/Darwin/unset-insert-libraries-on-exec.cc
est/asan/TestCases/Helpers/blacklist-extra.cc
est/asan/TestCases/Helpers/echo-env.cc
est/asan/TestCases/Helpers/init-order-atexit-extra.cc
est/asan/TestCases/Helpers/init-order-pthread-create-extra.cc
est/asan/TestCases/Helpers/initialization-blacklist-extra.cc
est/asan/TestCases/Helpers/initialization-blacklist-extra2.cc
est/asan/TestCases/Helpers/initialization-blacklist.txt
est/asan/TestCases/Helpers/initialization-bug-extra.cc
est/asan/TestCases/Helpers/initialization-bug-extra2.cc
est/asan/TestCases/Helpers/initialization-constexpr-extra.cc
est/asan/TestCases/Helpers/initialization-nobug-extra.cc
est/asan/TestCases/Helpers/lit.local.cfg
est/asan/TestCases/Linux/asan_dlopen_test.cc
est/asan/TestCases/Linux/asan_prelink_test.cc
est/asan/TestCases/Linux/asan_preload_test-1.cc
est/asan/TestCases/Linux/asan_preload_test-2.cc
est/asan/TestCases/Linux/asan_rt_confict_test-1.cc
est/asan/TestCases/Linux/asan_rt_confict_test-2.cc
est/asan/TestCases/Linux/clone_test.cc
est/asan/TestCases/Linux/coverage-direct-large.cc
est/asan/TestCases/Linux/coverage-direct.cc
est/asan/TestCases/Linux/coverage-maybe-open-file.cc
est/asan/TestCases/Linux/coverage-module-unloaded.cc
est/asan/TestCases/Linux/coverage-sandboxing.cc
est/asan/TestCases/Linux/coverage.cc
est/asan/TestCases/Linux/function-sections-are-bad.cc
est/asan/TestCases/Linux/glob.cc
est/asan/TestCases/Linux/glob_test_root/aa
est/asan/TestCases/Linux/glob_test_root/ab
est/asan/TestCases/Linux/glob_test_root/ba
est/asan/TestCases/Linux/globals-gc-sections.cc
est/asan/TestCases/Linux/heap-overflow-large.cc
est/asan/TestCases/Linux/heavy_uar_test.cc
est/asan/TestCases/Linux/initialization-bug-any-order.cc
est/asan/TestCases/Linux/interception-in-shared-lib-test.cc
est/asan/TestCases/Linux/interception_failure_test.cc
est/asan/TestCases/Linux/interception_malloc_test.cc
est/asan/TestCases/Linux/interception_readdir_r_test.cc
est/asan/TestCases/Linux/interception_test.cc
est/asan/TestCases/Linux/interface_symbols_linux.c
est/asan/TestCases/Linux/kernel-area.cc
est/asan/TestCases/Linux/leak.cc
est/asan/TestCases/Linux/lit.local.cfg
est/asan/TestCases/Linux/malloc-in-qsort.cc
est/asan/TestCases/Linux/malloc_delete_mismatch.cc
est/asan/TestCases/Linux/odr-violation.cc
est/asan/TestCases/Linux/overflow-in-qsort.cc
est/asan/TestCases/Linux/preinit_test.cc
est/asan/TestCases/Linux/ptrace.cc
est/asan/TestCases/Linux/rlimit_mmap_test.cc
est/asan/TestCases/Linux/shmctl.cc
est/asan/TestCases/Linux/stack-trace-dlclose.cc
est/asan/TestCases/Linux/stress_dtls.c
est/asan/TestCases/Linux/swapcontext_test.cc
est/asan/TestCases/Linux/syscalls.cc
est/asan/TestCases/Linux/tsd_dtor_leak.cc
est/asan/TestCases/Linux/uar_signals.cc
est/asan/TestCases/Linux/unpoison_tls.cc
est/asan/TestCases/Posix/allow_user_segv.cc
est/asan/TestCases/Posix/assign_large_valloc_to_global.cc
est/asan/TestCases/Posix/init-order-dlopen.cc
est/asan/TestCases/Posix/ioctl.cc
est/asan/TestCases/Posix/large_allocator_unpoisons_on_free.cc
est/asan/TestCases/Posix/lit.local.cfg
est/asan/TestCases/Posix/readv.cc
est/asan/TestCases/Posix/shared-lib-test.cc
est/asan/TestCases/Posix/start-deactivated.cc
est/asan/TestCases/Posix/strerror_r_test.cc
est/asan/TestCases/Posix/wait.cc
est/asan/TestCases/Posix/waitid.cc
est/asan/TestCases/Windows/aligned_mallocs.cc
est/asan/TestCases/Windows/allocators_sanity.cc
est/asan/TestCases/Windows/beginthreadex.cc
est/asan/TestCases/Windows/bitfield.cc
est/asan/TestCases/Windows/bitfield_uaf.cc
est/asan/TestCases/Windows/calloc_left_oob.cc
est/asan/TestCases/Windows/calloc_right_oob.cc
est/asan/TestCases/Windows/calloc_uaf.cc
est/asan/TestCases/Windows/crt_initializers.cc
est/asan/TestCases/Windows/dll_aligned_mallocs.cc
est/asan/TestCases/Windows/dll_allocators_sanity.cc
est/asan/TestCases/Windows/dll_host.cc
est/asan/TestCases/Windows/dll_intercept_memcpy.cc
est/asan/TestCases/Windows/dll_intercept_strlen.cc
est/asan/TestCases/Windows/dll_malloc_left_oob.cc
est/asan/TestCases/Windows/dll_malloc_uaf.cc
est/asan/TestCases/Windows/dll_noreturn.cc
est/asan/TestCases/Windows/dll_operator_array_new_left_oob.cc
est/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cc
est/asan/TestCases/Windows/dll_poison_unpoison.cc
est/asan/TestCases/Windows/dll_stack_use_after_return.cc
est/asan/TestCases/Windows/dll_thread_stack_array_left_oob.cc
est/asan/TestCases/Windows/double_free.cc
est/asan/TestCases/Windows/double_operator_delete.cc
est/asan/TestCases/Windows/global_const_string.cc
est/asan/TestCases/Windows/global_const_string_oob.cc
est/asan/TestCases/Windows/hello_world.cc
est/asan/TestCases/Windows/intercept_memcpy.cc
est/asan/TestCases/Windows/intercept_strdup.cc
est/asan/TestCases/Windows/intercept_strlen.cc
est/asan/TestCases/Windows/lit.local.cfg
est/asan/TestCases/Windows/malloc_left_oob.cc
est/asan/TestCases/Windows/malloc_right_oob.cc
est/asan/TestCases/Windows/malloc_uaf.cc
est/asan/TestCases/Windows/operator_array_new_left_oob.cc
est/asan/TestCases/Windows/operator_array_new_right_oob.cc
est/asan/TestCases/Windows/operator_array_new_uaf.cc
est/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cc
est/asan/TestCases/Windows/operator_delete_wrong_argument.cc
est/asan/TestCases/Windows/operator_new_left_oob.cc
est/asan/TestCases/Windows/operator_new_right_oob.cc
est/asan/TestCases/Windows/operator_new_uaf.cc
est/asan/TestCases/Windows/realloc_left_oob.cc
est/asan/TestCases/Windows/realloc_right_oob.cc
est/asan/TestCases/Windows/realloc_uaf.cc
est/asan/TestCases/Windows/stack_array_left_oob.cc
est/asan/TestCases/Windows/stack_array_right_oob.cc
est/asan/TestCases/Windows/stack_array_sanity.cc
est/asan/TestCases/Windows/stack_use_after_return.cc
est/asan/TestCases/Windows/thread_simple.cc
est/asan/TestCases/Windows/thread_stack_array_left_oob.cc
est/asan/TestCases/Windows/thread_stack_array_right_oob.cc
est/asan/TestCases/Windows/thread_stack_reuse.cc
est/asan/TestCases/Windows/thread_stress.cc
est/asan/TestCases/Windows/use_after_realloc.cc
est/asan/TestCases/Windows/windows_h.cc
est/asan/TestCases/Windows/wrong_downcast_on_heap.cc
est/asan/TestCases/Windows/wrong_downcast_on_stack.cc
est/asan/TestCases/allocator_returns_null.cc
est/asan/TestCases/asan-symbolize-sanity-test.cc
est/asan/TestCases/atexit_stats.cc
est/asan/TestCases/blacklist.cc
est/asan/TestCases/contiguous_container.cc
est/asan/TestCases/contiguous_container_crash.cc
est/asan/TestCases/current_allocated_bytes.cc
est/asan/TestCases/deep_call_stack.cc
est/asan/TestCases/deep_stack_uaf.cc
est/asan/TestCases/deep_tail_call.cc
est/asan/TestCases/deep_thread_stack.cc
est/asan/TestCases/default_blacklist.cc
est/asan/TestCases/default_options.cc
est/asan/TestCases/dlclose-test.cc
est/asan/TestCases/double-free.cc
est/asan/TestCases/force_inline_opt0.cc
est/asan/TestCases/free_hook_realloc.cc
est/asan/TestCases/gc-test.cc
est/asan/TestCases/global-demangle.cc
est/asan/TestCases/global-overflow.cc
est/asan/TestCases/heap-overflow.cc
est/asan/TestCases/huge_negative_hea_oob.cc
est/asan/TestCases/init-order-atexit.cc
est/asan/TestCases/init-order-pthread-create.cc
est/asan/TestCases/initialization-blacklist.cc
est/asan/TestCases/initialization-bug.cc
est/asan/TestCases/initialization-constexpr.cc
est/asan/TestCases/initialization-nobug.cc
est/asan/TestCases/inline.cc
est/asan/TestCases/interface_test.cc
est/asan/TestCases/invalid-free.cc
est/asan/TestCases/large_func_test.cc
est/asan/TestCases/log-path_test.cc
est/asan/TestCases/log_path_fork_test.cc.disabled
est/asan/TestCases/lsan_annotations.cc
est/asan/TestCases/malloc_context_size.cc
est/asan/TestCases/malloc_fill.cc
est/asan/TestCases/malloc_hook.cc
est/asan/TestCases/max_redzone.cc
est/asan/TestCases/memcmp_strict_test.cc
est/asan/TestCases/memcmp_test.cc
est/asan/TestCases/memset_test.cc
est/asan/TestCases/mmap_limit_mb.cc
est/asan/TestCases/no_asan_gen_globals.c
est/asan/TestCases/null_deref.cc
est/asan/TestCases/on_error_callback.cc
est/asan/TestCases/partial_right.cc
est/asan/TestCases/poison_partial.cc
est/asan/TestCases/print_summary.cc
est/asan/TestCases/printf-1.c
est/asan/TestCases/printf-2.c
est/asan/TestCases/printf-3.c
est/asan/TestCases/printf-4.c
est/asan/TestCases/printf-5.c
est/asan/TestCases/sanity_check_pure_c.c
est/asan/TestCases/sleep_before_dying.c
est/asan/TestCases/stack-buffer-overflow-with-position.cc
est/asan/TestCases/stack-buffer-overflow.cc
est/asan/TestCases/stack-frame-demangle.cc
est/asan/TestCases/stack-oob-frames.cc
est/asan/TestCases/stack-overflow.cc
est/asan/TestCases/stack-use-after-return.cc
est/asan/TestCases/strdup_oob_test.cc
est/asan/TestCases/strip_path_prefix.c
est/asan/TestCases/strncpy-overflow.cc
est/asan/TestCases/throw_call_test.cc
est/asan/TestCases/throw_catch.cc
est/asan/TestCases/throw_invoke_test.cc
est/asan/TestCases/time_interceptor.cc
est/asan/TestCases/uar_and_exceptions.cc
est/asan/TestCases/unaligned_loads_and_stores.cc
est/asan/TestCases/use-after-delete.cc
est/asan/TestCases/use-after-free-right.cc
est/asan/TestCases/use-after-free.cc
est/asan/TestCases/use-after-poison.cc
est/asan/TestCases/use-after-scope-dtor-order.cc
est/asan/TestCases/use-after-scope-inlined.cc
est/asan/TestCases/use-after-scope-nobug.cc
est/asan/TestCases/use-after-scope-temp.cc
est/asan/TestCases/use-after-scope.cc
est/asan/Unit/lit.site.cfg.in
est/asan/android_commands/android_common.py
est/asan/android_commands/android_compile.py
est/asan/android_commands/android_run.py
est/asan/lit.cfg
est/asan/lit.site.cfg.in
est/builtins/Unit/absvdi2_test.c
est/builtins/Unit/absvsi2_test.c
est/builtins/Unit/absvti2_test.c
est/builtins/Unit/adddf3vfp_test.c
est/builtins/Unit/addsf3vfp_test.c
est/builtins/Unit/addvdi3_test.c
est/builtins/Unit/addvsi3_test.c
est/builtins/Unit/addvti3_test.c
est/builtins/Unit/ashldi3_test.c
est/builtins/Unit/ashlti3_test.c
est/builtins/Unit/ashrdi3_test.c
est/builtins/Unit/ashrti3_test.c
est/builtins/Unit/bswapdi2_test.c
est/builtins/Unit/bswapsi2_test.c
est/builtins/Unit/clear_cache_test.c
est/builtins/Unit/clzdi2_test.c
est/builtins/Unit/clzsi2_test.c
est/builtins/Unit/clzti2_test.c
est/builtins/Unit/cmpdi2_test.c
est/builtins/Unit/cmpti2_test.c
est/builtins/Unit/comparedf2_test.c
est/builtins/Unit/comparesf2_test.c
est/builtins/Unit/ctzdi2_test.c
est/builtins/Unit/ctzsi2_test.c
est/builtins/Unit/ctzti2_test.c
est/builtins/Unit/divdc3_test.c
est/builtins/Unit/divdf3vfp_test.c
est/builtins/Unit/divdi3_test.c
est/builtins/Unit/divmodsi4_test.c
est/builtins/Unit/divsc3_test.c
est/builtins/Unit/divsf3vfp_test.c
est/builtins/Unit/divsi3_test.c
est/builtins/Unit/divtc3_test.c
est/builtins/Unit/divti3_test.c
est/builtins/Unit/divxc3_test.c
est/builtins/Unit/enable_execute_stack_test.c
est/builtins/Unit/endianness.h
est/builtins/Unit/eqdf2vfp_test.c
est/builtins/Unit/eqsf2vfp_test.c
est/builtins/Unit/eqtf2_test.c
est/builtins/Unit/extebdsfdf2vfp_test.c
est/builtins/Unit/ffsdi2_test.c
est/builtins/Unit/ffsti2_test.c
est/builtins/Unit/fixdfdi_test.c
est/builtins/Unit/fixdfsivfp_test.c
est/builtins/Unit/fixdfti_test.c
est/builtins/Unit/fixsfdi_test.c
est/builtins/Unit/fixsfsivfp_test.c
est/builtins/Unit/fixsfti_test.c
est/builtins/Unit/fixunsdfdi_test.c
est/builtins/Unit/fixunsdfsi_test.c
est/builtins/Unit/fixunsdfsivfp_test.c
est/builtins/Unit/fixunsdfti_test.c
est/builtins/Unit/fixunssfdi_test.c
est/builtins/Unit/fixunssfsi_test.c
est/builtins/Unit/fixunssfsivfp_test.c
est/builtins/Unit/fixunssfti_test.c
est/builtins/Unit/fixunstfdi_test.c
est/builtins/Unit/fixunsxfdi_test.c
est/builtins/Unit/fixunsxfsi_test.c
est/builtins/Unit/fixunsxfti_test.c
est/builtins/Unit/fixxfdi_test.c
est/builtins/Unit/fixxfti_test.c
est/builtins/Unit/floatdidf_test.c
est/builtins/Unit/floatdisf_test.c
est/builtins/Unit/floatdixf_test.c
est/builtins/Unit/floatsidfvfp_test.c
est/builtins/Unit/floatsisfvfp_test.c
est/builtins/Unit/floattidf_test.c
est/builtins/Unit/floattisf_test.c
est/builtins/Unit/floattixf_test.c
est/builtins/Unit/floatundidf_test.c
est/builtins/Unit/floatundisf_test.c
est/builtins/Unit/floatundixf_test.c
est/builtins/Unit/floatunssidfvfp_test.c
est/builtins/Unit/floatunssisfvfp_test.c
est/builtins/Unit/floatuntidf_test.c
est/builtins/Unit/floatuntisf_test.c
est/builtins/Unit/floatuntixf_test.c
est/builtins/Unit/fp_test.h
est/builtins/Unit/gcc_personality_test.c
est/builtins/Unit/gcc_personality_test_helper.cxx
est/builtins/Unit/gedf2vfp_test.c
est/builtins/Unit/gesf2vfp_test.c
est/builtins/Unit/getf2_test.c
est/builtins/Unit/gtdf2vfp_test.c
est/builtins/Unit/gtsf2vfp_test.c
est/builtins/Unit/gttf2_test.c
est/builtins/Unit/ledf2vfp_test.c
est/builtins/Unit/lesf2vfp_test.c
est/builtins/Unit/letf2_test.c
est/builtins/Unit/lshrdi3_test.c
est/builtins/Unit/lshrti3_test.c
est/builtins/Unit/ltdf2vfp_test.c
est/builtins/Unit/ltsf2vfp_test.c
est/builtins/Unit/lttf2_test.c
est/builtins/Unit/moddi3_test.c
est/builtins/Unit/modsi3_test.c
est/builtins/Unit/modti3_test.c
est/builtins/Unit/muldc3_test.c
est/builtins/Unit/muldf3vfp_test.c
est/builtins/Unit/muldi3_test.c
est/builtins/Unit/mulodi4_test.c
est/builtins/Unit/mulosi4_test.c
est/builtins/Unit/muloti4_test.c
est/builtins/Unit/mulsc3_test.c
est/builtins/Unit/mulsf3vfp_test.c
est/builtins/Unit/multc3_test.c
est/builtins/Unit/multi3_test.c
est/builtins/Unit/mulvdi3_test.c
est/builtins/Unit/mulvsi3_test.c
est/builtins/Unit/mulvti3_test.c
est/builtins/Unit/mulxc3_test.c
est/builtins/Unit/nedf2vfp_test.c
est/builtins/Unit/negdf2vfp_test.c
est/builtins/Unit/negdi2_test.c
est/builtins/Unit/negsf2vfp_test.c
est/builtins/Unit/negti2_test.c
est/builtins/Unit/negvdi2_test.c
est/builtins/Unit/negvsi2_test.c
est/builtins/Unit/negvti2_test.c
est/builtins/Unit/nesf2vfp_test.c
est/builtins/Unit/netf2_test.c
est/builtins/Unit/paritydi2_test.c
est/builtins/Unit/paritysi2_test.c
est/builtins/Unit/parityti2_test.c
est/builtins/Unit/popcountdi2_test.c
est/builtins/Unit/popcountsi2_test.c
est/builtins/Unit/popcountti2_test.c
est/builtins/Unit/powidf2_test.c
est/builtins/Unit/powisf2_test.c
est/builtins/Unit/powitf2_test.c
est/builtins/Unit/powixf2_test.c
est/builtins/Unit/ppc/DD.h
est/builtins/Unit/ppc/fixtfdi_test.c
est/builtins/Unit/ppc/floatditf_test.c
est/builtins/Unit/ppc/floatditf_test.h
est/builtins/Unit/ppc/floatunditf_test.c
est/builtins/Unit/ppc/floatunditf_test.h
est/builtins/Unit/ppc/qadd_test.c
est/builtins/Unit/ppc/qdiv_test.c
est/builtins/Unit/ppc/qmul_test.c
est/builtins/Unit/ppc/qsub_test.c
est/builtins/Unit/ppc/test
est/builtins/Unit/subdf3vfp_test.c
est/builtins/Unit/subsf3vfp_test.c
est/builtins/Unit/subvdi3_test.c
est/builtins/Unit/subvsi3_test.c
est/builtins/Unit/subvti3_test.c
est/builtins/Unit/test
est/builtins/Unit/trampoline_setup_test.c
est/builtins/Unit/truncdfsf2vfp_test.c
est/builtins/Unit/ucmpdi2_test.c
est/builtins/Unit/ucmpti2_test.c
est/builtins/Unit/udivdi3_test.c
est/builtins/Unit/udivmoddi4_test.c
est/builtins/Unit/udivmodsi4_test.c
est/builtins/Unit/udivmodti4_test.c
est/builtins/Unit/udivsi3_test.c
est/builtins/Unit/udivti3_test.c
est/builtins/Unit/umoddi3_test.c
est/builtins/Unit/umodsi3_test.c
est/builtins/Unit/umodti3_test.c
est/builtins/Unit/unorddf2vfp_test.c
est/builtins/Unit/unordsf2vfp_test.c
est/builtins/Unit/unordtf2_test.c
est/builtins/timing/ashldi3.c
est/builtins/timing/ashrdi3.c
est/builtins/timing/divdi3.c
est/builtins/timing/floatdidf.c
est/builtins/timing/floatdisf.c
est/builtins/timing/floatdixf.c
est/builtins/timing/floatundidf.c
est/builtins/timing/floatundisf.c
est/builtins/timing/floatundixf.c
est/builtins/timing/lshrdi3.c
est/builtins/timing/moddi3.c
est/builtins/timing/modsi3.c
est/builtins/timing/muldi3.c
est/builtins/timing/negdi2.c
est/builtins/timing/time
est/builtins/timing/timing.h
est/builtins/timing/udivdi3.c
est/builtins/timing/umoddi3.c
est/dfsan/CMakeLists.txt
est/dfsan/Inputs/flags_abilist.txt
est/dfsan/basic.c
est/dfsan/custom.c
est/dfsan/flags.c
est/dfsan/fncall.c
est/dfsan/label_count.c
est/dfsan/lit.cfg
est/dfsan/lit.site.cfg.in
est/dfsan/propagate.c
est/dfsan/write_callback.c
est/lit.common.cfg
est/lit.common.configured.in
est/lsan/CMakeLists.txt
est/lsan/TestCases/cleanup_in_tsd_destructor.cc
est/lsan/TestCases/disabler.cc
est/lsan/TestCases/disabler_in_tsd_destructor.cc
est/lsan/TestCases/do_leak_check_override.cc
est/lsan/TestCases/fork.cc
est/lsan/TestCases/fork_threaded.cc
est/lsan/TestCases/high_allocator_contention.cc
est/lsan/TestCases/ignore_object.cc
est/lsan/TestCases/ignore_object_errors.cc
est/lsan/TestCases/large_allocation_leak.cc
est/lsan/TestCases/leak_check_at_exit.cc
est/lsan/TestCases/link_turned_off.cc
est/lsan/TestCases/new_array_with_dtor_0.cc
est/lsan/TestCases/pointer_to_self.cc
est/lsan/TestCases/print_suppressions.cc
est/lsan/TestCases/register_root_region.cc
est/lsan/TestCases/sanity_check_pure_c.c
est/lsan/TestCases/stale_stack_leak.cc
est/lsan/TestCases/suppressions_default.cc
est/lsan/TestCases/suppressions_file.cc
est/lsan/TestCases/swapcontext.cc
est/lsan/TestCases/use_after_return.cc
est/lsan/TestCases/use_globals_initialized.cc
est/lsan/TestCases/use_globals_uninitialized.cc
est/lsan/TestCases/use_poisoned_asan.cc
est/lsan/TestCases/use_registers.cc
est/lsan/TestCases/use_stacks.cc
est/lsan/TestCases/use_stacks_threaded.cc
est/lsan/TestCases/use_tls_dynamic.cc
est/lsan/TestCases/use_tls_pthread_specific_dynamic.cc
est/lsan/TestCases/use_tls_pthread_specific_static.cc
est/lsan/TestCases/use_tls_static.cc
est/lsan/TestCases/use_unaligned.cc
est/lsan/lit.common.cfg
est/lsan/lit.site.cfg.in
est/msan/CMakeLists.txt
est/msan/Linux/getresid.cc
est/msan/Linux/glob.cc
est/msan/Linux/glob_altdirfunc.cc
est/msan/Linux/glob_nomatch.cc
est/msan/Linux/glob_test_root/aa
est/msan/Linux/glob_test_root/ab
est/msan/Linux/glob_test_root/ba
est/msan/Linux/lit.local.cfg
est/msan/Linux/sunrpc.cc
est/msan/Linux/sunrpc_bytes.cc
est/msan/Linux/sunrpc_string.cc
est/msan/Linux/syscalls.cc
est/msan/Linux/tcgetattr.cc
est/msan/Linux/xattr.cc
est/msan/Linux/xattr_test_root/a
est/msan/SharedLibs/dso-origin-so.cc
est/msan/SharedLibs/dso-origin.h
est/msan/SharedLibs/lit.local.cfg
est/msan/Unit/lit.site.cfg.in
est/msan/allocator_returns_null.cc
est/msan/backtrace.cc
est/msan/c-strdup.c
est/msan/chained_origin.cc
est/msan/chained_origin_limits.cc
est/msan/chained_origin_memcpy.cc
est/msan/chained_origin_with_signals.cc
est/msan/check_mem_is_initialized.cc
est/msan/cxa_atexit.cc
est/msan/death-callback.cc
est/msan/default_blacklist.cc
est/msan/dlerror.cc
est/msan/dso-origin.cc
est/msan/dtls_test.c
est/msan/errno.cc
est/msan/ftime.cc
est/msan/getaddrinfo-positive.cc
est/msan/getaddrinfo.cc
est/msan/getc_unlocked.c
est/msan/getline.cc
est/msan/getline_test_data
est/msan/heap-origin.cc
est/msan/iconv.cc
est/msan/if_indextoname.cc
est/msan/ifaddrs.cc
est/msan/initgroups.cc
est/msan/inline.cc
est/msan/insertvalue_origin.cc
est/msan/ioctl.cc
est/msan/ioctl_custom.cc
est/msan/ioctl_sound.cc
est/msan/keep-going-dso.cc
est/msan/keep-going.cc
est/msan/lit.cfg
est/msan/lit.site.cfg.in
est/msan/mallinfo.cc
est/msan/malloc_hook.cc
est/msan/mktime.cc
est/msan/mmap_below_shadow.cc
est/msan/msan_check_mem_is_initialized.cc
est/msan/msan_dump_shadow.cc
est/msan/msan_print_shadow.cc
est/msan/msan_print_shadow2.cc
est/msan/no_sanitize_memory.cc
est/msan/no_sanitize_memory_prop.cc
est/msan/obstack.cc
est/msan/poison_in_free.cc
est/msan/print_stats.cc
est/msan/pthread_getattr_np_deadlock.cc
est/msan/rand_r.cc
est/msan/readdir64.cc
est/msan/scandir.cc
est/msan/scandir_null.cc
est/msan/scandir_test_root/aaa
est/msan/scandir_test_root/aab
est/msan/scandir_test_root/bbb
est/msan/select.cc
est/msan/select_origin.cc
est/msan/setlocale.cc
est/msan/signal_stress_test.cc
est/msan/sigwait.cc
est/msan/sigwaitinfo.cc
est/msan/stack-origin.cc
est/msan/strerror_r-non-gnu.c
est/msan/strlen_of_shadow.cc
est/msan/strxfrm.cc
est/msan/sync_lock_set_and_test.cc
est/msan/textdomain.cc
est/msan/times.cc
est/msan/tls_reuse.cc
est/msan/tsearch.cc
est/msan/tzset.cc
est/msan/unaligned_read_origin.cc
est/msan/unpoison_string.cc
est/msan/use-after-free.cc
est/msan/vector_cvt.cc
est/msan/vector_select.cc
est/msan/wrap_indirect_calls.cc
est/msan/wrap_indirect_calls/caller.cc
est/msan/wrap_indirect_calls/lit.local.cfg
est/msan/wrap_indirect_calls/one.cc
est/msan/wrap_indirect_calls/two.cc
est/msan/wrap_indirect_calls/wrapper.cc
est/msan/wrap_indirect_calls2.cc
est/msan/wrap_indirect_calls_in_rtl.cc
est/profile/CMakeLists.txt
est/profile/Inputs/instrprof-dlopen-func.c
est/profile/Inputs/instrprof-dlopen-func2.c
est/profile/Inputs/instrprof-dlopen-main.c
est/profile/Inputs/instrprof-dynamic-a.cpp
est/profile/Inputs/instrprof-dynamic-b.cpp
est/profile/Inputs/instrprof-dynamic-header.h
est/profile/Inputs/instrprof-dynamic-main.cpp
est/profile/instrprof-basic.c
est/profile/instrprof-dlopen.test
est/profile/instrprof-dynamic-one-shared.test
est/profile/instrprof-dynamic-two-shared.test
est/profile/instrprof-reset-counters.c
est/profile/instrprof-set-filename.c
est/profile/instrprof-without-libc.c
est/profile/instrprof-write-file-atexit-explicitly.c
est/profile/instrprof-write-file-only.c
est/profile/instrprof-write-file.c
est/profile/lit.cfg
est/profile/lit.site.cfg.in
est/sanitizer_common/CMakeLists.txt
est/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cc
est/sanitizer_common/TestCases/Linux/lit.local.cfg
est/sanitizer_common/TestCases/Linux/open_memstream.cc
est/sanitizer_common/TestCases/Linux/ptrace.cc
est/sanitizer_common/TestCases/print-stack-trace.cc
est/sanitizer_common/Unit/lit.site.cfg.in
est/sanitizer_common/lit.common.cfg
est/sanitizer_common/lit.site.cfg.in
est/timing/ashldi3.c
est/timing/ashrdi3.c
est/timing/divdi3.c
est/timing/floatdidf.c
est/timing/floatdisf.c
est/timing/floatdixf.c
est/timing/floatundidf.c
est/timing/floatundisf.c
est/timing/floatundixf.c
est/timing/lshrdi3.c
est/timing/moddi3.c
est/timing/modsi3.c
est/timing/muldi3.c
est/timing/negdi2.c
est/timing/time
est/timing/timing.h
est/timing/udivdi3.c
est/timing/umoddi3.c
est/tsan/CMakeLists.txt
est/tsan/Helpers/blacklist.txt
est/tsan/Helpers/lit.local.cfg
est/tsan/SharedLibs/lit.local.cfg
est/tsan/SharedLibs/load_shared_lib-so.cc
est/tsan/Unit/lit.site.cfg.in
est/tsan/aligned_vs_unaligned_race.cc
est/tsan/allocator_returns_null.cc
est/tsan/atomic_free.cc
est/tsan/atomic_free2.cc
est/tsan/atomic_norace.cc
est/tsan/atomic_race.cc
est/tsan/atomic_stack.cc
est/tsan/barrier.cc
est/tsan/bench.h
est/tsan/bench_acquire_only.cc
est/tsan/bench_acquire_release.cc
est/tsan/bench_local_mutex.cc
est/tsan/bench_mutex.cc
est/tsan/bench_release_only.cc
est/tsan/bench_rwmutex.cc
est/tsan/bench_shadow_flush.cc
est/tsan/bench_single_writer.cc
est/tsan/bench_ten_mutexes.cc
est/tsan/benign_race.cc
est/tsan/blacklist.cc
est/tsan/cond.c
est/tsan/cond_cancel.c
est/tsan/cond_race.cc
est/tsan/cond_version.c
est/tsan/deadlock_detector_stress_test.cc
est/tsan/deep_stack1.cc
est/tsan/default_options.cc
est/tsan/fd_close_norace.cc
est/tsan/fd_close_norace2.cc
est/tsan/fd_dup_norace.cc
est/tsan/fd_location.cc
est/tsan/fd_pipe_norace.cc
est/tsan/fd_pipe_race.cc
est/tsan/fd_socket_connect_norace.cc
est/tsan/fd_socket_norace.cc
est/tsan/fd_socketpair_norace.cc
est/tsan/fd_stdout_race.cc
est/tsan/fork_atexit.cc
est/tsan/fork_deadlock.cc
est/tsan/fork_multithreaded.cc
est/tsan/fork_multithreaded3.cc
est/tsan/free_race.c
est/tsan/free_race.c.supp
est/tsan/free_race2.c
est/tsan/getline_nohang.cc
est/tsan/global_race.cc
est/tsan/halt_on_error.cc
est/tsan/heap_race.cc
est/tsan/ignore_free.cc
est/tsan/ignore_lib0.cc
est/tsan/ignore_lib0.cc.supp
est/tsan/ignore_lib1.cc
est/tsan/ignore_lib1.cc.supp
est/tsan/ignore_lib2.cc
est/tsan/ignore_lib2.cc.supp
est/tsan/ignore_lib3.cc
est/tsan/ignore_lib3.cc.supp
est/tsan/ignore_lib_lib.h
est/tsan/ignore_malloc.cc
est/tsan/ignore_race.cc
est/tsan/ignore_sync.cc
est/tsan/inlined_memcpy_race.cc
est/tsan/interface_atomic_test.c
est/tsan/java.h
est/tsan/java_alloc.cc
est/tsan/java_lock.cc
est/tsan/java_lock_move.cc
est/tsan/java_lock_rec.cc
est/tsan/java_lock_rec_race.cc
est/tsan/java_race.cc
est/tsan/java_race_move.cc
est/tsan/java_rwlock.cc
est/tsan/libcxx/lit.local.cfg
est/tsan/libcxx/std_shared_ptr.cc
est/tsan/lit.cfg
est/tsan/lit.site.cfg.in
est/tsan/load_shared_lib.cc
est/tsan/longjmp.cc
est/tsan/longjmp2.cc
est/tsan/longjmp3.cc
est/tsan/longjmp4.cc
est/tsan/malloc_hook.cc
est/tsan/malloc_overflow.cc
est/tsan/malloc_stack.cc
est/tsan/memcpy_race.cc
est/tsan/mmap_large.cc
est/tsan/mop_with_offset.cc
est/tsan/mop_with_offset2.cc
est/tsan/mutex_bad_read_lock.cc
est/tsan/mutex_bad_read_unlock.cc
est/tsan/mutex_bad_unlock.cc
est/tsan/mutex_cycle2.c
est/tsan/mutex_destroy_locked.cc
est/tsan/mutex_double_lock.cc
est/tsan/mutex_robust.cc
est/tsan/mutex_robust2.cc
est/tsan/mutexset1.cc
est/tsan/mutexset2.cc
est/tsan/mutexset3.cc
est/tsan/mutexset4.cc
est/tsan/mutexset5.cc
est/tsan/mutexset6.cc
est/tsan/mutexset7.cc
est/tsan/mutexset8.cc
est/tsan/oob_race.cc
est/tsan/printf-1.c
est/tsan/pthread_atfork_deadlock.c
est/tsan/race_on_barrier.c
est/tsan/race_on_barrier2.c
est/tsan/race_on_heap.cc
est/tsan/race_on_mutex.c
est/tsan/race_on_mutex2.c
est/tsan/race_on_read.cc
est/tsan/race_on_speculative_load.cc
est/tsan/race_on_write.cc
est/tsan/race_with_finished_thread.cc
est/tsan/signal_errno.cc
est/tsan/signal_malloc.cc
est/tsan/sigsuspend.cc
est/tsan/simple_race.c
est/tsan/simple_race.cc
est/tsan/simple_stack.c
est/tsan/simple_stack2.cc
est/tsan/sleep_sync.cc
est/tsan/sleep_sync2.cc
est/tsan/stack_race.cc
est/tsan/stack_race2.cc
est/tsan/static_init1.cc
est/tsan/static_init2.cc
est/tsan/static_init3.cc
est/tsan/static_init4.cc
est/tsan/static_init5.cc
est/tsan/static_init6.cc
est/tsan/sunrpc.cc
est/tsan/suppress_same_address.cc
est/tsan/suppress_same_stacks.cc
est/tsan/suppressions_global.cc
est/tsan/suppressions_global.cc.supp
est/tsan/suppressions_race.cc
est/tsan/suppressions_race.cc.supp
est/tsan/suppressions_race2.cc
est/tsan/suppressions_race2.cc.supp
est/tsan/test_output.sh
est/tsan/thread_end_with_ignore.cc
est/tsan/thread_end_with_ignore2.cc
est/tsan/thread_end_with_ignore3.cc
est/tsan/thread_leak.c
est/tsan/thread_leak2.c
est/tsan/thread_leak3.c
est/tsan/thread_leak4.c
est/tsan/thread_leak5.c
est/tsan/thread_name.cc
est/tsan/thread_name2.cc
est/tsan/tiny_race.c
est/tsan/tls_race.cc
est/tsan/tls_race2.cc
est/tsan/tsan-vs-gvn.cc
est/tsan/unaligned_norace.cc
est/tsan/unaligned_race.cc
est/tsan/user_fopen.cc
est/tsan/user_malloc.cc
est/tsan/vfork.cc
est/tsan/virtual_inheritance_compile_bug.cc
est/tsan/vptr_benign_race.cc
est/tsan/vptr_harmful_race.cc
est/tsan/vptr_harmful_race2.cc
est/tsan/vptr_harmful_race3.cc
est/tsan/write_in_reader_lock.cc
est/ubsan/CMakeLists.txt
est/ubsan/TestCases/Float/cast-overflow.cpp
est/ubsan/TestCases/Integer/add-overflow.cpp
est/ubsan/TestCases/Integer/div-overflow.cpp
est/ubsan/TestCases/Integer/div-zero.cpp
est/ubsan/TestCases/Integer/incdec-overflow.cpp
est/ubsan/TestCases/Integer/mul-overflow.cpp
est/ubsan/TestCases/Integer/negate-overflow.cpp
est/ubsan/TestCases/Integer/no-recover.cpp
est/ubsan/TestCases/Integer/shift.cpp
est/ubsan/TestCases/Integer/sub-overflow.cpp
est/ubsan/TestCases/Integer/uadd-overflow.cpp
est/ubsan/TestCases/Integer/uincdec-overflow.cpp
est/ubsan/TestCases/Integer/umul-overflow.cpp
est/ubsan/TestCases/Integer/usub-overflow.cpp
est/ubsan/TestCases/Misc/bool.cpp
est/ubsan/TestCases/Misc/bounds.cpp
est/ubsan/TestCases/Misc/deduplication.cpp
est/ubsan/TestCases/Misc/enum.cpp
est/ubsan/TestCases/Misc/missing_return.cpp
est/ubsan/TestCases/Misc/unreachable.cpp
est/ubsan/TestCases/Misc/vla.c
est/ubsan/TestCases/TypeCheck/Function/function.cpp
est/ubsan/TestCases/TypeCheck/Function/lit.local.cfg
est/ubsan/TestCases/TypeCheck/misaligned.cpp
est/ubsan/TestCases/TypeCheck/null.cpp
est/ubsan/TestCases/TypeCheck/vptr.cpp
est/ubsan/lit.common.cfg
est/ubsan/lit.site.cfg.in
nittests/CMakeLists.txt
nittests/lit.common.unit.cfg
nittests/lit.common.unit.configured.in
ww/index.html
|
a8e7389a869803a14b85061ef6bfb013f1de068c |
28-May-2014 |
Stephen Hines <srhines@google.com> |
am d0728a76: am 6355b699: Merge remote-tracking branch \'aosp/master\' into base_dev * commit 'd0728a763df6285d8c8cf82314cd6c22dd4f747e': Initial empty repository
|
d0728a763df6285d8c8cf82314cd6c22dd4f747e |
28-May-2014 |
Stephen Hines <srhines@google.com> |
am 6355b699: Merge remote-tracking branch \'aosp/master\' into base_dev * commit '6355b699b2bf305d2ea739b2c48d6286e8db8272': Initial empty repository
|
6355b699b2bf305d2ea739b2c48d6286e8db8272 |
28-May-2014 |
Stephen Hines <srhines@google.com> |
Merge remote-tracking branch 'aosp/master' into base_dev
|
22a918b6e06ab57717f939befbfd3f3c4f9ad143 |
27-May-2014 |
Bill Yi <byi@google.com> |
Initial empty repository
|
ffeb7991ba2db2e9d86750e6df203d8ccda36759 |
22-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
27d5120e2a6ba721d6aa6e55674c985f4977cff7 |
22-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
3dd699079aa3f039c026121ab83bb56b3f2634e1 |
21-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
1c57bda7bf603c3435987d41031c051a2e12aca2 |
20-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
fb8fcd95a71bccd4e327e3fba59a787e44904b07 |
19-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
850171f25da426b74bd95cc4a8421f46c867d928 |
18-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
d60b31e3a074faabe95ac97d63f0f65b2e4a7d98 |
17-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
99950fb232393e52f3f9ede39271539851f19723 |
15-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
39880b81c001f42c2b578ca520096836f4eac469 |
14-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to 68ab8f865046400e071ce4d59259f28d6b2360e4
|
68ab8f865046400e071ce4d59259f28d6b2360e4 |
14-May-2014 |
Stephen Hines <srhines@google.com> |
am 6482673f: am 49e002ce: Merge "Don\'t build compiler_rt if the user is just building with tapas." * commit '6482673f3c9a5e030ef87042482bf749c5065510': Don't build compiler_rt if the user is just building with tapas.
|
6482673f3c9a5e030ef87042482bf749c5065510 |
14-May-2014 |
Stephen Hines <srhines@google.com> |
am 49e002ce: Merge "Don\'t build compiler_rt if the user is just building with tapas." * commit '49e002cede5639cdeca71e7717c3a1d34c711d2d': Don't build compiler_rt if the user is just building with tapas.
|
49e002cede5639cdeca71e7717c3a1d34c711d2d |
14-May-2014 |
Stephen Hines <srhines@google.com> |
Merge "Don't build compiler_rt if the user is just building with tapas."
|
306946113efca741da8e33fd35edb1d7c29794ff |
14-May-2014 |
Stephen Hines <srhines@google.com> |
Don't build compiler_rt if the user is just building with tapas. Bug: 14904943 Change-Id: If45cd9115e555b80087122488e967f7fd6e8b063
ndroid.mk
|
38af2fd420637916a3ebc05d6cd3aa38c4860f6f |
13-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
02fcdf22c9803205632b3a1ce7a77df756cfd0fb |
12-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
bcca432f0bed8ab1ac63003126dc58907b876456 |
11-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
107d4ce34e0ea9a7ff4d253d0fdcac8360aa99ce |
10-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
8ac75ed9011b5032c81f6ddd74c4bdc9dbf93825 |
08-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
f59b48530e3e1b913ab0d1323c962ca201f05a3f |
07-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
867ee76aad4494f553254c615581f9e7b15914af |
07-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
18b3662cbf0cb28fb721bb8e841a9adad43c1f85 |
06-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
eaee5cdc9da7ecaf71c3478b8633ebe2b7f1229c |
05-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
05f338518af869cea3d36cb3681a0d3608c6fffc |
04-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
004443eca2386ebbda0007eed9173ef4d0706eec |
03-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to b227f6c884c6100d58aa60165748d68944f45691
|
b227f6c884c6100d58aa60165748d68944f45691 |
02-May-2014 |
Dan Albert <danalbert@google.com> |
am 2adb57e4: am 268a61cc: Merge "Adds host library targets for compiler-rt" * commit '2adb57e47e9bcc37d810cc0a59f6b0b0d377484e': Adds host library targets for compiler-rt
|
2adb57e47e9bcc37d810cc0a59f6b0b0d377484e |
02-May-2014 |
Dan Albert <danalbert@google.com> |
am 268a61cc: Merge "Adds host library targets for compiler-rt" * commit '268a61cc79f7b97ceacca3768b9b3f32d30d6a54': Adds host library targets for compiler-rt
|
268a61cc79f7b97ceacca3768b9b3f32d30d6a54 |
02-May-2014 |
Dan Albert <danalbert@google.com> |
Merge "Adds host library targets for compiler-rt"
|
95b6e9a2552f005857c81626638dfd98cc8665df |
02-May-2014 |
Dan Albert <danalbert@google.com> |
Adds host library targets for compiler-rt Change-Id: Idcd71ba9b5cfae2e6ba106d790f8cc065fac3bda
ndroid.mk
|
70b37b190b7a449e5efe6424b312b65a51192402 |
01-May-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to e6ce8f93d1891817f3707440f18e54bcef7653dc
|
da564a087552fadf247809c6b6f77231904b0fe8 |
30-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to e6ce8f93d1891817f3707440f18e54bcef7653dc
|
ec8a9460943481af6041d0edd449cb0f62faed88 |
29-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to e6ce8f93d1891817f3707440f18e54bcef7653dc
|
4c65aef7c474bd2777316e9155014cefedd1cf90 |
28-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to e6ce8f93d1891817f3707440f18e54bcef7653dc
|
8ac825da829bda75b54ea927f85e01ade32b419b |
27-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to e6ce8f93d1891817f3707440f18e54bcef7653dc
|
15da808cfefc0afdb255905114009c35e671a7e8 |
26-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to e6ce8f93d1891817f3707440f18e54bcef7653dc
|
d3f989893fc4ec66a97d58f4744eb222950c1e1c |
24-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to e6ce8f93d1891817f3707440f18e54bcef7653dc
|
92a1a080fd8a23eeeb2b61c6f5fc68f360f0c21f |
17-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
e6ce8f93d1891817f3707440f18e54bcef7653dc |
21-Feb-2014 |
Evgeniy Stepanov <eugenis@google.com> |
Change ASan runtime library name to keep in sync with upstream. Change-Id: I617132d5b40f6d2e7a7e5ae2c1bf5890f1544093
ib/asan/Android.mk
|
1e9913bfe717bdc31e32b9f131b15a87fd047319 |
03-Apr-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
4f55120162960c3a7cd4899d0455a114f4b06073 |
02-Apr-2014 |
Dmitriy Ivanov <dimitry@google.com> |
am 7fab9e6b: am de2f642a: Merge "Build libprofile_rt to enable code coverage" * commit '7fab9e6be6fa5c3c7dace7832dfaddb996218fb2': Build libprofile_rt to enable code coverage
|
7fab9e6be6fa5c3c7dace7832dfaddb996218fb2 |
02-Apr-2014 |
Dmitriy Ivanov <dimitry@google.com> |
am de2f642a: Merge "Build libprofile_rt to enable code coverage" * commit 'de2f642ae7c903e79b350b567a339d481b5f91a7': Build libprofile_rt to enable code coverage
|
de2f642ae7c903e79b350b567a339d481b5f91a7 |
02-Apr-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Merge "Build libprofile_rt to enable code coverage"
|
ba9a7b37ffac9156693ae0ceeef37b1f167cb1d6 |
11-Mar-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Build libprofile_rt to enable code coverage Change-Id: I99239cf5e43c78fc06d6ad9f3b6718531baa2983
ndroid.mk
|
4daeb0017aca1f23592cfafc329c1c21f8531909 |
20-Mar-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
69a3e2ae45485c837052aac6b260f2b32266a973 |
19-Mar-2014 |
Narayan Kamath <narayan@google.com> |
am 7a86fba9: am d5475a33: Merge "Start building __clear_cache." * commit '7a86fba9513efb4be3840f92ce3de4a48e305372': Start building __clear_cache.
|
7a86fba9513efb4be3840f92ce3de4a48e305372 |
19-Mar-2014 |
Narayan Kamath <narayan@google.com> |
am d5475a33: Merge "Start building __clear_cache." * commit 'd5475a33c50b35a4f9fa81001232d1fc0a9b29db': Start building __clear_cache.
|
d5475a33c50b35a4f9fa81001232d1fc0a9b29db |
19-Mar-2014 |
Narayan Kamath <narayan@google.com> |
Merge "Start building __clear_cache."
|
1a34dac4a54cafaaece27c4f3fe3ed0affbca938 |
14-Mar-2014 |
Narayan Kamath <narayan@google.com> |
Start building __clear_cache. Change-Id: Idafa6b0a78575ea5411c767bddb1d211b1daa50b
ndroid.mk
|
116250fabe227150333b47fdce835410ec13a3d4 |
15-Mar-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
db9dbb8a2d60de31fefc97482d2857f3d7e48686 |
15-Mar-2014 |
Colin Cross <ccross@android.com> |
am 84be3475: am c88f7b5d: Merge "compiler-rt: build libcompiler_rt-extras" * commit '84be3475711ee6054823fc98f51a73ac9e74bd55': compiler-rt: build libcompiler_rt-extras
|
84be3475711ee6054823fc98f51a73ac9e74bd55 |
15-Mar-2014 |
Colin Cross <ccross@android.com> |
am c88f7b5d: Merge "compiler-rt: build libcompiler_rt-extras" * commit 'c88f7b5d40a0563f2e1b6483856b7fbf9f1e8e97': compiler-rt: build libcompiler_rt-extras
|
c88f7b5d40a0563f2e1b6483856b7fbf9f1e8e97 |
15-Mar-2014 |
Colin Cross <ccross@android.com> |
Merge "compiler-rt: build libcompiler_rt-extras"
|
47ca89cea5ecba05b383df2fc816de66b3d961f6 |
15-Mar-2014 |
Colin Cross <ccross@android.com> |
compiler-rt: build libcompiler_rt-extras libcompiler_rt-extras is needed even when compiling with gcc, move it outside the WITHOUT_TARGET_CLANG. Change-Id: Ia919ed93da833b29eff8cad307df04cf8e57ca43
ndroid.mk
|
3f20a19ef70883a05487b42db9de98536570f4b4 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am f6192a2d: am 3566fe27: Merge "Fix build break by not building compiler-rt without clang." * commit 'f6192a2d3350c792c82aee9ca4d6935d80a590a3': Fix build break by not building compiler-rt without clang.
|
f6192a2d3350c792c82aee9ca4d6935d80a590a3 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am 3566fe27: Merge "Fix build break by not building compiler-rt without clang." * commit '3566fe27f755b48da872610ac4036027db145f7b': Fix build break by not building compiler-rt without clang.
|
3566fe27f755b48da872610ac4036027db145f7b |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
Merge "Fix build break by not building compiler-rt without clang."
|
4b4f557b295efe886cb7b4199f136afa9c6db6e8 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
Fix build break by not building compiler-rt without clang. bug 13343378 Change-Id: I40b29dd717ab2dae4de7069229810e10af09f615
ndroid.mk
|
91413f4ccacea04635e98eb1682d64da83f4e555 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am d4558e7c: am 40b8e5d8: Merge "Make compiler-rt build for ARM64." * commit 'd4558e7cf7f0517997e0628c091e70375d8f4e14': Make compiler-rt build for ARM64.
|
cdae84ae96705cfff4b4d35c375c8ee3d58d1a21 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am a5545e1b: am 21cfcdc3: Merge "Implement Android versions of __clear_cache for arm32 & mips." * commit 'a5545e1b29685bb20816658d2c2f238b9c60da5f': Implement Android versions of __clear_cache for arm32 & mips.
|
066ca663ececf41ad15dedcededab95128d928c5 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am d94e662c: am 8b5b0809: Merge "Cache invalidation for AARCH64. Disabled for Apple for now as requested by Tim Northover. Written by Matt Thomas." * commit 'd94e662c7f1ead3b1df4aa0216c3b5c88705fc99': Cache invalidation for AARCH64. Disabled for Apple for now as requested by Tim Northover. Written by Matt Thomas.
|
d4558e7cf7f0517997e0628c091e70375d8f4e14 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am 40b8e5d8: Merge "Make compiler-rt build for ARM64." * commit '40b8e5d8a4c13f37a59bd3d2a6dfd8e1cf7d1680': Make compiler-rt build for ARM64.
|
a5545e1b29685bb20816658d2c2f238b9c60da5f |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am 21cfcdc3: Merge "Implement Android versions of __clear_cache for arm32 & mips." * commit '21cfcdc3fc6a7a96391d5c2a8a9a75dcfd8f03da': Implement Android versions of __clear_cache for arm32 & mips.
|
d94e662c7f1ead3b1df4aa0216c3b5c88705fc99 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
am 8b5b0809: Merge "Cache invalidation for AARCH64. Disabled for Apple for now as requested by Tim Northover. Written by Matt Thomas." * commit '8b5b0809e343d1910c8b2f5c8684b9cc2bb95e3d': Cache invalidation for AARCH64. Disabled for Apple for now as requested by Tim Northover. Written by Matt Thomas.
|
40b8e5d8a4c13f37a59bd3d2a6dfd8e1cf7d1680 |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
Merge "Make compiler-rt build for ARM64."
|
21cfcdc3fc6a7a96391d5c2a8a9a75dcfd8f03da |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
Merge "Implement Android versions of __clear_cache for arm32 & mips."
|
8b5b0809e343d1910c8b2f5c8684b9cc2bb95e3d |
15-Mar-2014 |
Tim Murray <timmurray@google.com> |
Merge "Cache invalidation for AARCH64. Disabled for Apple for now as requested by Tim Northover. Written by Matt Thomas."
|
6731c5590dadf4d65fae4d75e03a724aba0cadc9 |
10-Mar-2014 |
Tim Murray <timmurray@google.com> |
Make compiler-rt build for ARM64. bug 13343378 Change-Id: I4d913626524969a3a3aa5d34af0a6049e95ece5a
ndroid.mk
|
423cdd62aca2826d0654f4cf529d15860b5f1827 |
12-Mar-2014 |
Daniel Sanders <daniel.sanders@imgtec.com> |
Implement Android versions of __clear_cache for arm32 & mips. The MIPS version was reviewed by myself. The ARM version was reviewed by JF Bastien. Patch by Narayan Kamath <narayan@google.com>. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203674 91177308-0d34-0410-b5e6-96231b3b80d8
ib/clear_cache.c
|
4845f5dfb767264a797d763e9504116379a15129 |
28-Jan-2014 |
Joerg Sonnenberger <joerg@bec.de> |
Cache invalidation for AARCH64. Disabled for Apple for now as requested by Tim Northover. Written by Matt Thomas. Differential Revision: http://llvm-reviews.chandlerc.com/D2631 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200317 91177308-0d34-0410-b5e6-96231b3b80d8 Conflicts: lib/clear_cache.c Change-Id: I08417a541c413205382a1abea36d941bb30727b6
ib/clear_cache.c
|
8084cdc502d0d7fa16a727a59aa102500137c100 |
22-Feb-2014 |
Colin Cross <ccross@android.com> |
am 21df0c25: am 79486e1b: am 9192b222: Merge "compiler-rt: convert makefiles to support multilib build" * commit '21df0c252699219d522f05f96435d028ab07954b':
|
ac37692fb3354fe3d032368e4567a6b6b42a895e |
22-Feb-2014 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
am 327fac20: am fd43df62: [sanitizer] Disable 3 more syscall hooks on Android. * commit '327fac202fb82ac17eaa46e22c9af44fa5fb0852':
|
8d89c23489bc9edbf9e8f0da6e1e8c83e61f6f97 |
22-Feb-2014 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
am 38f90da9: am 25ecb75e: [sanitizer] struct ustat and a bunch of other definitions are missing on Android. * commit '38f90da91d682185b89c130b5b327730f8c1f184':
|
8a0c0696bc7e5f79a06dc5eac04eead16bff7be9 |
22-Feb-2014 |
Stephen Hines <srhines@google.com> |
am d5f6e58f: am 21b5c4df: Update compiler-rt for merge to 3.4. * commit 'd5f6e58fb00e2836d0544ee2da211052508cbf70':
|
1f31ba415b95a59b0f44acc129fa2fc0c822206a |
22-Feb-2014 |
Stephen Hines <srhines@google.com> |
am 88daa4d5: am 0a7c7f9f: Merge remote-tracking branch \'upstream/release_34\' into merge-20140211 * commit '88daa4d5ba506fe42a6b8f6870c040c025a076e9':
|
21df0c252699219d522f05f96435d028ab07954b |
21-Feb-2014 |
Colin Cross <ccross@android.com> |
am 79486e1b: am 9192b222: Merge "compiler-rt: convert makefiles to support multilib build" * commit '79486e1b5331b54a85fe89f87932312fa3a2a896':
|
327fac202fb82ac17eaa46e22c9af44fa5fb0852 |
21-Feb-2014 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
am fd43df62: [sanitizer] Disable 3 more syscall hooks on Android. * commit 'fd43df62a16dd1640aa14f1ffe650c147045f690': [sanitizer] Disable 3 more syscall hooks on Android.
|
38f90da91d682185b89c130b5b327730f8c1f184 |
21-Feb-2014 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
am 25ecb75e: [sanitizer] struct ustat and a bunch of other definitions are missing on Android. * commit '25ecb75efb30f8a8f80cc89c3a1cb83508e7bacf': [sanitizer] struct ustat and a bunch of other definitions are missing on Android.
|
d5f6e58fb00e2836d0544ee2da211052508cbf70 |
21-Feb-2014 |
Stephen Hines <srhines@google.com> |
am 21b5c4df: Update compiler-rt for merge to 3.4. * commit '21b5c4df776d34aaa4d1b793b7667aa8353492dd': Update compiler-rt for merge to 3.4.
|
88daa4d5ba506fe42a6b8f6870c040c025a076e9 |
21-Feb-2014 |
Stephen Hines <srhines@google.com> |
am 0a7c7f9f: Merge remote-tracking branch \'upstream/release_34\' into merge-20140211 * commit '0a7c7f9f98cdaf562627fac735f115c5b9c872a3': (473 commits) Remove a duplicate declaration which broke the compiler-rt build Merging r-196802: ------------------------------------------------------------------------ r196802 | chandlerc | 2013-12-09 11:25:51 -0800 (Mon, 09 Dec 2013) | 11 lines Merging r196779: ------------------------------------------------------------------------ r196779 | samsonov | 2013-12-09 05:21:43 -0800 (Mon, 09 Dec 2013) | 11 lines Readd the prototype. Merging r196802: ------------------------------------------------------------------------ r196802 | chandlerc | 2013-12-09 11:25:51 -0800 (Mon, 09 Dec 2013) | 11 lines Merging r196809: ------------------------------------------------------------------------ r196809 | rsmith | 2013-12-09 11:52:39 -0800 (Mon, 09 Dec 2013) | 2 lines Merging r196799: ------------------------------------------------------------------------ r196799 | wdietz2 | 2013-12-09 11:04:33 -0800 (Mon, 09 Dec 2013) | 1 line Merging r196612: ------------------------------------------------------------------------ r196612 | wdietz2 | 2013-12-06 13:49:18 -0800 (Fri, 06 Dec 2013) | 1 line Merging r196501: ------------------------------------------------------------------------ r196501 | samsonov | 2013-12-05 16:53:36 +0400 (Thu, 05 Dec 2013) | 1 line [asan] port r196375 to 3.4 Merging r195791: ------------------------------------------------------------------------ Merging r195652: ------------------------------------------------------------------------ r195652 | smatveev | 2013-11-25 19:54:31 +0400 (Mon, 25 Nov 2013) | 3 lines Merging r195643: ------------------------------------------------------------------------ r195643 | smatveev | 2013-11-25 18:30:37 +0400 (Mon, 25 Nov 2013) | 1 line Merging r195642: ------------------------------------------------------------------------ r195642 | smatveev | 2013-11-25 18:25:36 +0400 (Mon, 25 Nov 2013) | 5 lines Merging r195570: ------------------------------------------------------------------------ r195570 | smatveev | 2013-11-24 18:28:18 +0400 (Sun, 24 Nov 2013) | 4 lines [ASan] Backport r195125, r195132, r195216 to LLVM 3.4 branch. Merging r195442: ------------------------------------------------------------------------ r195442 | eugenis | 2013-11-22 15:01:43 +0400 (Fri, 22 Nov 2013) | 2 lines Merging r195436: ------------------------------------------------------------------------ r195436 | eugenis | 2013-11-22 14:09:34 +0400 (Fri, 22 Nov 2013) | 2 lines Merging r195434: ------------------------------------------------------------------------ r195434 | eugenis | 2013-11-22 13:32:39 +0400 (Fri, 22 Nov 2013) | 4 lines Merging r195433: ------------------------------------------------------------------------ r195433 | eugenis | 2013-11-22 13:26:10 +0400 (Fri, 22 Nov 2013) | 2 lines ...
|
790ab0efb59b084c34498f9f79f5a4ec134e7b06 |
19-Feb-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
79486e1b5331b54a85fe89f87932312fa3a2a896 |
19-Feb-2014 |
Colin Cross <ccross@android.com> |
am 9192b222: Merge "compiler-rt: convert makefiles to support multilib build" * commit '9192b222761350da80fdb1e375a39167a6b02431': compiler-rt: convert makefiles to support multilib build
|
9192b222761350da80fdb1e375a39167a6b02431 |
19-Feb-2014 |
Colin Cross <ccross@android.com> |
Merge "compiler-rt: convert makefiles to support multilib build"
|
34175206cf6a2759b7756b6042bb0e54b41bae1e |
17-Feb-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
fd43df62a16dd1640aa14f1ffe650c147045f690 |
10-Feb-2014 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable 3 more syscall hooks on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201070 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
25ecb75efb30f8a8f80cc89c3a1cb83508e7bacf |
10-Feb-2014 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] struct ustat and a bunch of other definitions are missing on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201068 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
21b5c4df776d34aaa4d1b793b7667aa8353492dd |
09-Feb-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to 3.4. Adjust Android.mk for added/removed files: + sanitizer_coverage.cc + sanitizer_libignore.cc + sanitizer_platform_limits_linux.cc + sanitizer_platform_limits_posix.cc - sanitizer_platform_limits_posix.cc - sanitizer_symbolizer_itanium.cc + sanitizer_stacktrace_libcdep.cc + sanitizer_stoptheworld_linux_libcdep.cc + sanitizer_suppressions.cc + sanitizer_symbolizer.cc - sanitizer_symbolizer_linux.cc - sanitizer_symbolizer_linux_libcdep.cc - sanitizer_symbolizer_mac.cc Change-Id: Ib5cf33dfc36be70f87bca5ec62ee70e29ee2b1ce
EADME.android
ib/asan/Android.mk
|
0a7c7f9f98cdaf562627fac735f115c5b9c872a3 |
12-Feb-2014 |
Stephen Hines <srhines@google.com> |
Merge remote-tracking branch 'upstream/release_34' into merge-20140211
|
4edb899f7eae65f2b85dd830a03d81533a8d41cd |
10-Feb-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
75d873d8fc8341b2c48954737995b49e0bc1ab6c |
05-Feb-2014 |
Colin Cross <ccross@android.com> |
compiler-rt: convert makefiles to support multilib build Convert makefiles to allow for building two architectures at the same time. Change-Id: I880c1b6bccf53ff30b19e4eb91a71ef72c8c0ffe
ndroid.mk
|
66fa8cbfc4cd6102d1bc54245b8943e8d814688e |
06-Feb-2014 |
Elliott Hughes <enh@google.com> |
Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"
|
35170e64992b5091c67fa4230ac2436f5b3a5381 |
21-Jan-2014 |
Duane Sand <duane.sand@imgtec.com> |
[MIPS64] Temporary placeholder build, to allow other projects to build Change-Id: Ic578b00fe9e37f3b25b7a723e361df6fa23ae5a5
ndroid.mk
|
383a2067ad012143ebd6a0e847cec21d76c092f5 |
27-Jan-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
9bcebc15fb206cc523c6b487a5c4c7e6e12c1c93 |
24-Jan-2014 |
Colin Cross <ccross@android.com> |
Merge "compiler-rt: rename aarch64 target to arm64"
|
5b6343b9c08e004ad04fccd91429d873ce9b8cf7 |
22-Jan-2014 |
Colin Cross <ccross@android.com> |
compiler-rt: rename aarch64 target to arm64 Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
ndroid.mk
|
c21e0a7a9909dc77bbc94099b9346d99d7fb95f1 |
22-Jan-2014 |
The Android Automerger <android-build@google.com> |
merge in master-release history after reset to master
|
5f5118d521c5814921e1a95888eaab5adfb16277 |
22-Jan-2014 |
Stephen Hines <srhines@google.com> |
Merge "Fix compilation issues on x86_64"
|
9939506f2e20a9989daf409ed1979f43de0a6222 |
17-Jan-2014 |
Alexey Volkov <alexey.v.volkov@intel.com> |
Fix compilation issues on x86_64 Change-Id: I130b466dc42d18706d4443caec52c9896ac98255
ndroid.mk
|
763455047aa43f5b06c79ec3a253b39413dbf962 |
15-Jan-2014 |
Stephen Hines <srhines@google.com> |
Merge "Revert "Fix compilation issues on x86_64""
ndroid.mk
|
c52f7f75441fcff1e42f268a837d44624abbc1a5 |
15-Jan-2014 |
Stephen Hines <srhines@google.com> |
Merge "Revert "Fix compilation issues on x86_64""
|
349a761a03863d50ee446cf49a5a85a6a7323a05 |
15-Jan-2014 |
Stephen Hines <srhines@google.com> |
Revert "Fix compilation issues on x86_64" This reverts commit fd2736f2cfea8e111a738b8391a3783828e80382.
ndroid.mk
|
0fe84827dd0edba0e79a4e35452035ba94d3eacf |
14-Jan-2014 |
Stephen Hines <srhines@google.com> |
Merge "Fix compilation issues on x86_64"
|
654a5af4d0aef2311d7442cc937c7d4b4f4717dc |
16-Dec-2013 |
Sylvestre Ledru <sylvestre@debian.org> |
Remove a duplicate declaration which broke the compiler-rt build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197381 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
7f790caa37ec1c9807c877297d30e040e83ed215 |
16-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r-196802: ------------------------------------------------------------------------ r196802 | chandlerc | 2013-12-09 11:25:51 -0800 (Mon, 09 Dec 2013) | 11 lines Revert three patches which were committed without explicit contribution by their authors. This may break builds where others added code relying on these patches, but please *do not* revert this commit. Instead, we will prepare patches which fix the failures. Reverts the following commits: r168306: "[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu" r168356: "[asan] more support for powerpc, patch by Peter Bergner" r196489: "[sanitizer] fix the ppc32 build (patch by Jakub Jelinek)" ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197360 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mapping.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/sanitizer_stacktrace.cc
|
388e818799d1fc47fd287d59bf22100f5244f74c |
15-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r196779: ------------------------------------------------------------------------ r196779 | samsonov | 2013-12-09 05:21:43 -0800 (Mon, 09 Dec 2013) | 11 lines PR17977: don't assume EOWNERDEAD is always defined Summary: See details in http://llvm.org/bugs/show_bug.cgi?id=17977 Reviewers: dvyukov Reviewed By: dvyukov CC: glider, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2340 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197353 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
dc836fe19cc1111c8a2d452d059a0d8ddf732464 |
11-Dec-2013 |
Ben Cheng <bccheng@android.com> |
Merge "AArch64: Temporarily disable AArch64 build"
|
e3c30bfc1e34e323bf83ed3f062e4251778007b2 |
20-Oct-2013 |
Serban Constantinescu <serban.constantinescu@arm.com> |
AArch64: Temporarily disable AArch64 build This patch disables AArch64 build and will get us going with building bionic. Needs to be reverted once upstream llvm support is integrated into AOSP (AArch64 backend). Change-Id: I6c3df8b93720633e4ca50e8d8e0d1162a86e33ad Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
ndroid.mk
|
4b206b33f2ed4e5a06694c9eb388aca6a0c81b58 |
11-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Readd the prototype. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.h
|
24861607cb3c606ad46e724456eb851558c85330 |
11-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r196802: ------------------------------------------------------------------------ r196802 | chandlerc | 2013-12-09 11:25:51 -0800 (Mon, 09 Dec 2013) | 11 lines Revert three patches which were committed without explicit contribution by their authors. This may break builds where others added code relying on these patches, but please *do not* revert this commit. Instead, we will prepare patches which fix the failures. Reverts the following commits: r168306: "[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu" r168356: "[asan] more support for powerpc, patch by Peter Bergner" r196489: "[sanitizer] fix the ppc32 build (patch by Jakub Jelinek)" ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197011 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mapping.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
2bbe0d1429a46cb93aafc055de6a8f1b5433e454 |
11-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r196809: ------------------------------------------------------------------------ r196809 | rsmith | 2013-12-09 11:52:39 -0800 (Mon, 09 Dec 2013) | 2 lines Unbreak build by adding an implementation of PopStackFrames function. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197010 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
e1a6a9aa854641f118369f478ad2b1d30c456ec8 |
10-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r196799: ------------------------------------------------------------------------ r196799 | wdietz2 | 2013-12-09 11:04:33 -0800 (Mon, 09 Dec 2013) | 1 line ubsan: Fix typo in 'TypeCheck/vptr.cpp' test to resolve 32bit failure. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@196871 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TestCases/TypeCheck/vptr.cpp
|
48d6b10c74138db9298a2eda28d5c7f5ae72ea42 |
10-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r196612: ------------------------------------------------------------------------ r196612 | wdietz2 | 2013-12-06 13:49:18 -0800 (Fri, 06 Dec 2013) | 1 line Fix integer tests on platforms where uint64_t is 'unsigned long long'. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@196870 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TestCases/Integer/no-recover.cpp
ib/ubsan/lit_tests/TestCases/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/usub-overflow.cpp
|
fd2736f2cfea8e111a738b8391a3783828e80382 |
06-Dec-2013 |
Alexey Volkov <alexey.v.volkov@intel.com> |
Fix compilation issues on x86_64 Change-Id: Ife27f2737aa45e8132a0b4a221efcd94688772c7 Signed-off-by: Alexey Volkov <alexey.v.volkov@intel.com>
ndroid.mk
|
a320b596bedf15789acfd8e57754df4aa479826e |
05-Dec-2013 |
Alexey Samsonov <samsonov@google.com> |
Merging r196501: ------------------------------------------------------------------------ r196501 | samsonov | 2013-12-05 16:53:36 +0400 (Thu, 05 Dec 2013) | 1 line Run TSan/MSan lit tests only on 64-bit platforms ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@196502 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/CMakeLists.txt
ib/msan/lit_tests/lit.cfg
ib/tsan/lit_tests/CMakeLists.txt
ib/tsan/lit_tests/lit.cfg
|
b37127085cbcc79f5f859bfab8e7204201c18287 |
05-Dec-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] port r196375 to 3.4 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@196478 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
|
8950403ed5c8f26d2604d2494f074c13c4263429 |
27-Nov-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r195791: ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195820 91177308-0d34-0410-b5e6-96231b3b80d8
|
28e41fed078ce7a457a1ab8de1b07407266695fb |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195652: ------------------------------------------------------------------------ r195652 | smatveev | 2013-11-25 19:54:31 +0400 (Mon, 25 Nov 2013) | 3 lines [lsan] Unbreak lsan_testlib.cc. Also, add missing logging output. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195668 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
ib/lsan/lsan_preinit.cc
ib/lsan/tests/lsan_testlib.cc
|
cf2469dc14ad84374d59f286a41cc1c9b190c0e4 |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195643: ------------------------------------------------------------------------ r195643 | smatveev | 2013-11-25 18:30:37 +0400 (Mon, 25 Nov 2013) | 1 line [lsan] Add a missing file. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195667 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_preinit.cc
|
74c88796a4024922144660ed1ade519af5008fe2 |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195642: ------------------------------------------------------------------------ r195642 | smatveev | 2013-11-25 18:25:36 +0400 (Mon, 25 Nov 2013) | 5 lines [lsan] Unbreak standalone LSan's initialization by making it more like ASan's. No longer allow interceptors to be called during initialization, use the preinit array (instead of initializing at the first call to an intercepted function) and adopt the calloc() hack from ASan. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195666 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/CMakeLists.txt
ib/lsan/lsan.cc
ib/lsan/lsan.h
ib/lsan/lsan_interceptors.cc
|
12f610efe6f48efb2d03b985b3b2a36d4556fca7 |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195570: ------------------------------------------------------------------------ r195570 | smatveev | 2013-11-24 18:28:18 +0400 (Sun, 24 Nov 2013) | 4 lines [lsan] Use real memset to clear memory in standalone LSan. Performance improvement. Also, the allocator was using CompactSizeClassMap for no good reason, so I switched it to DefaultSizeClassMap. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195665 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_allocator.cc
|
d5c29a8584d5284ae4cf7e7176efe0692ccde5c0 |
22-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Backport r195125, r195132, r195216 to LLVM 3.4 branch. These patches should fix building asan_iossim_dynamic (the ASan runtime targeting iOS simulator). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195465 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ake/platform/clang_darwin.mk
|
0d2a93500c4b071977a9ee89dbc24586fe54bca5 |
22-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Merging r195442: ------------------------------------------------------------------------ r195442 | eugenis | 2013-11-22 15:01:43 +0400 (Fri, 22 Nov 2013) | 2 lines [sanitizer] Fix kernel headers compatibility on powerpc64. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195464 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
f17dd743288942a36f82e09706f18477b27f603d |
22-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Merging r195436: ------------------------------------------------------------------------ r195436 | eugenis | 2013-11-22 14:09:34 +0400 (Fri, 22 Nov 2013) | 2 lines [sanitizer] Add kernel_stat definitions for arm. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195463 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
d7041c6617b10302be6849b55a88dc928fd7f6b8 |
22-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Merging r195434: ------------------------------------------------------------------------ r195434 | eugenis | 2013-11-22 13:32:39 +0400 (Fri, 22 Nov 2013) | 4 lines [sanitizer] Restore perf_event_attr handling. This time in a forward/backward compatible way. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195462 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
43e7e4ec3743b46a1d2e8f268d02c976c9e8e5a6 |
22-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Merging r195433: ------------------------------------------------------------------------ r195433 | eugenis | 2013-11-22 13:26:10 +0400 (Fri, 22 Nov 2013) | 2 lines [sanitizer] Fix build. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195461 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
e1e68833ddbebf4827690218763c0be5b91104e7 |
22-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Merging r195427: ------------------------------------------------------------------------ r195427 | eugenis | 2013-11-22 13:01:50 +0400 (Fri, 22 Nov 2013) | 10 lines [sanitizer] Change the way we use certain linux kernel headers. Some linux headers are broken on older kernels. Instead of depending on the constants and types from such headers directly, we provide our own definitions and then verify them with compile-time assertions. This makes the dependency on the headers test-only and would allow switching to some other way of testing on older kernels, or even disable the tests as the last resort (after all, kernel interfaces are supposed to be stable). ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195460 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
8e9d80c4fdbf52be2eb381fd528d6fcd607df675 |
19-Nov-2013 |
Bill Wendling <isanbard@gmail.com> |
Creating release_34 branch git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195086 91177308-0d34-0410-b5e6-96231b3b80d8
|
91dee59b95624ce67c17377ed8b25c575d5ad685 |
18-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Run one of UAS tests in UAR mode as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195015 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/use-after-scope.cc
|
7214553322c51db3753c8fba0de394b519b7802c |
18-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_poisoning.cc
|
2991200255098ac0739952351b2eb2b487819eec |
18-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] introduce __sanitizer_annotate_contiguous_container git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195011 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_poisoning.cc
ib/asan/lit_tests/TestCases/contiguous_container.cc
ib/sanitizer_common/sanitizer_internal_defs.h
|
0fbf056b4dbe12f63cefe7488c76d08cb8b26788 |
18-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: make sure compiler-rt headers are copied to build tree if 'compilrer-rt' target is built git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195002 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/CMakeLists.txt
|
8b0c8a8b6fd2817b0697c255297ca9d48076fcbf |
18-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] support __hppa__ (by John David Anglin) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194995 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
ce64270a78fac8b4e388756402903757d5ed9103 |
17-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Build ASan on Windows only if MSVC is used git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194963 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
3125de9e3048bc505344053d3518cccab7ee6897 |
17-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: don't build sanitizer runtimes on 64-bit Windows (it's unsupported for now) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194958 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
|
c85d6274d127d988539ed6a35242d3f82c4eb5bf |
17-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[DFSan] Don't include public headers in dfsan runtime code Summary: Definitions we use in public sanitizer headers may slightly conflict with the ones we use in private sanitizer runtimes. Moreover, we generally forbid to include any system headers (like <stdint.h>) in sanitizer runtime headers. This leads to inevitable duplication of selected interface function declarations, but we decided to live with it. Reviewers: pcc Reviewed By: pcc CC: kcc, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2179 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194955 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/dfsan/dfsan.cc
ib/dfsan/dfsan.h
ib/dfsan/dfsan_custom.cc
ib/dfsan/dfsan_interceptors.cc
|
f7e060d01b766e1626a959bfecd383cf0ac76d66 |
16-Nov-2013 |
Tim Northover <tnorthover@apple.com> |
Revert premature instructions to build __sync_fetch_* My commits got a bit twisted when I was working on both embedded support and __sync stuff on the same branch. Sorry about that. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194886 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin_embedded.mk
|
868082b4f9eb6fd7f2f9c9cc36002afbfdf17802 |
16-Nov-2013 |
Tim Northover <tnorthover@apple.com> |
Add clang_darwin_embedded platform for embedded projects This should build a separate set of embedded runtime libraries, supporting the option product: {PIC, static} x { Hard-float, soft-float } The emphasis is on ARM platforms (Cortex-M4F, Cortex-M3, Cortex-M0) but X86 variants are also built where possible. rdar://problem/10817205 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194873 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/Makefile.mk
ib/int_util.c
ake/platform/clang_darwin_embedded.mk
|
efb0226d4bc5a61e26851271e1aec2dd0e1f6781 |
15-Nov-2013 |
Bob Wilson <bob.wilson@apple.com> |
Remove #include of net/ip_mroute.h for SANITIZER_MAC. This header has not been supported at all for the last 2 major OS X releases. Removed its include and the capture of related symbols. <rdar://problem/15303348> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194841 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
11f5309ec1bf13430c8a3a16f177d9e8e1190e38 |
15-Nov-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add support for robust mutexes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194823 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/lit_tests/mutex_robust.cc
ib/tsan/lit_tests/mutex_robust2.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
|
8975fa7ba8b508ba2d56c75e4f910da78ad3eee4 |
15-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add the configure+make rules for building the ASan runtime for iOS simulator. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194813 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
106cb08a2457444e2d66404917ed3bd31b3c0726 |
15-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] helper script to dump/merge coverage data git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194809 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/sancov.py
|
6a58b0078a94195f963fede873068d7a0982c509 |
15-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make slow unwinder on Linux more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194805 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/double-free.cc
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
5b2d43008240767872d0fe4913b3e5b784954e43 |
15-Nov-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add proper cfi directives to assembly code this allows gdb to unwind through our hacky call git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194803 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
|
ace535093b49019488d9ddcda295fc48fe617b1f |
15-Nov-2013 |
Chandler Carruth <chandlerc@gmail.com> |
LLVM's GoogleTest copy has moved its source code back to the default location, update this reference to reflect that. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194802 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
|
af1a7141afb058e044d4d3c2746abf491771e45b |
15-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
Don't build unsupported compiler-rt pieces on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194796 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
dbd69cc9ccda50efd0305cd0ce9bad50defe4b42 |
15-Nov-2013 |
Bob Wilson <bob.wilson@apple.com> |
Reapply asan coverage changes 194702-194704. I still don't know what is causing our bootstrapped LTO buildbots to fail, but llvm r194701 seems to be OK and I can't imagine that these changes could cause the problem. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194790 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/Linux/coverage.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_coverage.cc
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_symbolize.cc
|
ae51c273d55fa172908cf940c238eacec0f73223 |
15-Nov-2013 |
Bob Wilson <bob.wilson@apple.com> |
Speculatively revert asan coverage changes 194702-194704. Apple's bootstrapped LTO builds have been failing, and these changes (along with llvm 194701) are the only things on the blamelist. I will either reapply these changes or help debug the problem, depending on whether this fixes the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194779 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/Linux/coverage.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_coverage.cc
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_symbolize.cc
|
e767e350b1a6461bc29cfea28af75f908d7da56e |
14-Nov-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: disable pthread_setname_np interceptor it does not work anyway and can cause significant slowdown git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194711 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
1170865d797f338b71d8b9d20297f3d9015144be |
14-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] unbreak dfsan, which includes sanitizer/common_interface_defs.h into internal sources (although it shoudn't) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194704 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/sanitizer_common/sanitizer_coverage.cc
ib/sanitizer_common/sanitizer_internal_defs.h
|
9ae2ca693a89c4f5c7e67788038ea84c328b8b1b |
14-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] disable CovDump on Windows for now (fails to compile) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194703 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_coverage.cc
|
68e16eb59c7f654cdb98a2811b3a42612b58a735 |
14-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] Poor man's coverage that works with ASan (compiler-rt part) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194702 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/Linux/coverage.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_coverage.cc
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_symbolize.cc
|
b9ac7162892b283f05b70b6d79eb92119712ff0d |
14-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] A test for r194697. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194699 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/wrap_indirect_calls.cc
ib/msan/lit_tests/wrap_indirect_calls/caller.cc
ib/msan/lit_tests/wrap_indirect_calls/lit.local.cfg
ib/msan/lit_tests/wrap_indirect_calls/one.cc
ib/msan/lit_tests/wrap_indirect_calls/two.cc
ib/msan/lit_tests/wrap_indirect_calls/wrapper.cc
|
5e43cfa5e7f6d344f4b0a6a9f7a4b2811d5b8bab |
14-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[UBSan] Make sure ASan and UBSan interact properly by running each test from UBSan test suite with and without ASan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194698 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/AsanConfig/lit.cfg
ib/ubsan/lit_tests/AsanConfig/lit.site.cfg.in
ib/ubsan/lit_tests/CMakeLists.txt
ib/ubsan/lit_tests/Float/cast-overflow.cpp
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/div-overflow.cpp
ib/ubsan/lit_tests/Integer/div-zero.cpp
ib/ubsan/lit_tests/Integer/incdec-overflow.cpp
ib/ubsan/lit_tests/Integer/mul-overflow.cpp
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/lit_tests/Integer/no-recover.cpp
ib/ubsan/lit_tests/Integer/shift.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/Integer/uincdec-overflow.cpp
ib/ubsan/lit_tests/Integer/umul-overflow.cpp
ib/ubsan/lit_tests/Integer/usub-overflow.cpp
ib/ubsan/lit_tests/Misc/bool.cpp
ib/ubsan/lit_tests/Misc/bounds.cpp
ib/ubsan/lit_tests/Misc/deduplication.cpp
ib/ubsan/lit_tests/Misc/enum.cpp
ib/ubsan/lit_tests/Misc/missing_return.cpp
ib/ubsan/lit_tests/Misc/unreachable.cpp
ib/ubsan/lit_tests/Misc/vla.c
ib/ubsan/lit_tests/TestCases/Float/cast-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/add-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/div-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/div-zero.cpp
ib/ubsan/lit_tests/TestCases/Integer/incdec-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/mul-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/negate-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/no-recover.cpp
ib/ubsan/lit_tests/TestCases/Integer/shift.cpp
ib/ubsan/lit_tests/TestCases/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/uincdec-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/umul-overflow.cpp
ib/ubsan/lit_tests/TestCases/Integer/usub-overflow.cpp
ib/ubsan/lit_tests/TestCases/Misc/bool.cpp
ib/ubsan/lit_tests/TestCases/Misc/bounds.cpp
ib/ubsan/lit_tests/TestCases/Misc/deduplication.cpp
ib/ubsan/lit_tests/TestCases/Misc/enum.cpp
ib/ubsan/lit_tests/TestCases/Misc/missing_return.cpp
ib/ubsan/lit_tests/TestCases/Misc/unreachable.cpp
ib/ubsan/lit_tests/TestCases/Misc/vla.c
ib/ubsan/lit_tests/TestCases/TypeCheck/Function/function.cpp
ib/ubsan/lit_tests/TestCases/TypeCheck/Function/lit.local.cfg
ib/ubsan/lit_tests/TestCases/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TestCases/TypeCheck/null.cpp
ib/ubsan/lit_tests/TestCases/TypeCheck/vptr.cpp
ib/ubsan/lit_tests/TypeCheck/Function/function.cpp
ib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TypeCheck/null.cpp
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/lit_tests/UbsanConfig/lit.cfg
ib/ubsan/lit_tests/UbsanConfig/lit.site.cfg.in
ib/ubsan/lit_tests/lit.cfg
ib/ubsan/lit_tests/lit.common.cfg
ib/ubsan/lit_tests/lit.site.cfg.in
|
8c6e4855ac47415f1f2863690860f24213638cb5 |
14-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Introduce a top-level target to collect all ASan runtimes and deps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194696 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/lit_tests/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
|
aed8584ec902e6fe67c03f1102feee6a3f1bdd14 |
14-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[UBSan] Update UBSan location rendering to match r194686 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194687 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_diag.cc
|
bb4697fe8cbe79c517e6f85713f2de6bd804209d |
14-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Print symbolized stack frame using a single Printf() call. This reduces the number of "write" syscalls performed to print a single stack frame description, and makes sanitizer output less intermixed with program output. Also, add a number of unit tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194686 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
694d85636b148dfcac37e5c23639baa8fe9abce9 |
14-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add print_summary runtime flag to disable error summaries (UBSan doesn't need them) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194685 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/print_summary.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
|
d2e32e323cca83b666ecd124ebfd1720232d0928 |
13-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove the stale dependency on the Foundation framework from the dynamic ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194583 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ake/platform/clang_darwin.mk
|
24d775e42b87f6d7464582eb8e5c2eed347224c5 |
13-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use same PC threshold in slow unwinder on all platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194580 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
1b17f5b79d58c5aff291dde05727ad0b215b81c6 |
13-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Do not rely on malloc context in allocator reports. Invoke a fatal stack trace unwinder when ASan prints allocator-relevant error reports (double-free, alloc-dealloc-mismatch, invalid-free). Thus we'll be able to print complete stack trace even if allocation/free stacks are not stored (malloc_context_size=0). Based on the patch by Yuri Gribov! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194579 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
ib/asan/lit_tests/TestCases/double-free.cc
ib/asan/lit_tests/TestCases/invalid-free.cc
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
|
348aac42b606dd2d4cec9d68a85bf0144bd7c2f3 |
13-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use new feature of FileCheck: provide multiple --check-prefix args git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194578 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/heap-overflow.cc
ib/asan/lit_tests/TestCases/large_func_test.cc
ib/asan/lit_tests/TestCases/null_deref.cc
ib/asan/lit_tests/TestCases/strncpy-overflow.cc
ib/asan/lit_tests/TestCases/use-after-free-right.cc
ib/asan/lit_tests/TestCases/use-after-free.cc
|
b527f7de80001569542e3f0ef4c7f4b0cb15cb67 |
13-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Don't call __asan_init() from certain interceptors on Darwin. Fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58994, which hadn't manifested in LLVM because libclang_rt.asan_osx_dynamic.dylib used to depend on the Foundation framework. Without that dependency some interceptors may be called from the system libraries before libSystem_initializer() is called, which lead to assertion failures in sanitizer_mac.cc (_NSGetEnviron() returns NULL). To fix the problem we fall back to the original functions in the common libsanitizer interceptors and the __cxa_atexit() interceptor on Darwin. This patch also prints a better error message in the case _NSGetEnviron() returns NULL. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194573 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/sanitizer_common/sanitizer_mac.cc
|
ae914e2fc00c60d0f8f8b9b06bcc8b0b2d470181 |
13-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a leak in tds (https://code.google.com/p/address-sanitizer/issues/detail?id=233) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194572 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
ib/asan/lit_tests/TestCases/Linux/tsd_dtor_leak.cc
|
7bb5d49a6402c5a1d20911e6992ebb7e9e4468c4 |
12-Nov-2013 |
Yuchen Wu <yuchenericwu@hotmail.com> |
Added summary info to GCDAProfiling. This function will be called by GCOVProfiling to write and update object and program summaries to be read in by llvm-cov. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194499 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
55c7947a742aa72530eef52d902e60e5571ac3cf |
12-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Specify a default value for each common runtime flag git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194479 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/lsan/lsan.cc
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
ib/tsan/rtl/tsan_flags.cc
|
0797ff48ae6a585382b6ff8bda98dfa72874e4d0 |
12-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Avoid needless use of stringification (#symver) in INTERCEPT_FUNCTION_VER. This is a workaround for clang-format bug (PR17874). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194468 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_linux.h
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/tsan/rtl/tsan_interceptors.cc
|
abd768d337ffc997392323a70c8c53e459173d9b |
11-Nov-2013 |
Tim Northover <tnorthover@apple.com> |
ARM: make assembly files compile Thumb2 with nop IT block. ARM's UAL syntax allows the same assembly file to be compiled in both ARM and Thumb mode. Conditional execution is handled by requiring the Thumb IT blocks, but essentially ignoring them when compiling for ARM. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/comparesf2.S
ib/arm/switch16.S
ib/arm/switch32.S
ib/arm/switch8.S
ib/arm/switchu8.S
ib/arm/udivmodsi4.S
ib/arm/udivsi3.S
ib/arm/umodsi3.S
|
6f94d718a4edee9ca6718cb09bf913cbabaa2422 |
11-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] One more test for r194374. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194375 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/insertvalue_origin.cc
|
a537ea99d3dcc4b2dc0033aee7ad5cb1b378efc7 |
11-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Warn if interception fails. This includes a clang-format pass over common interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194372 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/tsan/rtl/tsan_interceptors.cc
|
62355e98e83906e99a792441a72362005c740d4d |
11-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Sanity check for non-PIE. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194370 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_linux.cc
|
bb6bc9a0ae534ada3c0c2c226462c351c078d761 |
11-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Bypass pthread_attr_getdetachstate interceptor in compiler_rt code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194369 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
3366c5a79b2b5565602991d09b2bc4277e16ee84 |
09-Nov-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Remove a FIXME now that I can't reproduce the problem git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194331 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
7177d2bbb5850fb499d3e8910b2e05f5c6b025b0 |
09-Nov-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[Sanitizers] Share some stack walking code between Windows and Linux Reviewed at http://llvm-reviews.chandlerc.com/D2126 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194326 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_win.cc
|
49496747758bf44163768ce3e07e40c8f95ccba9 |
07-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add CMake configs for libclang_rt.asan_iossim_dynamic.dylib CMake changes to build the ASan runtime for the iOS simulator. This is a universal library targeting the same architectures as the OSX ASan runtime does, thus the iossim version can't live in the same universal libclang_rt.asan_osx_dynamic.dylib The difference between the OSX and iossim builds is in the -mios-simulator-version-min and -ios_simulator_version_min flags that tell Clang to compile and link iossim code. The iossim runtime can only be built on a machine with both Xcode and the iOS Simulator SDK installed. If xcodebuild -version -sdk iphonesimulator Path returns a nonempty path, it is used when compiling and linking the iossim runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194199 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/AddCompilerRT.cmake
ib/asan/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/lsan/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
f16dc4234098a22a9d0d56f0198d87905481e7fd |
07-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make StackTrace::Unwind the only public way to unwind a stack trace. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194196 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
cca3cc0fc367d221b41135b13cdbca810639b0cd |
07-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Presumable fix stack trace unwinding on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194195 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
e74968cbb29c80073e4ff440555e35f3fbed2f20 |
07-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Call Windows unwinder 'slow' and share StackTrace::Unwind across all platforms. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194193 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_posix_libcdep.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
ib/sanitizer_common/sanitizer_win.cc
|
e041c6024b3ebf1365c0f99732fc69c607577571 |
06-Nov-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] attempting to fix x32 build (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194155 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
7d4a9553bd3bc43a310e1d13dd699b79f814d77b |
06-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Use OS-specific matches in the malloc_context_size.cc lit test. The top stack frames for operator new and operator delete are different on Linux and Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194150 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/malloc_context_size.cc
|
e9e2b7f964413dccf4c724eb9ca39d2686cc29d4 |
06-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Disable back init-order checker. Make strict_init_order imply check_initialization_order git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194125 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/TestCases/init-order-atexit.cc
ib/asan/lit_tests/TestCases/init-order-dlopen.cc
ib/asan/lit_tests/TestCases/init-order-pthread-create.cc
|
4b9f050c2acab536356342ab96e6cc76c281ac24 |
06-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make sure slow stack unwinder doesn't return empty stacks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194107 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/malloc_context_size.cc
ib/sanitizer_common/sanitizer_linux_libcdep.cc
|
4197fa23ada9682343a15b68dde08c0249db172a |
05-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix a very unfortunate typo in origin copying. It was causing randomly missing origins. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194036 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
f7e6f383d9c661ccbcd986fc1478336f57f4ce7c |
03-Nov-2013 |
Bob Wilson <bob.wilson@apple.com> |
Push back various changes for building Apple's compiler-rt dylib. These changes had accumulated internally at Apple for no good reason. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193944 91177308-0d34-0410-b5e6-96231b3b80d8
ib/apple_versioning.c
ake/AppleBI.mk
ake/platform/darwin_bni.mk
|
e4f9f8a1296768a7a6b6646a3b241a379f4a5e15 |
02-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept strptime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193903 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
5492ff9a1730b6b7a6d7ab70a14e60be1f44b0c9 |
02-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept memccpy. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193897 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
8aa3d18712dec51d771523867305133ee41e006d |
01-Nov-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsna: do not call user code from within runtime (from fflush) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193880 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
50cdc5a0d78f400183bd9dc7c23a2ed6e733e48b |
01-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193873 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
|
c50f7962c823506109b6307209411b36e0d46abd |
01-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Switch to an older version of struct iocb that is found in the latest Android NDK. They are binary compatible, and we don't use any of the new fields anyway. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193870 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
7f80655d8283dbdf77bfee4a849eed4d59e95c7a |
01-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Kill use_stack_depot runtime flag and stack trace compression routines. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193868 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
2fb08720b11b4c339e191b90d85477c6a2dd74db |
01-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Unify summary reporting across all sanitizers. This change unifies the summary printing across sanitizers: now each tool uses specific version of ReportErrorSummary() method, which deals with symbolization of the top frame and formatting a summary message. This change modifies the summary line for ASan+LSan mode: now the summary mentions "AddressSanitizer" instead of "LeakSanitizer". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193864 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/lsan/lit_tests/TestCases/disabler.cc
ib/lsan/lit_tests/TestCases/do_leak_check_override.cc
ib/lsan/lit_tests/TestCases/ignore_object.cc
ib/lsan/lit_tests/TestCases/large_allocation_leak.cc
ib/lsan/lit_tests/TestCases/leak_check_at_exit.cc
ib/lsan/lit_tests/TestCases/link_turned_off.cc
ib/lsan/lit_tests/TestCases/pointer_to_self.cc
ib/lsan/lit_tests/TestCases/stale_stack_leak.cc
ib/lsan/lit_tests/TestCases/suppressions_default.cc
ib/lsan/lit_tests/TestCases/suppressions_file.cc
ib/lsan/lit_tests/TestCases/swapcontext.cc
ib/lsan/lit_tests/TestCases/use_after_return.cc
ib/lsan/lit_tests/TestCases/use_globals_initialized.cc
ib/lsan/lit_tests/TestCases/use_globals_uninitialized.cc
ib/lsan/lit_tests/TestCases/use_registers.cc
ib/lsan/lit_tests/TestCases/use_stacks.cc
ib/lsan/lit_tests/TestCases/use_stacks_threaded.cc
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/TestCases/use_tls_static.cc
ib/lsan/lit_tests/TestCases/use_unaligned.cc
ib/lsan/lsan_common.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
|
21bf90dcf562bd05df20eb55b8d0559017574ffb |
01-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Check that address is an app region before printing shadow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193863 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
|
bd65956821ebe3f4e1fb0b57892a5a443ad50c6f |
01-Nov-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enhance io_submti syscall handler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193848 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/Linux/syscalls.cc
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
a96c4dc70efa6e45b27640cdd9812e0817c9a75d |
01-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
Consistently use StackTrace::PrintStack in ASan, LSan and MSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193834 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
ib/lsan/lsan_common.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
66d91e3356a0c4d7aff3beaaaff3e87bbaec805c |
31-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan. Summary: TSan and MSan need to know if interceptor was called by the user code or by the symbolizer and use pre- and post-symbolization hooks for that. Make Symbolizer class responsible for calling these hooks instead. This would ensure the hooks are only called when necessary (during in-process symbolization, they are not needed for out-of-process) and save specific sanitizers from tracing all places in the code where symbolization will be performed. Reviewers: eugenis, dvyukov Reviewed By: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2067 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193807 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_symbolize.cc
ib/tsan/rtl/tsan_symbolize.h
|
b8a141f3783d796eabf45fabff82f3e08244e338 |
31-Oct-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Define SANITIZER_IOS when building for iOS or iOS simulator. Do not use struct stat64 and struct statfs64 when building for iOS, where __DARWIN_ONLY_64_BIT_INO_T is set to 1. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193775 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
ae7db43b4e8341c0f1c3166ffcf2b7c2aa7391f7 |
31-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept dlerror. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193760 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/dlerror.cc
ib/msan/msan_interceptors.cc
|
2bcd3b547e8de0d152aa41366defb83f3fe766b8 |
31-Oct-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make asan_symbolize.py fall back to ASAN_SYMBOLIZER_PATH (which is used when ASAN_OPTIONS=symbolize=1) if LLVM_SYMBOLIZER_PATH is empty. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193758 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
548559d8f5a889d98f50e06bc7c736182a53ec39 |
31-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Disable mlock/mlockall to work around a linux kernel bug. The same logic is present in ASan and TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193755 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
26fe5d396c5c99ddcd89b3f8722cea1d4940b9e9 |
31-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getline, getdelim. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193730 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/getline.cc
ib/msan/lit_tests/getline_test_data
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
6f5427b0ebc5ced4497f8ef00bd19fc0bd6c33b7 |
31-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Turn on (non-strict) initialization order checker by default for all ASan users git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193729 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
9afa4528e02c1531885ccaad903acd28dda54556 |
30-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msandr] Add check-before-write optimization. Replace blind store with check-before-store to avoid unnecessary memory stores. Patch by Qin Zhao. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193703 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/msandr.cc
|
a263425653a44ea823e2e071a7d1ab686b47c570 |
30-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Update comment in sanitizer_symbolizer.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193700 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.h
|
e00495aa0f3b114c7b764769d9450e5d2efb8e64 |
30-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use SpinMutex for Symbolizer initialization (per dvyukov's suggestion) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193697 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
|
1bb2229028dd78280d24c26b9efbe8476d966e05 |
30-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix syscall hooks build on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193670 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
1d1cd7a9becac1b7a4e4e00853af44ad52c6465a |
30-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[santiizer] Disable sincos interceptor in OSX. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193667 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
78d77c2638b8e02020737c9b296ce2198e4c58e6 |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept drand48_r, lrand48_r. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193655 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a0475713cdac8a55ed2a62cf9553ae6fbb2dbbc2 |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msandr] Remove use of std::set in msandr client to avoid reentrancy issues. Patch by Qin Zhao. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193654 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/msandr.cc
|
cc794ab9b8f9066ca7b790ca0dbb197d591e14c4 |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Maybe fix test failures on lld bots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193647 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
f814b43ed659512203439bc8c3f6d468155a1d3f |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept sincos, remquo, lgamma, lgamma_r. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193645 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
4b26afda2f4c7465260b22f1094c6699886cc55d |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msandr] Add support for standalone test. Add macro MSANDR_STANDALONE_TEST for standalone test without msan executables. Patch by Qin Zhao. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193643 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/CMakeLists.txt
ib/msandr/msandr.cc
|
0b76578bf5bf04a0674ac5a27ade01e3da26a0c9 |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[tsan] Fix unused variable warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193639 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
dfab31b93e954ee42622a13dd79e9e1092346035 |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193635 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
750b4ac400b96153bfe64fc70df3a8d3e2a565a3 |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193634 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
3ee98e37856935ac1d79d51364df73ce00d8218e |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Ptrace syscall handler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193633 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/Linux/syscalls.cc
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
3f8ce73999c1ef82a8a835e9e87b0d4ce8c5810b |
29-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] increase the max malloc size from 8Gb to 64Gb git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193615 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
5cf2c460e96e593b1c772f1b02d3a217f4837fdc |
29-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: support pthread_setname_np to set thread names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193602 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
ib/tsan/lit_tests/thread_name2.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
7996a2e2a1c461743c9216f13429c04d75050230 |
29-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags to turn on/off the symbolization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193587 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
ib/lsan/lsan_common.cc
ib/msan/msan.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
f3603890015c130420def39d67a02c2fdafc6f84 |
29-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept shmat. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193581 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
1767ec1c0d56bf9a4a5470ec5b28905e23892753 |
28-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix a typo and enable poison_in_free flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193529 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/poison_in_free.cc
ib/msan/msan.cc
|
f456018a324dc48668a57060f5ac9c838dfd9f32 |
28-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Revert r193501 and properly fix r193448 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193522 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
|
db92faf488988543b18aaac537ac5ee4f4ee68a5 |
28-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/msan: separate different report blocks with new lines this makes the reports consistent with tsan, and much more readable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193520 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
ib/msan/msan_report.cc
|
58dc8bef3f86f4f8503359b5146be9d78d7e3ef0 |
28-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: start the background thread with signals blocked, otherwise it can steal users signals git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193519 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
e38046aae1f76e525c2466af20c27269185a37bf |
27-Oct-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Work around ASan/Win breakage by r193448 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193501 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
42078706b87f5dc3f470bdd23853e48c50aaa017 |
26-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add pthread_attr_getaffinity_np to the list of versioned functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193470 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/gen_dynamic_list.py
|
7e8db745c56f7f9317f0d3472bf01bd48ca3424b |
26-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Add a CMake option COMPILER_RT_DEBUG for building runtimes with full debug info. Differential Revision: http://llvm-reviews.chandlerc.com/D1984 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193449 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/CompilerRTUtils.cmake
ib/asan/lit_tests/TestCases/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/TestCases/memcmp_test.cc
ib/asan/lit_tests/TestCases/strncpy-overflow.cc
ib/lit.common.cfg
ib/lit.common.configured.in
|
c1a1ed62228288155459d39194995a36aca4a8a6 |
26-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Overhaul the symbolizer interface. This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193448 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/lsan/lsan.cc
ib/lsan/lsan_common.cc
ib/msan/msan.cc
ib/msan/msan_report.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_symbolize.cc
ib/ubsan/lit_tests/CMakeLists.txt
ib/ubsan/lit_tests/TypeCheck/Function/function.cpp
ib/ubsan/lit_tests/lit.cfg
ib/ubsan/ubsan_diag.cc
|
8f0c5bdd9650256501bad9fc5dedc977f4ca2247 |
26-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Rename SpinMutex::AssertHeld to CheckLocked, for consistency with BlockingMutex. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193447 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_mutex.h
|
b8c9c60d9ca962b50cb67e5a6966d4be3c9db2ff |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable tmpnam_r interceptor on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193417 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
eada1a81188329b3f011311caed12ca4be4f639e |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept tmpnam, tmpnam_r, tempnam. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193415 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
88732a3c78d8f46bebd4a519a1cf927edf28e2cb |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msandr] Add NATIVE_EXEC macro for building client for running in DynamoRIO hybrid mode only. When running application in DynamoRIO hybrid mode only, only uninstrumented modules will run in DynamoRIO and be instrumented by the client, so we do not need module table in MSanDR. Patch by Qin Zhao. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193411 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/CMakeLists.txt
ib/msandr/msandr.cc
|
3a3805f4923cddef1ac3e71ee52ffc7e30c93bbf |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Remove pthread_attr_getstackaddr interceptor. The function is deprecated. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193409 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
ec208e007d2264a65c1f4234f8cbce82dca9f849 |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193408 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
e46ecb155b22c8ea37235ebe317e0de1edf6b001 |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Zerofill initstate_r buffer in random_r test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193406 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
e236dbb5e558b174609d2d13e80685d488c129d8 |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept pthread_attr_get*. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193405 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/msan/tests/CMakeLists.txt
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
719df33ad1f14c760d53a4b7b51ff9664ebda535 |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Separate access and origin blocks in msan reports with an extra whiteline. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193401 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_report.cc
|
175599be65a5c08551bbe0359a7ca1aadb23ec8b |
25-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not crash when apparently bogus fd is passed to e.g. close some tests test libc/filesystem error handling paths (e.g. close(INT_MAX)), currently such tests fail with this change they work as expected git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193400 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.cc
|
aff25aa02098a510eff6eda1a3ec823e5b1fe1aa |
25-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept random_r. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193396 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
3a6eb8083c342da436df8c7d1809dfeb8834bc6d |
25-Oct-2013 |
Stephen Hines <srhines@google.com> |
Switch __ARM_ARCH_7S__ to __ARM_ARCH_EXT_IDIV__ for use of sdiv/udiv assembly. __ARM_ARCH_EXT_IDIV__ is the define that ARM is using to indicate the presence of hardware integer divide (sdiv/udiv). Previously, this code was only being invoked for processors marked 7S. We now can correctly generate hardware divides on cortex-a15 devices. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193392 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/divmodsi4.S
ib/arm/divsi3.S
ib/arm/modsi3.S
ib/arm/udivmodsi4.S
ib/arm/udivsi3.S
ib/arm/umodsi3.S
|
10362d66fffcd99bd5ced983e4b389dfeba114d0 |
24-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept shmctl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193348 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
1161eb4bff61908074699f6459eabce25839f966 |
24-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison errno in common interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193343 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/errno.cc
ib/msan/msan_interceptors.cc
|
450eee655289a622ab9acf87d863f38991b184c9 |
24-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix invalid origin copying. Origin copying may destroy valid origin info. This is caused by __msan_copy_origin widening the address range to the nearest 4-byte aligned addresses both on the left and on the right. If the target buffer is uninitialized and the source is fully initialized, this will result in overriding valid origin of target buffer with stale (possibly 0) origin of the source buffer. With this change the widened origin is copied only if corresponding shadow values are non zero. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193338 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.h
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
48ed0580871e66c61e856a2281280929f6f77593 |
24-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Change wording in the invalid origin message. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193335 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
|
53177247698bfba075f2d5b255a447fc3ced6976 |
24-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Introduce an operator new for LowLevelAllocator, and convert most users to it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193308 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_thread.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_placement_new.h
ib/sanitizer_common/tests/sanitizer_thread_registry_test.cc
|
a412f485298901a6cbf9d5d7489e834efebc9483 |
23-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] ASan can be combined with LSan and UBSan, so export symbol from them as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193245 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan.syms.extra
|
220d1f7c727eab61d1846a7d30b2b551a0378c0b |
23-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix OSX build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193244 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
369a9a6d4297af031227db1c6fedd21ee7033dc1 |
23-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept ether_* functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193241 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
7d66482b0b25b7d7ff0a28e50cd7dfb796423f53 |
23-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: parse symbolize/external_symbolizer_path common flags git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193236 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_flags.cc
|
25bc73829ba3cf017aa9ff12987efad1017e2bc7 |
23-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix linux syscall hooks the file references non-existent arguments and breaks build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193234 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
|
b1907c71402e01deb6fa3909a75dbc674bfd907b |
23-Oct-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Continue to keep 'SUMMARY: ' prefix in lsan. Whoops! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193232 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
47fcd76474fc6b6c963ae4eeeeea15d465bd6a3c |
23-Oct-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Hoist the addition of the prefix "SUMMARY: " from __sanitizer_report_error_summary to ReportErrorSummary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193231 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
|
4b861aa4b40daabd81fdaed352380ea1c486053a |
23-Oct-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Make sure ASan always emits an error summary if it reports an error. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193229 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
7c6bd4060e60f5b148cc629c8791c2a8bf3d3347 |
22-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Drain allocator cache when leaving thread. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193163 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.h
ib/msan/msan_allocator.cc
ib/msan/msan_interceptors.cc
|
285d458935bc2f9d8ec1109de01ed66185062349 |
22-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept initgroups. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193158 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/initgroups.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
137a9b84c25f1ad7d68a14f138cf270a03a738cb |
21-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] When detect_leaks=false, be completely silent. In particular, don't make a fuss if we're passed a malformed suppressions file, or if we have trouble identifying ld.so. Also, make LSan interface functions no-ops in this case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193108 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
5e7ba22755b994e4f6aaf8cc00773c4d1b8dbf07 |
21-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Use internal_memset to initialize this variable. Otherwise, the compiler may use memset in non-optimized builds, which is forbidden in the nolibc part of the runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193098 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
a650de81e9ce919edc876728fce7c1f4cdc4abcc |
21-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] count the size of QuarantineBatch in the total Quarantine size; make QuarantineBatch fit into 8K, fix a MSVC compile warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193072 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_quarantine.h
|
3e5c47d7ad275493bb895ff3d6b36174d3c90322 |
21-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix strerror interceptor (eliminate false positives) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193070 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
9b5f95f5fe1a24be4dfb7436b64cb0e0f8c00535 |
20-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Runtime support for the indirect function call checker. Differential Revision: http://llvm-reviews.chandlerc.com/D1339 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193060 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/ubsan/lit_tests/CMakeLists.txt
ib/ubsan/lit_tests/TypeCheck/Function/function.cpp
ib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg
ib/ubsan/lit_tests/lit.cfg
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_diag.h
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
|
49d29ed950f9e309a7b755b2a0601ed483ce3ade |
20-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[ubsan] Introduce %clangxx substitution for all C++ tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Float/cast-overflow.cpp
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/div-overflow.cpp
ib/ubsan/lit_tests/Integer/div-zero.cpp
ib/ubsan/lit_tests/Integer/incdec-overflow.cpp
ib/ubsan/lit_tests/Integer/mul-overflow.cpp
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/lit_tests/Integer/no-recover.cpp
ib/ubsan/lit_tests/Integer/shift.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/Integer/uincdec-overflow.cpp
ib/ubsan/lit_tests/Integer/umul-overflow.cpp
ib/ubsan/lit_tests/Integer/usub-overflow.cpp
ib/ubsan/lit_tests/Misc/bool.cpp
ib/ubsan/lit_tests/Misc/bounds.cpp
ib/ubsan/lit_tests/Misc/deduplication.cpp
ib/ubsan/lit_tests/Misc/enum.cpp
ib/ubsan/lit_tests/Misc/missing_return.cpp
ib/ubsan/lit_tests/Misc/unreachable.cpp
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TypeCheck/null.cpp
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/lit_tests/lit.cfg
|
547f9dd4c0302fe9a571e1811a4a92dd82ef89f6 |
18-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix stack trace printing on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192990 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
|
1fe68b87dcd9be36b5b4d35e74cc5b0666500ec4 |
18-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] allocate AsanThreadContext using LowLevelAllocator instead of mmap to save space git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192980 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
|
6d95869fa900da9ddd68e15e2aa065854cfa176b |
18-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] reduce the size of AsanThreadContext by storing the stack trace in the stack depot git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192979 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
|
acd18b94d494ea946599ae40425ef9ee670b0183 |
18-Oct-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] fix compilation of sanitizer_platform_limits_posix.cc on OSX. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192975 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
34fb715374de8f6af2c36275ba4dd2dbc7e7b5ea |
18-Oct-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] fix compilation of atexit_stats.cc on OSX git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192973 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/atexit_stats.cc
|
9d06f1b8b7b215acd843f6360309eb93d51e88c7 |
18-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix OSX build some more. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192967 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
0489e113d3e9fa9379fa38bc1a50f81414feab48 |
18-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix OSX build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192966 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
5cee73e486aaa617a9627bb69a6447d3369b62cc |
18-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move statfs/fstatfs to common interceptors and add statvfs/fstatvfs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192965 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
00dc24362d11540c39d57d27de846ce5823110cd |
18-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a test on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192960 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/assign_large_valloc_to_global.cc
|
4d7297daef90ad59446250617b72d184141436fc |
18-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getmntent, getmntent_r. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192959 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a2e70d92b67703effb631d7b4db8979fd74d5db5 |
18-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix atexit stats git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192956 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/assign_large_valloc_to_global.cc
ib/asan/lit_tests/TestCases/atexit_stats.cc
|
0c46cdebe103e5745a3b7be0b8c9c454a06bcccb |
18-Oct-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Make the big array in the UBSan C++ runtime be zero-initialized to dramatically shrink the binary size of the ubsan runtime. Also fix a bug where long-running processes could eventually trigger a crash in the runtime by filling up the cache. I've not found a nice way to add a test for this crasher; ideas welcome. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192931 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_type_hash.cc
|
8e22b68ce64e34d3fc90f02d967bcceb279f3302 |
17-Oct-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] fix assign_large_valloc_to_global.cc to use the correct header for valloc() on OSX. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192901 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/assign_large_valloc_to_global.cc
|
13521a267f509a06e92baa154947b9d2cde0eed8 |
17-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a failure with ASAN_OPTIONS=verbosity=1:use_sigaltstack=1 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192892 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/deep_call_stack.cc
|
ab8bf09f11d76af6bf9bf6b573f36cb29aa3e557 |
17-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix unpoisoning of msghdr::msg_name in recvmsg interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192886 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
8fa4edcb169ab77355c77e065fc5387085787a8a |
17-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] Fix a deadlock between asan's allocator and lsan Summary: This fixes a deadlock which happens in lsan on a large memalign-allocated chunk that resides in lsan's root set. Reviewers: samsonov, earthdok Reviewed By: earthdok CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1957 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192885 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/lit_tests/TestCases/assign_large_valloc_to_global.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
fc81346321671489e2864f0614bf44b6af5d9bdb |
17-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move pthread_cond_signal and pthread_cond_broadcast to common interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192876 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/tsan/rtl/tsan_interceptors.cc
|
232b043b6c0dfe3c0f1906efba1ecc73868fd410 |
17-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: merge 2 similar tests into 1 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192874 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/deep_stack0.cc
ib/tsan/lit_tests/deep_stack1.cc
ib/tsan/lit_tests/default_options.cc
|
1a3f1ea833b151fc6554a7f910f8e0185f513a35 |
17-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a test for __tsan_default_options() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192873 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/default_options.cc
ib/tsan/rtl/tsan_flags.cc
|
782cbdca4e926cb7b640d194531a07c431990ee3 |
17-Oct-2013 |
Will Dietz <wdietz2@illinois.edu> |
Use configured PYTHON in asan lit tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192870 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
ib/lit.common.configured.in
|
68c2c514f8f204401ea2bd2f6cf848022eed6802 |
16-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: revert variable name change in test It works as is with new llvm-symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192798 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/global_race.cc
|
01a7ce809bf7cc627d73c045c70bcca9891f632c |
16-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move shadow stack from thread descriptors to fixed addresses This allows to increase max shadow stack size to 64K, and reliably catch shadow stack overflows instead of silently corrupting memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192797 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/deep_stack0.cc
ib/tsan/lit_tests/deep_stack1.cc
ib/tsan/lit_tests/global_race.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_trace.h
ib/tsan/tests/unit/tsan_stack_test.cc
|
cca8e781e5353cba810a0ec3a814ddde2c4934e7 |
16-Oct-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] introduce run-time flag 'poison_partial' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192793 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_poisoning.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/poison_partial.cc
|
166d6aac8aeafe0d915b7233ba9e6714fcfa2aae |
16-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix lint checker script on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192791 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
e6f3247020e4710eda6fb210c9fa3c56647b4ca6 |
16-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor libignore implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192785 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libignore.cc
|
c842dabb53cc2101cc5449f24921a972d812d7c6 |
16-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Extend test for reporting globals with races on them git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192782 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/global_race.cc
ib/tsan/rtl/tsan_report.cc
|
0f63831345e26b23d85a67e2dd96129f48eec477 |
16-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Remove CallocOverflow32 test from asan_test. The same as with MSan, this test behavior depends on ASAN_OPTIONS, and we've got a lit_test that covers this. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192777 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
7ad195c7686f7246d6afa36e930884efae42abee |
16-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Handle origins in __sanitizer_unaligned_(load|store)*. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192776 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/unaligned_read_origin.cc
ib/msan/msan.cc
|
5e2d3776a314629680921abd1d55d89d95a2da90 |
16-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
Make some pthread_mutex_* and pthread_cond_* interceptors common. Reviewers: eugenis, dvyukov Reviewed By: dvyukov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1937 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192774 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
ib/interception/interception_linux.h
ib/interception/interception_mac.h
ib/interception/interception_win.h
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_interceptors.cc
|
e852e41d345c4be4ca28962cbc6c6d59717759c7 |
15-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix bug when discovering indirectly leaked objects. If an object contains pointers to itself, that doesn't make it indirectly leaked. D'oh! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192716 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/pointer_to_self.cc
ib/lsan/lsan_common.cc
|
f719b92eb175f34387ef05d1c4fc1d035b94e621 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: introduce __tsan_default_options() function The function allows to statically setup default values for flags. The interafece matches what asan/msan provide. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192715 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
|
8f4cece84c528071202daae54593981e7677dcf9 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: be silent if verbosity=0 Currently tests fail with: Check failed: 'AAA' == 'AAA ==26017==Could not detach from thread 361395 (errno 3).' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192711 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
5502d521ab76df3e5a319a671ddbd1dc6bcd9aca |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove __sanitizer_set_report_fd function from public interface __sanitizer_set_report_path now accepts two special values - stderr and stdout logging to other file descriptors is not supported anymore, it's fragile in presence of multiple processes, fork, etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192706 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
|
06cbed8b8ae64b7ace50c1b4e4eed97a2a8b9965 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use verbosity flag in sanitizer_common code directly now it's available from common_flags() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192705 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/tsan/rtl/tsan_interceptors.cc
|
2e7999e485a67ef33c5ab4d9bce0f7b9fc9ddce1 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: actually parse verbofity flag git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192704 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_flags.cc
|
6866dba92ac842fc513ba339ba849a953ffb7507 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move verbosity flag to CommonFlags git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192701 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_flags.h
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/msan/msan.cc
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
ib/msan/msan_linux.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_flags.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
|
fba64b41107e141c9ac7c9d406eddcc820f8cf60 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not leave trash source files in source dir git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192700 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
610e7c73a12d629d00113e7d16dd00cda7b1d49f |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor overly-complex logical condition git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192698 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libignore.cc
|
17b0a3c9b28648ca9af1844111447f231f84c180 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192696 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
5f4984db88b7b67539f62d7653b928aeadf91b16 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move kernel struct definition from sanitizer_linux.h to sanitizer_platform_limits_posix.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192695 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
62a04e3c8f500495501e1a5e394d81e7f95fa205 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not build llvm from scratch on each presubmit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192694 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/check_cmake.sh
|
b48c2b2072c8cc17dc1579a6b20ce6c2a575821d |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use sanitizer::CommonFlags in tsan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192692 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
e910a1630be10685b2985a383c1a012f5df6bf62 |
15-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove CallocOverflow test. This behaviour depends on MSAN_OPTIONS. All interesting combinations are covered by lit_tests/allocator_returns_null.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192691 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
2191fcaa9658166c0c6e9c91013fefc015741395 |
15-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
Clean up StopTheWorld code after r192686. Remove outdated comments. Also remove code that handled an issue in libc's sigaction(), which we don't use anymore. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192689 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
3dbbd850cde5728c35aa4c15a279d858604fc6ee |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: resolve symlinks for called_from_lib suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192688 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libignore.cc
ib/sanitizer_common/sanitizer_libignore.h
ib/tsan/rtl/tsan_interceptors.cc
|
600d51680fb20f670695e931de60df4d88616e96 |
15-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Implement allocator_may_return_null=1 in MemorySanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192687 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/allocator_returns_null.cc
ib/msan/msan_allocator.cc
|
0f7a2acb3326a5900d1a1339ebf959b14b372e0d |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement internal syscall-based versions of sigaction/sigprocmask use them in stoptheworld fixes applications that intercept sigaction/sigprocmask git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192686 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
97f4e082ff0f6aa13ef9e30cd611c1e9246ca7a6 |
15-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192685 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/allocator_returns_null.cc
|
79f11fca3a617e59131832d7dfdcc36cb942a300 |
15-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make test from r192581 Linux-only, as wild memory contents is less predictable on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192677 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/heap-overflow-large.cc
ib/asan/lit_tests/TestCases/heap-overflow-large.cc
|
f1d9411c39d1efdfcbf3ea928198089e52123646 |
14-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Test for r192599. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192600 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/vector_cvt.cc
|
c519335c2d6d32acaac32c0595f08a05081567e7 |
14-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Support ASan's stack-use-after-return mode in LSan. Treat the fake stack as live memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192593 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_thread.cc
ib/lsan/lit_tests/TestCases/use_after_return.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_thread.cc
ib/sanitizer_common/sanitizer_common.h
|
2a2dc88648947896d60676c3bc2706308404088b |
14-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove a long-outdated comment. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192592 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
e86e35fbe861e73c5991200510a028877427b3e7 |
14-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Improve thread lifetime tracking on POSIX systems. Call AsanThread::Destroy() from a late-running TSD destructor. Previously we called it before any user-registered TSD destructors, which caused false positives in LeakSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192585 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_win.cc
ib/lsan/lit_tests/TestCases/cleanup_in_tsd_destructor.cc
|
3f4beff5efdd0d30844ca8b270876f7d59a608e7 |
14-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept strto(d|f|ld)_l and glibc-specific __strto(d|f|ld)_l. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192583 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
d9def29fe0dc8fc70ef270dcc1a266ad9257ec1f |
14-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Don't die with internal ASan error on large buffer overflows Summary: Out-of-bound access may touch not-yet allocated or already freed and recycled from quarantine chunks. We should treat this situation as a "free-range memory access" and avoid printing any data about that irrelevant chunk (which may be inconsistent). This should fix https://code.google.com/p/address-sanitizer/issues/detail?id=183 Reviewers: kcc Reviewed By: kcc CC: timurrrr, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1893 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192581 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_report.cc
ib/asan/lit_tests/TestCases/heap-overflow-large.cc
ib/asan/lit_tests/TestCases/null_deref.cc
|
fa33a8c89d3cb505c99a2d700a8c174a0ff4fb38 |
14-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Regression test for r192575. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192577 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/vector_select.cc
|
6f2741c6325e0112f52b537444e1aaac8e746f85 |
14-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to override OnPrint() callback in Go runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192576 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
d09c91ac4e2f544651921b7cb307e8aaae8948d1 |
14-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Return implementation of StackTrace::CopyFrom to header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192574 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
6a135be19fa0cc594fd61f9caf3c0be2b7f1466e |
14-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to override OnFinalize() in front-ends that does not support weak functions (Go) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192569 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
3e0b8ff07e86e0858e016d187d842e97aea2255d |
12-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove StackTrace::max_depth field git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192534 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
|
80175018541984bdcfe6a304bb189bd30592fa8a |
12-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Turn GetStackTrace() into StackTrace::Unwind() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192533 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.h
ib/lsan/lsan_interceptors.cc
ib/sanitizer_common/sanitizer_posix_libcdep.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_win.cc
|
70db33e143303752c7fe8800d15b5b31066b1e0d |
11-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Define kPthreadDestructorIterations on POSIX systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192453 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_linux_test.cc
ib/sanitizer_common/tests/sanitizer_posix_test.cc
|
67f5544391c338411b0006bda7dc1b852bbdd4fb |
11-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: catch more races on file descriptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192452 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_interceptors.cc
|
29cec483b760082e264340072f3245fad37e2255 |
11-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix epoll_ctl interceptor Currently data-race-test unittests fail with the following false positive: WARNING: ThreadSanitizer: data race (pid=20365) Write of size 8 at 0x7da000008050 by thread T54: #0 close tsan_interceptors.cc:1483 (racecheck_unittest-linux-amd64-O0+0x0000000eb34a) #1 NegativeTests_epoll::Worker2() unittest/posix_tests.cc:1148 (racecheck_unittest-linux-amd64-O0+0x0000000cc6b1) #2 MyThread::ThreadBody(MyThread*) unittest/./thread_wrappers_pthread.h:367 (racecheck_unittest-linux-amd64-O0+0x000000097500) Previous read of size 8 at 0x7da000008050 by thread T49: #0 epoll_ctl tsan_interceptors.cc:1646 (racecheck_unittest-linux-amd64-O0+0x0000000e9fee) #1 NegativeTests_epoll::Worker1() unittest/posix_tests.cc:1140 (racecheck_unittest-linux-amd64-O0+0x0000000cc5b5) #2 MyThread::ThreadBody(MyThread*) unittest/./thread_wrappers_pthread.h:367 (racecheck_unittest-linux-amd64-O0+0x000000097500) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192448 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
cdae9426eaeee302b3d7e5d914e5baf0ce436e20 |
11-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Ninja style fix to r192442. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192443 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
6eb836f9bd2b96a321ddc7fb5ea08aa65131e61f |
11-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move the PTHREAD_DESTRUCTOR_ITERATIONS constant to sanitizer_linux.h. Add a test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192442 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_interceptors.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/tests/sanitizer_linux_test.cc
ib/tsan/rtl/tsan_interceptors.cc
|
ef578990fe3c9afecfcab1044d739371f4d4b459 |
11-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] StackTrace: kill CopyTo and reimplement CopyFrom git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192441 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
064da32709c8bf81283062abc04cf6e88e6c075d |
11-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Simplify StackTrace::FastUnwindStack interface and fix a bug with one-frame stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192428 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_posix_libcdep.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
|
117699dc17e35e84ea1179428a245ff6b60aa98f |
10-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: minor refactoring Replace duplicate code snippet with function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192357 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_mutex.cc
|
e1ddbf9a458e81125a03fea721997565124294ae |
10-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add annotations to ignore synchronization operations The annotations are AnnotateIgnoreSyncBegin/End, may be useful to ignore some infrastructure synchronization that introduces lots of false negatives. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192355 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/ignore_sync.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
d41fa1b7f2afe5dd78cd4e635e16fd5f079b0318 |
09-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix the parent liveness check in StopTheWorld. Comparing the parent PID with 1 isn't sufficient to ensure the parent is alive, because of prctl(PR_SET_CHILD_SUBREAPER, ...). Compare with the real parent's recorded PID instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192295 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
23a7a43da615bceedefe42b8398b82939e6eeb2d |
08-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix deadlock in StopTheWorld. The tracer thread in StopTheWorld could wait on a mutex forever if the parent process died before unlocking it. Use PR_SET_PDEATHSIG so that the parent would kill the child in this scenario. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192210 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
497ae56316cd05a0d539e0d6e065bbaee254aca3 |
08-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Do not break the CFI unwind chain in clone(). Fixes build on clang 3.2, which doesn't support cfi_undefined. This change doesn't seem to break the slow unwinder. Even if it does, the worst thing that could happen is that we would not see a backtrace when a fatal error happens under StopTheWorld. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192196 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
5b894002c793f71f63a9b9aea1e735572db8477e |
04-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Automatically pick up llvm-symbolizer from PATH, as we do in another sanitizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191954 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/Unit/lit.cfg
ib/tsan/lit_tests/lit.cfg
ib/tsan/rtl/tsan_rtl.cc
|
f8a9c6bd45335b5423e33a8d04a93a44870513a7 |
04-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add ValgrindSlowdown to the list of exported symbols git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191952 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan.syms.extra
|
9fe1d5abd472f3357d5888d1f580fe1866a417f8 |
04-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix a bug in pthread_once when called from an ignored library It must set thr->in_rtl = 0 before executing user callback. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191946 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
90b0f1e3ba126bb2e92ab51ef379c98782c23d90 |
04-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
Refactor the usage of strip_path_prefix option and make it more consistent across sanitizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191943 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/asan_stack.cc
ib/lsan/lsan_common.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/tests/sanitizer_common_test.cc
ib/tsan/rtl/tsan_flags.cc
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/ubsan_diag.cc
|
92b54796149a8b5995fa49c43f43b709b83c5644 |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add memory_limit_mb flag The flag allows to bound maximum process memory consumption (best effort). If RSS reaches memory_limit_mb, tsan flushes all shadow memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191913 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
|
0c8af33262be025def2108352f9a720d9559ffdb |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/msan/tsan: fix broken linux syscalls Currently the following source code: u64 NanoTime() { kernel_timeval tv = {}; internal_syscall(__NR_gettimeofday, &tv, 0); return (u64)tv.tv_sec * 1000*1000*1000 + tv.tv_usec * 1000; } generates the following assembly: Dump of assembler code for function __sanitizer::NanoTime(): => 0x00007ff30657d380 <+0>: lea -0x10(%rsp),%rdi 0x00007ff30657d385 <+5>: xor %esi,%esi 0x00007ff30657d387 <+7>: mov $0x60,%eax 0x00007ff30657d38c <+12>: syscall 0x00007ff30657d38e <+14>: mov $0,%eax 0x00007ff30657d393 <+19>: retq with this change: Dump of assembler code for function __sanitizer::NanoTime(): => 0x00007faab834f380 <+0>: movq $0x0,-0x10(%rsp) 0x00007faab834f389 <+9>: movq $0x0,-0x8(%rsp) 0x00007faab834f392 <+18>: lea -0x10(%rsp),%rdi 0x00007faab834f397 <+23>: xor %esi,%esi 0x00007faab834f399 <+25>: mov $0x60,%eax 0x00007faab834f39e <+30>: syscall 0x00007faab834f3a0 <+32>: mov -0x8(%rsp),%rax 0x00007faab834f3a5 <+37>: mov -0x10(%rsp),%rcx 0x00007faab834f3aa <+42>: imul $0x3e8,%rax,%rdx 0x00007faab834f3b1 <+49>: imul $0x3b9aca00,%rcx,%rax 0x00007faab834f3b8 <+56>: add %rdx,%rax 0x00007faab834f3bb <+59>: retq git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191908 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_syscall_linux_x86_64.inc
|
8cde99fb9df913aaf7c1715cd134110dd5a15834 |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/msan: fix "unused function 'OnExit'" warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191904 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
|
14dd980b384ad859099b499e12f320c4791fb674 |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/msan/tsan: move _exit interceptor to common interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191903 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
|
48cb13166d2ea0c4770ebca2c454e05e422920bb |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: include lsan into presubmit check git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191902 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/check_cmake.sh
|
0586dcc3e531d43dca6b5d226bac2d38b5ad64fe |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix false positive in localtime() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191899 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
c78140f0bd5d6b44a2a30d82879480c592f10d52 |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept _exit so that we can override exit status git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191898 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
4af0f21c0c98950df1136dbec8824a029ed5bb8e |
03-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ignore interceptors coming from specified libraries LibIgnore allows to ignore all interceptors called from a particular set of dynamic libraries. LibIgnore remembers all "called_from_lib" suppressions from the provided SuppressionContext; finds code ranges for the libraries; and checks whether the provided PC value belongs to the code ranges. Also make malloc and friends interceptors use SCOPED_INTERCEPTOR_RAW instead of SCOPED_TSAN_INTERCEPTOR, because if they are called from an ignored lib, then must call our internal allocator instead of libc malloc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191897 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_libignore.cc
ib/sanitizer_common/sanitizer_libignore.h
ib/sanitizer_common/sanitizer_suppressions.cc
ib/sanitizer_common/sanitizer_suppressions.h
ib/sanitizer_common/tests/sanitizer_suppressions_test.cc
ib/tsan/lit_tests/ignore_lib0.cc
ib/tsan/lit_tests/ignore_lib0.cc.supp
ib/tsan/lit_tests/ignore_lib1.cc
ib/tsan/lit_tests/ignore_lib1.cc.supp
ib/tsan/lit_tests/ignore_lib2.cc
ib/tsan/lit_tests/ignore_lib2.cc.supp
ib/tsan/lit_tests/ignore_lib3.cc
ib/tsan/lit_tests/ignore_lib3.cc.supp
ib/tsan/lit_tests/ignore_lib_lib.h
ib/tsan/lit_tests/java_alloc.cc
ib/tsan/lit_tests/java_lock.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_interface_java.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
|
984930932ac6d85af5b07294a91b203ce822dc68 |
03-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Don't require X86 to build Android runtime. Patch by Greg Fitzgerald. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191883 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
cf39032f101dfb3b97b1dfc7b6d03f5d89dff266 |
02-Oct-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix localtime and gmtime interceptors to clean tm->tm_zone. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191827 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
1d02bea922d7b47686de5a5ca81a6bcc8905b6f8 |
02-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix the following compiler warning sanitizer_common_interceptors.inc:1142:53: warning: invoking macro INTERCEPTOR argument 3: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default] git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191822 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
fdf10e2153a8b631e71873aa12c83a224b40f792 |
02-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
msan: fix compiler warnings about unused variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191821 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
c6fc72342c4a31c71528ae3d8f4a7bb05bc1ef60 |
02-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use ninja instead of make (faster and less output) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191819 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/check_cmake.sh
|
43ac401d8eb9b7d938d75518042eb874ccce0d8e |
02-Oct-2013 |
Nick Lewycky <nicholas@mxc.ca> |
This fixme is resolved, fix the test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191810 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Misc/bool.cpp
|
d1bf52ecb1211af7fa3fe5f5b05d08033eb1a90c |
02-Oct-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Make the InvalidValueData take a SourceLocation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191807 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
|
c349466646968133e0bad48d24e267580bad6c07 |
01-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
Add top-level CMake 'compiler-rt' target to build all compiler-rt libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191747 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/AddCompilerRT.cmake
make/Modules/SanitizerUtils.cmake
|
2946f13d6ca0cfc46d74c12e97dc40a17a7d232f |
30-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Rework r191522 - treat allocations with short stack traces as live git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191662 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
ib/lsan/lsan_common_linux.cc
|
4430fdb4b04ae28d22cc6b24eab762afdb2fa0b7 |
27-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Don't report leaks with single-frame stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191522 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/swapcontext.cc
ib/lsan/lsan_common.cc
|
1394be15dfc8a8fc0586d5f5e4302c2c8e917148 |
27-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept backtrace, backtrace_symbols. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191516 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/backtrace.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
e1c68c319a0113be832da17a777892353a8b5f23 |
27-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] introduce run-time flag uar_stack_size_log to control the size of FakeStack; don't crash when the fake stack is exhausted, move some code to .cc file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191510 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
ib/asan/tests/asan_fake_stack_test.cc
|
cfc29de659f3abbb9273fb0fb1c9a3cd5400c81b |
27-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison argument shadow for C++ module destructors. Fixes PR17377. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191508 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/cxa_atexit.cc
ib/msan/msan.cc
ib/msan/msan_interceptors.cc
|
c78773e8c3db9e191e736acdc608e7d81ac42513 |
27-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support allocator_may_return_null flag Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=29 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191482 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/malloc_overflow.cc
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
|
1c571dffb000ce248fd35f4e30983147a5fc52c7 |
26-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix scanf interceptor git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191445 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
9a949a8909f652b28e9084de785c848743139fd5 |
25-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] A bunch of libc interceptors. sigwait sigwaitinfo sigtimedwait sigemptyset sigfillset sigpending sigprocmask git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191374 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/sigwait.cc
ib/msan/lit_tests/sigwaitinfo.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
9c4fd1623b690726679acf020c8613c7461daea4 |
25-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't include wordexp.h on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191358 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
c5a385500057ba60c71abbb1d1cc0ee3773be792 |
24-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept wordexp. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191305 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
6186bfc81d988b650d2acad44bcde00fda799818 |
24-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix GCD tests by spinning forever in the main thread. Since the error is always reported by one of the GCD workers, this will help avoid premature program termination with exit code 0. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191294 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test_helpers.mm
|
1e190da97c75e63c95e51946f9dc223d0c2c61b7 |
24-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Test for atomic handling in MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191288 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/sync_lock_set_and_test.cc
|
538c718e53968af43e04141520f8a540d8306ecc |
24-Sep-2013 |
Stephen Hines <srhines@google.com> |
am bb59ba11: Merge "x86_64/x32: Avoid early exit of any other project build" * commit 'bb59ba11bac59fbe316398f1c83c8bce7aa03d4f': x86_64/x32: Avoid early exit of any other project build
|
bb59ba11bac59fbe316398f1c83c8bce7aa03d4f |
24-Sep-2013 |
Stephen Hines <srhines@google.com> |
Merge "x86_64/x32: Avoid early exit of any other project build"
|
cf2cabb752ffeff152ed471fa407a415c404d6e4 |
23-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] remove -fsanitize=use-after-return from the tests (this flag now comes with asan by default) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191204 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/heavy_uar_test.cc
ib/asan/lit_tests/TestCases/Linux/uar_signals.cc
ib/asan/lit_tests/TestCases/deep_call_stack.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
ib/asan/lit_tests/TestCases/uar_and_exceptions.cc
ib/asan/tests/CMakeLists.txt
|
29296c09dfd5d279d9719b39b9f628af1bcba43c |
23-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix a WTF in r191196. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191197 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
|
27ee7a8bece46fafe81cd10bc5cb14b7082cb644 |
23-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allow nested symbolizer and loader scopes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191196 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
|
a8b8e964d7b94cae465df77642465901b1b3079d |
23-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Slightly optimize the DLL thunk git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191190 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_dll_thunk.cc
|
def895b9ed81b37a99660a2ddfc2c45d229000a4 |
23-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix a compile-time warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191189 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_dll_thunk.cc
ib/asan/asan_win.cc
|
c11fa095b344c1423ba76822d5bde122b1676223 |
23-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Add DLL thunks for the new stack UAR interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191188 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_dll_thunk.cc
ib/asan/asan_win.cc
|
f5ebc6a911416846c1b181beb62a3cc9e2988cdf |
23-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix the interface test on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191187 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Darwin/interface_symbols_darwin.c
|
b0796022fb8f47939696b2e57c17e1603eda1f9d |
23-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] disable the detect_stack_use_after_return run-time flag by default and enable it explicitly in tests. This is done in preparation to enabling the -fsanitize=use-after-return compile-time flag by default when -fsanitize=address is present. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/Linux/heavy_uar_test.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
|
ccaafe66eb47e5cf0432a59df11d4be1bcb3a5b1 |
22-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unneeded ___chkstk_ms function from Go runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191161 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/tsan_go.cc
|
2d2dc4606e66974a69fb53a66f5b1e5501523686 |
22-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow symbolization of non-native PCs, e.g. coming from JIT/JAVA/etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191157 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_symbolize.cc
|
39fa68e4076f6a86765ddc69c44bcecb804f0b53 |
22-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ignore malloc/free/strdup when called from libjvm git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191153 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
d18865339cebcdaa9fc720a1e960cb452f330835 |
22-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ignore all interceptors coming directly from JVM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191152 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java.h
ib/tsan/lit_tests/java_alloc.cc
ib/tsan/lit_tests/java_lock.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_interface_java.h
|
fcb6c9c80f06c241801d22d2258f59e7bb828e7b |
22-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve diagnostics for incorrect usages of mutexes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191151 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_mutex.cc
|
821acfaccc7d11b987e2882b022e8d167b0c8a54 |
21-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to obtain code range for a particular module this is required to ignore interceptors when called from the module git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191149 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/tests/sanitizer_procmaps_test.cc
|
6c21e11b36bb5ebf625463ca6724cf936ef0dc39 |
21-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept fork syscall git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191144 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/tsan/rtl/tsan_interceptors.cc
|
d16622bbe5dd386a3c481047c0279d251575a244 |
21-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not try to use builtin atomic operations see the comment in code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191132 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_clang.h
|
b47d41f310d9069f68135b7b8cc92b09f7436c4d |
21-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept close syscall git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191129 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/tsan/rtl/tsan_interceptors.cc
|
5534fc3b40c7d5c6949f454632afd7b56928ea7c |
25-Jul-2013 |
Pavel Chupin <pavel.v.chupin@intel.com> |
x86_64/x32: Avoid early exit of any other project build Change-Id: If34614f6855cb314106fc90cd42400472e546825 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
ndroid.mk
|
6c70a55a52827b2415263a0be2767672a703cd63 |
20-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove a complex multiline comment that baffles lint. That comment is repeated in another function below. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191085 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
e8eeda0775683afc4e0dbd4c3be19fce5b3d0d4a |
20-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Pass an explicit template to mktemp. Running mktemp without a template doesn't work on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191084 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
b812253202f2db9d60a543b22226064d1ed20279 |
20-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix compilation of asan_str_test.cc on non-Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191083 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_str_test.cc
|
d4d7040ee026ab04502c42327ed5081f704a8e3c |
20-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Enforce the memmove semantics for both memcpy() and memmove() interceptors on Darwin. Due to bugs in the interposition of resolver functions on 10.7 and 10.8 both memcpy() and memmove() were previously intercepted by INTERCEPTOR(memcpy), which led to false positives and crashes (see http://llvm.org/bugs/show_bug.cgi?id=16362) We choose to use a memmove-like function in both cases. This effectively disables the overlap checks in memcpy(), but the overlaps aren't possible in practice, because memcpy() and memmove() are the same function on Darwin. Once the interposition is fixed in 10.9, we'll need to revisit this issue, see https://code.google.com/p/address-sanitizer/issues/detail?id=226 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191081 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_str_test.cc
|
81b0fe0ae241ca12882f653dcf6b13eaa5ca284d |
20-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] nuke yet another async-signal-safety bug in UAR (oh, my) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191080 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.h
ib/asan/asan_thread.h
|
8e05fda2a6b24a0aa293239ebc1c121d18b5a07f |
20-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add pthread_cond_init to the list of versioned functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191078 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/gen_dynamic_list.py
|
eb0be61dee155f501bb249287b17d364fedf3507 |
20-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: handle memory read/write in syscalls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191074 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
ff90a95c26198e9e794e186365a62511439e0ca0 |
20-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to ignore memory accesses in malloc and free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191072 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/ignore_free.cc
ib/tsan/lit_tests/ignore_malloc.cc
ib/tsan/rtl/tsan_mman.cc
|
9880219fc988d9fd60c8aa21c0f6f0e0d7370dd6 |
20-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not crash when user intercepts fopen() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191066 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
fae2bff6de8be5a319ca17fd713731ce8a887476 |
20-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix linking of tsan runtime into dynamic libraries versioned symbols can not be linked into dynamic library w/o linker script also simplifies code as side effect git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191056 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_linux.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
b928ac1b61c35ef961f841ce44fc6b166362b8a2 |
19-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix init-order-dlopen.cc test to not depend on the -Wl,-undefined,dynamic_lookup being passed to the linker. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/SharedLibs/init-order-dlopen-so.cc
ib/asan/lit_tests/TestCases/init-order-dlopen.cc
|
621770a196153ee61b338d34bafd1170c1899444 |
19-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix one more async-signal-safety issue with use-after-return git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191004 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
|
6b85945cae8265323e98e4e88c0de66d462f69c6 |
19-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Fix -Wempty-body warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190994 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
c09250fce4e017c8da696a7f01abc125ba2288ad |
19-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Fix -Wempty-body warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190993 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
6fa061978b138b39d29d98a6d28c67684a23eef0 |
19-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan/msan: use builtin atomic operations when available this should fix episodic crashes on ARM/PPC x86_32 is still broken git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190991 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_clang.h
|
9d4956eca0894f74be09ba7e93cf722e8b400d00 |
19-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: prevent the following false positive due to __cxa_atexit WARNING: ThreadSanitizer: data race (pid=29103) Write of size 8 at 0x7d64003bbf00 by main thread: #0 free tsan_interceptors.cc:477 #1 __run_exit_handlers <null>:0 (libc.so.6+0x000000050cb7) Previous write of size 8 at 0x7d64003bbf00 by thread T78 (mutexes: write M9896): #0 calloc tsan_interceptors.cc:449 #1 ... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190989 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
9c1e4f43d24e6a9160552a64374374977ecd6961 |
19-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: consistently use thr instead of cur_thread() in annotations implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190988 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_ann.cc
|
652f78a41de2887aedc1b0314b58bb6b622c80ca |
19-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor internal IgnoreCtl interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190987 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
|
2ec7318dc7ffadf302ecbbaece7d4ce62172ae39 |
18-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[tsan] No-op implementation of AnnotateMemoryIsInitialized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190933 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_ann.cc
|
230e52f4e91b53f05ce19dbbf11047f4a0113483 |
18-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add a run-time option detect_stack_use_after_return, add verbosity output for fake stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190932 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_flags.h
ib/asan/asan_interface_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
|
608609429a2202e0342c13bc037368c8d678591c |
17-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Don't add SANITIZER_INTERFACE_ATTRIBUTE for internal ASan functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190860 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_mapping.h
|
46817813bcbd9a74429e36f1d423b55caed4efd2 |
17-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Enable fake stack test on Mac and Android, as no-instrumentation tests are now fixed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190856 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
5d9d807a9d82b566387e3064882a87cb8fd4ef22 |
17-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Link tests with -pie if ASan runtime uses zero-base shadow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190853 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
b388987bf988435ee87dc4848ea8e62ebfa942eb |
17-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] further speedup use-after-return: simplify deallocation of fake frames. ~ 20% speedup. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190852 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/tests/asan_fake_stack_test.cc
|
356cff7bb61083db3915cf571c5358aa8d3830ba |
17-Sep-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Check the function we just called for errors, not an incoming argument. Noticed by inspection. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190828 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
382bbc80dc7a93a28b565b62b383b904fc1205a4 |
16-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Don't link with pthread on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190794 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
05fa3808f6ac96023cdf583a1a1b7220e5b451b8 |
16-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Split ASan unit tests into two different binaries: (1) instrumented, i.e. compiled and linked with -fsanitize=address (2) not instrumented, compiled w/o -fsanitize=address and linked with ASan runtime statically. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190788 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
|
22e21b044c9337a2fa921f268b7d221c693ad78b |
16-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Check that getSymbolizer() is defined. Turn magic mapping constants into named variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190787 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
|
7bb2f9b27ee0210f25b009fb5597383b334dc01e |
16-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Minor enhancements for sanitizer_common build rules git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190786 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
|
db6d089de966dc250ceb7d81556a5978943f6efb |
16-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Check return value of main: compiler-rt tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190783 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/heap-origin.cc
ib/msan/lit_tests/stack-origin.cc
|
effdc7e483708cfa4dc597c21f246c5dbc09daa0 |
16-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix origin of deallocated memory. MSan poisons deallocated memory but it used to give it an invalid origin value, resulting in confusing reports. This change associates deallocation stack trace with such memory. Note that MSan does not have quarantine, and use-after-free detection is very limited. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190781 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/use-after-free.cc
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_allocator.cc
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
ib/msan/msan_new_delete.cc
|
1effc056910803fd8213ac940e9d17f3c0160b4b |
13-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Add source file:line to stack origin reports. Test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190690 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/stack-origin.cc
|
6f3460595f10fb4740ccd0beaa888a0e47ed48cd |
13-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Add source file:line to stack origin reports. Runtime library part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190686 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_interface_internal.h
ib/msan/msan_report.cc
|
7b6360891accaccfc3520be601272e50372f786a |
13-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept tzset. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190682 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/tzset.cc
ib/msan/msan_interceptors.cc
|
48abc6153185faaea5ec7cb727f04215de6db60c |
13-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msandr] Add debugging instructions to README.txt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190680 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/README.txt
|
ff64012e04faede5eaecd68db0edd86e8b15853c |
13-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] Android does not have TLS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190669 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
|
9c59ca89870cd82a1a13e5daf381951bfacba203 |
13-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Temporary disable UAR unit test on Android due to https://code.google.com/p/address-sanitizer/issues/detail?id=222 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190667 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
0f2283742e1d37ebf0c5ac034dab704a7d9af099 |
13-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] don't record the class_id in FakeFrame (scratching the last bits of performance) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190666 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/tests/asan_fake_stack_test.cc
|
dff16d41223d2df3762ba64a0a529c5e475de34f |
13-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] more performance to FakeStack: a) don't used atomic exchange, instead rely on regular load and store and other signal-safe logic; b) remove allocated_from_size_class_mask_ which is not helping much anyway; Another 10% speedup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190664 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
|
9433af375c7813486be91d2ac76f5072ee41818d |
13-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] second attempt to use TLS with fake stack. This time it looks (more) async-signal safe. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190663 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
|
b8a903c18120f40cc09aac3c28c1214a0ffceda7 |
13-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] undo the previous commit since TLS hack breaks with signals... :( git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190662 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
|
6147f02a9116a79b608b9ef547ccca51c70bffe2 |
13-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use TLS on Linux to get the FakeStack. Saves 15% performance git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190661 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
|
8f7ec32eb34fb051f22e10b228ac056f919c4284 |
13-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] inline PoisonShadow in FakeStack to get ~10% speedup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190660 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
|
223c83885c8da7f1bd31e805caa4cefde3a15d16 |
13-Sep-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Add a few easy functions to the ABI list. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190653 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/done_abilist.txt
|
b1173c27c2791aef27304e68911a11648401064d |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] a bit of performance improvement in fake stack, generalized one test, fixed android build of another test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190606 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/lit_tests/TestCases/uar_and_exceptions.cc
ib/asan/tests/asan_fake_stack_test.cc
|
89de457bd3ec40d38bc7860f88f1d4da473eacc4 |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test for use-after-return and exceptions and fix it. Not 100% sure this is a complete fix, will keep looking for harder cases. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190603 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/uar_and_exceptions.cc
|
bdd9545da55933797edf58c6049d894ed0efb465 |
12-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not build asan_fake_stack_test.cc on OSX until https://code.google.com/p/address-sanitizer/issues/detail?id=222 is fixed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190597 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
3b37dd4655ca0c501e76916ba7411d8d7a6ae7fd |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] limit the size of the fake stack with a reasonable constant. This fixes a failure when the main thread's stack is considered unlimited (very large). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190596 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.h
|
b39a604ff9d68ba7400197fca341771878443a69 |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] (part 2) don't lazy-init fake_stack if we only need to check that fake_stack exists (should fix 32-bit builds) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190594 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
|
dcf98bf49d68533c7aebadbf6c4467afdd486c99 |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] don't lazy-init fake_stack if we only need to check that fake_stack exists (should fix 32-bit builds) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190593 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
|
c98fc1f8e52812cfaf5b19a29db5ed56acb0a682 |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] hopefully make the FakeStack async-signal safe, enable the related test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190592 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/lit_tests/TestCases/Linux/uar_signals.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
|
96a575f05b2a45774170a118ea69ddae3659b645 |
12-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix deadlock in stack unwinder on android/x86. Fixes PR17116. Patch by 林作健 (manjian2006 at gmail.com). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190590 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.h
ib/asan/asan_thread.h
ib/lsan/lsan_common_linux.cc
|
86b88b80bdb7ea9a265f8946e7918bcc388abceb |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use xchg instead of CAS in FakeStack::Allocate (5% faster for this case) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190589 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
|
ac3ae5dc29d3623ada2bcb0db22ee88b0382e3b1 |
12-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fully re-implement the FakeStack (use-after-return) to make it faster and async-signal-safe. The implementation is not yet complete (see FIXMEs) but the existing tests pass. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190588 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_report.cc
ib/asan/asan_thread.h
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_fake_stack_test.cc
|
08a0e08a8df2511452a2f2e5cdcf7b1c0096f088 |
11-Sep-2013 |
Bill Wendling <isanbard@gmail.com> |
Fix typo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190543 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
665efa967845cc2a84520187bab5bfed3c053221 |
11-Sep-2013 |
Daniel Jasper <djasper@google.com> |
Revert r190520 as it wasn't the right fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190524 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.h
|
a81787d0182ee8d4f430d509322281acdf77391d |
11-Sep-2013 |
Daniel Jasper <djasper@google.com> |
Add empty virtual destructor... ... as this otherwise triggers -Wnon-virtual-dtor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190520 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.h
|
cac631e3a63ec6c8a74008fe358af9c4b2306582 |
11-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use --whole-archive around TSan runtime in old TSan makefiles. Fix a Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190513 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/tsan/Makefile.old
ib/tsan/lit_tests/test_output.sh
|
7a3d5fe086a6458be7c4810397363b67b022a138 |
11-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] build sanitizer_common library with -Wglobal-constructors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190504 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
|
a8b4c3b6809a4cdc10587020b98246c171bc18ee |
11-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use Clang to compile and link TSan unit tests with TSan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190503 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/tests/CMakeLists.txt
ib/tsan/tests/rtl/CMakeLists.txt
ib/tsan/tests/unit/CMakeLists.txt
ib/tsan/tests/unit/tsan_unit_test_main.cc
|
e059bd35a33040c9ecbd291a190449f7a0a6f17f |
10-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r190410: use lazy initialization for symbolizer as some compilers emit global constructor to setup vptr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190414 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
9213e07a7f95b3e634b97a7bba70849badcf2c8a |
10-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Remove the explicit function prototypes for intercepted functions on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190411 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/interception/interception.h
|
7847d77b246635211c3bf465421d49d7af5226c1 |
10-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190410 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/lsan/lsan.cc
ib/lsan/lsan_common.cc
ib/msan/msan.cc
ib/msan/msan_report.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_symbolize.cc
ib/ubsan/ubsan_diag.cc
|
34e3ed1db94c5ce9784d7ffb8d66a54cf523e09c |
10-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] refactor the use-after-return API so that the size class is computed at compile time instead of at run-time. compiler-rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190406 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_interface_internal.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/Linux/interface_symbols_linux.c
ib/asan/tests/asan_noinst_test.cc
|
1e7a3d7ebebf7e2b7b44e2946d33ae127b94c064 |
10-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Make all pointers in msan_interface "const volatile void *". This way msan annotations can be used with both normal and volatile memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190403 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
|
13c379073b8af7eb5ea4706078428d1594c487ab |
10-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] bool -> int to make msan_interface.h C-compatible. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190402 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
ib/msan/lit_tests/malloc_hook.cc
ib/msan/msan_allocator.cc
ib/msan/msan_interface_internal.h
|
997454a41a1658837d72d69ec7def59616311243 |
10-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Don't crash in DescribeHeapAddress if we don't know the current thread's ID Also make DescribeThread easier to use. This was firing on Dr.ASan runs, not sure how to repro InvalidTID in a simple test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190392 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
a09507c38cf9dd9119e5aa9bd6d91383514f857b |
10-Sep-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Delete unused variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190383 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_mutex_test.cc
ib/tsan/rtl/tsan_interceptors.cc
|
78d737cfd36b57c784095db281bac8e3c500c8b6 |
10-Sep-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Initial set of DFSAN_OPTIONS flags. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190379 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/dfsan.cc
ib/dfsan/dfsan.h
ib/dfsan/lit_tests/Inputs/flags_abilist.txt
ib/dfsan/lit_tests/flags.c
|
7ab94ea0d5182da0e0ed1dc2c3cf40beccbf25b9 |
10-Sep-2013 |
Bill Wendling <isanbard@gmail.com> |
Don't allow a NULL-length file. Try to revert to the buffered version. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190359 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
bb22942b91bf0855da4a9da132c77f325b187b84 |
09-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept fstatat / fstatat64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190306 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
d9a5e243254764ab1024320ef34bc2a87180f4c5 |
09-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix PR17138. strerror_r on OSX returns a positive error code when the errno value is unknown. Buffer contents are initialized in any case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190295 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/strerror_r_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
85626e8127d1f795a447c1bacb5a2606c7b954d9 |
09-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Delete extra whitespace. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190292 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
4f78b354034f4b6826a59733d774f558ca1eab89 |
08-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix one more memory leak in test case git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190277 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/free_hook_realloc.cc
|
9da14cc709011d1d61ac1bcc9a8a78c00e80fce5 |
08-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use generic configs for running sanitizer_common unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190276 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/lit.cfg
ib/sanitizer_common/tests/lit.site.cfg.in
|
1a249181dcdf217d368fbf4c1f09d8af7e617cb0 |
08-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] turn on leak checking for ASan tests and fix a few discovered leaks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190274 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/glob.cc
ib/asan/lit_tests/TestCases/Linux/interception_readdir_r_test.cc
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/asan/lit_tests/lit.cfg
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_str_test.cc
ib/lit.common.unit.cfg
ib/lit.common.unit.configured.in
|
a3cb27e188bd23190ba7a41a8c62fa7cc5ac5544 |
06-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Avoid including any system headers in the system-header-free part of the runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190161 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
9a4a1590169e42076aee67a6fd472ece77b9b484 |
06-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. Android actually has "__unused" macro defined in <cdefs.h>. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190160 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
639df402c4925acd3ea7bebff729a535e3f79964 |
06-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] A bunch of linux system call handlers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190157 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/asan/lit_tests/TestCases/Linux/syscalls.cc
ib/msan/lit_tests/Linux/syscalls.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
0b2c3a79bbcba15bb973f8199bbd7052b43f548c |
06-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] make the check for NULL more portable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190139 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/allocator_returns_null.cc
|
e9e4f04e8320d35ab19dfb8688a7bdd3e5ae7cbb |
06-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix compiler warning introduced in r190022 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190137 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_str_test.cc
|
f7f2e431263cc0aa321218ce8978b289187a39a3 |
06-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Migrate ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS to new spelling - ATTRIBUTE_NO_SANITIZE_ADDRESS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190136 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/sanitizer_common/tests/sanitizer_test_utils.h
|
bd33d3ab168fcbcfe09a3fd6a971994b481e89d0 |
06-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190135 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/allocator_returns_null.cc
ib/tsan/lit_tests/malloc_overflow.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/tests/unit/tsan_mman_test.cc
|
967e07eccfec5e013df5f77b7dd906abfa6b60d9 |
06-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[msan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190132 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
48b7ee943e01a206600b0189e6b2b0125c4dd1d1 |
06-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190128 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/lit_tests/TestCases/allocator_returns_null.cc
ib/asan/tests/asan_noinst_test.cc
|
9150f397ba4c5478275d72665ea3e53a84c7076a |
06-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make the allocator crash instead of returning 0 on huge size (controlled by the allocator_may_return_null flag) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190127 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/lit_tests/TestCases/allocator_returns_null.cc
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
a27512c4e115df4f260501a94b8d343f9ed955af |
05-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] add colors to tsan output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190045 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
|
923bac7a85d8bd37219b440a6b4c0800ea4bcd21 |
05-Sep-2013 |
Reid Kleckner <reid@kleckner.net> |
sanitizers: Make sure Visual Studio gets error reports Visual Studio appears to close stderr before launching a non-console win32 program. This means we don't see any sanitizer reports. If stderr printing fails, call OutputDebugStringA to get the reports into the Visual Studio debugger console. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190030 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
b99228de65b408b0acd9618b92774fb8add7e482 |
05-Sep-2013 |
Reid Kleckner <reid@kleckner.net> |
asan: Add a wcslen interceptor mirroring strlen Tested on Linux, since I can't build the tests on Windows yet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190022 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_str_test.cc
|
ed2364bb49e9ad1866320e02b0f004b97907052a |
04-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test that demonstrates why the current use-after-return is not signal-safe git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189943 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/uar_signals.cc
|
73dc36ea7dd04a2ea52ffae91670913731de209a |
04-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make use-after-return handle very deep recursion; fixes 483.xalancbmk in UAR mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189929 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/lit_tests/TestCases/deep_call_stack.cc
|
db9d684d26dc31a7522bb90841d51cbcc84ed23b |
04-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Disable FindPathToBinary test on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189923 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
5a58ef4284194419446d77037441f92d85ab7e4c |
03-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[asan] Hopefully un-break the RTL on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189821 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
22917e961033a840c500761d3c7110b5a654fca4 |
03-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[asan] Hopefully fix the RTL build on Windows (part 2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189817 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
8cde5cb6b7020d079f8db3e389a02df7a007f017 |
03-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: catch races on condition variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189816 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/cond.c
ib/tsan/lit_tests/cond_race.cc
ib/tsan/rtl/tsan_interceptors.cc
|
89fe5642529335dc5d13ce7f4e61bdea36fca508 |
03-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] attemping to fix the Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189814 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
8a3d788a346c4d69e22fbae1e431714ecf403c81 |
03-Sep-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Revert r185536 as it neither fixes any memory leaks, nor is it necessary (see the example from "man pthread_getattr_np") git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189810 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
|
edb39c7942fc9fe5043b7cce348bac0aec4c83eb |
03-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
implement PR17059: more visible diagnostics for stack-buffer-overflow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189806 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/lit_tests/TestCases/stack-buffer-overflow-with-position.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
|
650c7d44b659ddfb4af471dc2ad79a727b7de939 |
03-Sep-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Colorize LSan reports. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189804 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/lsan/lsan_common.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_common_libcdep.cc
|
68c016aea0b61f649b9d9ba65c7d7217e0c0f6cb |
03-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan, LSan, MSan: try to find llvm-symbolizer binary in PATH if it is not provided. Now we don't need to explicitly set the location of llvm-symbolizer in lit test configs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189801 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/lit.cfg
ib/lsan/lit_tests/AsanConfig/lit.cfg
ib/lsan/lit_tests/LsanConfig/lit.cfg
ib/lsan/lsan.cc
ib/msan/lit_tests/lit.cfg
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
|
1dcd1d9d1c86ab9b728386d261fbebe00b32e097 |
03-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add the way to find binary in PATH git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189799 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
72870db5f2e0e83b2e925eef594dacfae275a8de |
03-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Add internal_strchrnul function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189797 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
da506a9ae831f275267ddc9ee74e5474246369b1 |
03-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fixup for r189791: don't put ; on the newline git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189792 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
|
a117492b30509744a2b3e1e84c7b56e9ad76c0c9 |
03-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add suppressions for true/false positives in standard libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189791 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
|
a4e950a2f1eff82b53f500637d1114246886015c |
03-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Remove an unused variable introduced in r189789 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189790 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
2e13ca86c9ce926e6fefd528892592326478ac6c |
03-Sep-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Move the /proc/self/maps parsing logic to sanitizer_common Provide a generic way for the tools to generate memory profiles from contents of /proc/self/maps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189789 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/tsan/rtl/tsan_platform_linux.cc
|
ab0ddd48647cc7081786567d328d23268cc41359 |
03-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix linking when -ltsan is passed before -lpthread libpthread is weird: /lib/x86_64-linux-gnu/libpthread.so.0:000000000000b9b0 T pthread_cond_init@@GLIBC_2.3.2 /lib/x86_64-linux-gnu/libpthread.so.0:000000000000c720 T pthread_cond_init@GLIBC_2.2.5 let's do it with @@ for now we can always introduce more macros parameters later git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189788 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_linux.h
|
ec014cc3705b35d9df38419c94e72f553ebe2ea8 |
03-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Another regression test for r189786. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189787 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/select.cc
|
204060453c823f027815cfe6d449bbd5c4f39f7f |
03-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] A regression test for r189785. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189786 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
696902ad6f427ce37b5f64a84a9cd53162f09abf |
03-Sep-2013 |
Kostya Serebryany <kcc@google.com> |
fix PR17061 (and pleeease, don't ask me for a test, this is just a minor output formatting issue :) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189783 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
2f913eef5770968386515855529e9b6244df1247 |
03-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix android build android does not have dlvsym git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189781 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_linux.cc
ib/interception/interception_linux.h
|
f061554e8bbfad5e29dcd9e81feb725b75869fa0 |
02-Sep-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: properly intercept pthread_cond functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189767 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_linux.cc
ib/interception/interception_linux.h
ib/tsan/lit_tests/cond_version.c
ib/tsan/lit_tests/test_output.sh
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
b6c3c12e3009bb2fe384dc156a97afb51767399c |
02-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Update MSanDR build instructions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189760 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/README.txt
|
cb339108cca40fb4c1ed520656cb6cb75889a237 |
02-Sep-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer_common] Add internal_clone(). Add a wrapper for the clone syscall for use in StopTheWorld. We implement it only for x86_64, so stop building StopTheWorld for other platforms (no one uses it outside x86_64 anyway). See https://code.google.com/p/address-sanitizer/issues/detail?id=214 for why we can't use the glibc clone() wrapper. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189753 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
ib/sanitizer_common/tests/sanitizer_stoptheworld_test.cc
|
97160a83ae2dad479cd93a3cb1dfbc06958f69a1 |
02-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept memalign, valloc, pvalloc. PR17039 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189750 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
dcf154d08f770f7b683ebe58c80603029a773c68 |
02-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make blacklist test more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189748 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/blacklist.cc
|
642db076afad2d0c639e7adb25c6f0ed51536909 |
02-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[CMake] Don't build sanitizer runtimes if LLVM_USE_SANITIZER is specified git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189745 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
717ece58e18190c4aef50bd16254db1d74036395 |
02-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
Improve collecting malloc stats in ASan Summary: This change makes races between updates of thread-local stats and merging all the thread-local stats together less harmful. Reviewers: kcc Reviewed By: kcc CC: dvyukov, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1572 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189744 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stats.cc
ib/asan/asan_stats.h
ib/asan/asan_thread.cc
ib/asan/lit_tests/TestCases/current_allocated_bytes.cc
|
6d40a0a2ffa6735e45bd1d62c94ff725fd3e8b71 |
30-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Conditionalise inclusion of link.h on !SANITIZER_ANDROID. Hopefully fixes the Android build. Differential Revision: http://llvm-reviews.chandlerc.com/D1551 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189696 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
98432980845d10da7ea1aa8fc4d330a763d193ed |
30-Aug-2013 |
Will Dietz <wdietz2@illinois.edu> |
Avoid compiler-generated memset by using internal_memset. Fixes PR17025. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189693 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
|
ba945f8d5c3f57dfadc3b2fa7ac9016fdd331e1d |
30-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Add a syms file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189620 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/CMakeLists.txt
ib/dfsan/dfsan.syms.extra
|
fb23e2f83e2450e54196fe8c85eda17475089b41 |
29-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Minor updates to gen_dynamic_list script suggested by glider git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189588 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/gen_dynamic_list.py
|
0bc4a0b9c7cae94e4a1d50a77a53cb92781b46c5 |
29-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add a couple of compiler warnings to TSan runtime compile flags git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189581 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/tsan/CMakeLists.txt
|
d9760ab05f99451ffe7528a3e03e98ab67e09383 |
29-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Move build rules a bit to ensure correct dependencies of check-tsan command git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189579 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/CMakeLists.txt
ib/tsan/rtl/CMakeLists.txt
|
225c4cc03b77be2e1766289a84f563a0017b4e67 |
29-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
[sanitizer] Parallelize lint checker script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189578 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
38a61aa7d3fc1deeb612e02863f0fbb417cda612 |
29-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
[sanitizer] Refine CMake rules for generating exported symbols and lint checking git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189577 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/SanitizerUtils.cmake
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
|
5fa3d5d7ec35a704c6362d8d04f03023bb6e95e8 |
28-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Add custom function for dl_iterate_phdr. Differential Revision: http://llvm-reviews.chandlerc.com/D1505 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189503 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/dfsan_custom.cc
ib/dfsan/done_abilist.txt
ib/dfsan/lit_tests/custom.c
|
6c6374474949329f6ae00318027e9e32aa87057f |
28-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Add custom function for pthread_create. Differential Revision: http://llvm-reviews.chandlerc.com/D1504 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189502 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/dfsan_custom.cc
ib/dfsan/done_abilist.txt
ib/dfsan/lit_tests/custom.c
|
34724133beddaa348ec5c63d56ad21f0dcc14ec2 |
28-Aug-2013 |
Hans Wennborg <hans@hanshq.net> |
cmake: Add /Oy- (don't omit frame pointer) to compile flags git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189488 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
1de40607ba0671e82e49be696dbd8a001b41f6f4 |
28-Aug-2013 |
Will Dietz <wdietz2@illinois.edu> |
sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python. Fixes build on systems where 'python' is not python2. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189486 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/SanitizerUtils.cmake
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/scripts/check_lint.sh
|
81b8120b555eedd578e0737d081d1f6d76cfc3b9 |
28-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Make lint checker script more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189479 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/scripts/check_lint.sh
|
fafab2f5e27eecbfaaee727f66ecd068dafa41fe |
28-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Check code style in check-sanitizer command git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189475 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/scripts/check_lint.sh
ib/sanitizer_common/scripts/cpplint.py
ib/sanitizer_common/tests/CMakeLists.txt
|
c154820b43052cfc54ee20752a3232aa8e6c7843 |
28-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
[sanitizer] fix code style git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189474 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/sanitizer_common/sanitizer_stackdepot.h
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
4c621593e8df1ac25f86ea5d638f426e92dc27b1 |
28-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove extra backup/restore calls. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189461 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
6102afb6651a43f6fa3c66810e321e464aff1172 |
28-Aug-2013 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix a CHECK failure in use-after-return mode; enable and fix stack-use-after-return.cc; add a test for UAR mode in asan_noinst_test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189457 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
ib/asan/tests/asan_noinst_test.cc
|
544bdfb538d082109194952ce66907b917eb8d51 |
28-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Generate list of symbols exported from sanitizer runtimes only on 64-bit Unix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189454 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/msan/CMakeLists.txt
ib/ubsan/CMakeLists.txt
|
e5fa243b20bf5e6a097bc58cbedfe6bed8a9b7d1 |
27-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Properly generate lists of exported symbols for sanitizer runtimes This change adds a Python script that is invoked for the just-built sanitizer runtime to generate the list of exported symbols passed to the linker. By default, it contains interceptors and sanitizer interface functions, but can be extended with tool-specific lists. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189356 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/AddCompilerRT.cmake
make/Modules/SanitizerUtils.cmake
ib/asan/CMakeLists.txt
ib/asan/asan.syms
ib/asan/asan.syms.extra
ib/msan/CMakeLists.txt
ib/msan/msan.syms
ib/msan/msan.syms.extra
ib/sanitizer_common/scripts/gen_dynamic_list.py
ib/tsan/Makefile.old
ib/tsan/gen_dynamic_list.sh
ib/tsan/rtl/CMakeLists.txt
ib/tsan/rtl/tsan.syms
ib/tsan/rtl/tsan.syms.extra
ib/ubsan/CMakeLists.txt
ib/ubsan/ubsan.syms
ib/ubsan/ubsan.syms.extra
|
0e38a67cd2d877e8680d65878c86c9e7e4fa4b1d |
27-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Save/restore va_arg_overflow_tls in signal handlers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189351 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/signal_stress_test.cc
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_interceptors.cc
|
3354fa60c20cc5c99ecfb36d813b598dc1b96b80 |
27-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r189347: it breaks on machines w/o installed debug versions of system libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189350 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
|
a6b03c051f9f62771978f8621e7d82ebd1aadd2d |
27-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
LSan: Check that dynamic linker library is properly symbolized git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189347 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
|
91659d56bab07fb82ac0edad18c04b333680fd62 |
27-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison all TLS shadow when leaving a signal handler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189343 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/signal_stress_test.cc
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_interceptors.cc
|
e0a871284c7496b91add2956531d1a9e65b7bc88 |
27-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix a data race in signal/sigaction interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189342 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
47177efc15d2a75c7c85ba31aa61e41e7b47b5a3 |
27-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] A test for ppoll() interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189339 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
b32d1bfc59592bc57d74a1e940881354b4788eae |
27-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Simplify sigaction and sigset_t handling. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189338 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
c1f1af715b204a7be6e31754169c358edb392bb2 |
27-Aug-2013 |
Hans Wennborg <hans@hanshq.net> |
cmake: fix the compiler-rt build with MSVC This sets flags and excludes things that aren't working with MSVC yet, allowing us to build the ASan runtime as part of the cmake build. Differential Revision: http://llvm-reviews.chandlerc.com/D1525 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189304 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
384a448fbe081352f7b3bb927093412ad1725cff |
26-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Add a fast version of StackDepotGet() for use in LSan. Add a class that holds a snapshot of the StackDepot optimized for querying by ID. This allows us to speed up LSan dramatically. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189217 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common_linux.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stackdepot.cc
ib/sanitizer_common/sanitizer_stackdepot.h
ib/sanitizer_common/tests/sanitizer_common_test.cc
ib/sanitizer_common/tests/sanitizer_stackdepot_test.cc
|
90629fb8072efc95e46a0cbc641293511fbaba2e |
26-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Handle Die() in StopTheWorld. Handle calls to Die() from the tracer thread. Fixes a bug where a CHECK could fail in the tracer thread, resulting in a call to AsanDie. The tracer thread then exited and the parent process continued execution despite its address space being in an unusable state. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189216 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
920860cd166b25b2bf3c765b693278a4e5992a2b |
23-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Integration test for the equal-labels case git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189134 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/lit_tests/propagate.c
|
3c531dfb0f06a53826bd55e1cae949abb03a6d6d |
23-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Extend VAArgTLSOverwrite test. This test now covers LLVM r189104. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189105 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
5bd2174c1385ec10b172cc9a32bc33b1967d60b5 |
23-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Slightly improve lint checker script and fix a few style issues git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189092 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/high_allocator_contention.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/scripts/check_lint.sh
|
25aa2553555f416a261625da7f2bd48c36d487bd |
22-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add a regression test for building C code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189016 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/AsanConfig/lit.cfg
ib/lsan/lit_tests/LsanConfig/lit.cfg
ib/lsan/lit_tests/TestCases/sanity_check_pure_c.c
ib/lsan/lit_tests/lit.common.cfg
|
ba15077bf83ebf9a32bfefcd0c9c2f35ab36001d |
22-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build when scanf interceptors are enabled, and __isoc99_*scanf are not. Fixes PR16916. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189015 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
8d0c5ba5a63e2934136336db1884804c00932be9 |
22-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add a stress test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/high_allocator_contention.cc
|
cf637373d5e6c0f2ba6381a944818f3a73ca7946 |
22-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Follow-up to r189010 - do the same in Makefile build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189011 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
34fe7e14ee64a3f2768c8a0e789cba607fd69867 |
22-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Build standalone LSan with -fno-rtti. Fix issue where C code could not be built with -fsanitize=leak. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189010 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/CMakeLists.txt
ib/lsan/tests/CMakeLists.txt
|
0d77f8cb7b8feeb10ea00f2ec64ed300fde260fe |
21-Aug-2013 |
Bill Wendling <isanbard@gmail.com> |
Add missing ']'. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188927 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
21afede01089ae194f0f9658f444aff0496220dd |
21-Aug-2013 |
Bob Wilson <bob.wilson@apple.com> |
For Darwin builds, locate tools using xcrun when available. The make/platform/darwin_bni.mk file already has similar code but we apparently neglected to add it to the clang_darwin.mk file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188864 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
ebc0484ebbd1b7ed142b2851e3308559dabe79f7 |
20-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Add support for building standalone LSan runtime to Make build (compiler-rt part) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188804 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/Makefile.mk
ake/platform/clang_linux.mk
|
45c9df5517260bea38ea8583c68756f9a9aaec5b |
18-Aug-2013 |
Chandler Carruth <chandlerc@gmail.com> |
It appears that glibc 2.13 has the same thread descriptor size as 2.11, bump up the inflection point to 2.14. If someone can tell me how to actually figure out value for this, that would be awesome. Anyways, this takes me to one ASan failure, one LSan failure, and three TSan failures for 'check-all' on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188635 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
|
8766b8162c8e0e2f57baf7aa47736f89aaaac9dc |
18-Aug-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r188369 (and r188455) which breaks the build on at least some Linux systems. I've replied on the original commit thread with details of the problem. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188628 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
7840d7d44f20b95274e86b0d4b254692f775a32f |
18-Aug-2013 |
Joerg Sonnenberger <joerg@bec.de> |
Fix endian conditions on Solaris. From Alexander Esilevich. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188613 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_endianness.h
|
13f5be4dd1d8bf6a44d8d976325f1c6f26fa9f7f |
16-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/RTL] Disable colored reporting on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188545 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/sanitizer_common/sanitizer_report_decorator.h
|
9d95475f8adb1e08e45484feb03570ae2be2d0f3 |
16-Aug-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better report formatting for Go Say that gorotuine 1 is main goroutine. Remove excessive new line. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188542 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/test.c
ib/tsan/rtl/tsan_report.cc
|
a0e78c9dbd9cc27aebf765cc69a1158df5a05bb9 |
16-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/RTL] Disable alloc_dealloc_mismatch by default on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188541 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
6e4c46dc162803cc99c2a5e068fc28adb873a431 |
15-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Initial set of custom functions and interceptors for libc. Differential Revision: http://llvm-reviews.chandlerc.com/D1397 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188490 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/CMakeLists.txt
ib/dfsan/dfsan.cc
ib/dfsan/dfsan.h
ib/dfsan/dfsan_custom.cc
ib/dfsan/dfsan_interceptors.cc
ib/dfsan/done_abilist.txt
ib/dfsan/libc_ubuntu1204_abilist.txt
ib/dfsan/lit_tests/custom.c
ib/dfsan/scripts/build-libc-list.py
|
2c78b04e65a7eaf5a207d6cfae8fac1d7490bcae |
15-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Runtime support for -dfsan-debug-nonzero-labels feature. Reviewers: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1406 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188471 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/dfsan.cc
|
1a26778a82f8a699a075ce8b4dde4f474e54020d |
15-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add missing include. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188455 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
|
369ffffa48cb611a63dc5c7926e5c00181b14ba1 |
14-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] New __dfsan_set_label runtime function. Differential Revision: http://llvm-reviews.chandlerc.com/D1396 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188411 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/dfsan.cc
|
e8d20340700e0253a2b08c03391409f397eac3e3 |
14-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Runtime support for ABI list functionality; can now run integration tests with args ABI. Differential Revision: http://llvm-reviews.chandlerc.com/D1351 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188401 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/CMakeLists.txt
ib/dfsan/dfsan.cc
ib/dfsan/done_abilist.txt
ib/dfsan/lit_tests/CMakeLists.txt
ib/dfsan/lit_tests/basic.c
ib/dfsan/lit_tests/fncall.c
ib/dfsan/lit_tests/propagate.c
|
e6e564d232f95719277476308937856328c63682 |
14-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Split platform_limits_posix into system- and kernel-dependent parts. This change moves everything depending on kernel headers (mostly ioctl types and ids) into a separate source file. This will reduce the possibility of header conflict on various platforms (most importantly, older glibc versions). This change also removes 2 deprecated ioctls, and symbolic ids for other bunch of ambiguous ioctls (i.e. same id is shared by ioctls with different memory behavior). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188369 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_linux.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
1528c6cea4593ac7c45d72a74efae4be36ec52f0 |
14-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Introduce dfsan_read_label runtime function. Differential Revision: http://llvm-reviews.chandlerc.com/D1349 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188319 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/dfsan_interface.h
ib/dfsan/dfsan.cc
ib/dfsan/lit_tests/basic.c
ib/dfsan/lit_tests/propagate.c
|
734647c968ec74fef1f313ad108a882f4b35ffef |
13-Aug-2013 |
Dmitry Vyukov <dvyukov@google.com> |
dfsan: fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188292 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/dfsan_interface.h
|
cf878fd3e01cd141ad1e095764d64c410c0ce763 |
13-Aug-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept getaddrinfo This is necessary to prevent false positives, see: https://code.google.com/p/thread-sanitizer/issues/detail?id=25 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188291 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
e274841d866cde3d393f643632bf67d59469430e |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Oops, forgot to add the attributes to the memory allocations functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188290 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_win.cc
|
dbac0a4a41f405d10e3dcad3597fe08986605289 |
13-Aug-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/msan: add halt_on_error flag If halt_on_error==true, program terminates after reporting first error. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188279 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/keep-going.cc
ib/msan/msan.cc
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
ib/tsan/check_cmake.sh
ib/tsan/lit_tests/halt_on_error.cc
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl_report.cc
|
43e62df906327f6ffa492edb933af1195143d149 |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Hook some memory allocation functions; passes simple sanity test now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188278 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_dll_thunk.cc
|
68cd60c77470fd6e0f86bad1e4c68796d516cc06 |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Add the first version of the RTL thunk that should be linked with instrumented DLLs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188267 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_dll_thunk.cc
|
9edab4feb0dc70b002cdcd7c1af7b2ae1f76f6c9 |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Add a FIXME to check_lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188266 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
77690dbcd5ec7e0e17cb2c05e0d906d6d098f210 |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[*San/RTL] One more minor fix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188263 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
|
f109267c5320210e69c1b66add801fd5f2e2a452 |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[*San/RTL] Fix minor breakage Grumbling: this hasn't been caught by running 'make check-{a,l,t}san check-sanitizer' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188262 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_interceptors.cc
|
3c80c6c574850106481f82b9e23d1c728458d4a9 |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188261 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_interface_internal.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/msan/msan.cc
ib/msan/msan_interface_internal.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface.cc
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_interface_ann.h
|
e4c3c84e9d470ebe5bae3a28358f28c7f652e5a6 |
13-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Remove the unused __dfsan_memcpy function. Differential Revision: http://llvm-reviews.chandlerc.com/D1350 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188238 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/dfsan.cc
|
fa9f5aef0583535f3ac1fa444f2cf62db324537e |
13-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Begin a private header and move shadow_for there. Differential Revision: http://llvm-reviews.chandlerc.com/D1348 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188231 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/dfsan.cc
ib/dfsan/dfsan.h
|
249cdca5989af3b55e42460283ca63096aeddfeb |
13-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[dfsan] Introduce dfsan_union runtime function. Differential Revision: http://llvm-reviews.chandlerc.com/D1347 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188229 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/dfsan_interface.h
ib/dfsan/dfsan.cc
ib/dfsan/lit_tests/propagate.c
|
fa484bac3e2d6a5a4bb83dd522a63fd0d70fc2bb |
13-Aug-2013 |
Rui Ueyama <ruiu@google.com> |
Add "CHECK-" prefix to un-break buildbot failure. After r188221, the prefix given by --check-prefix must match with the label as a whole. Substring is not considered to be a correct label anymore. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188227 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/free_race.c
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/shift.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/Integer/uincdec-overflow.cpp
ib/ubsan/lit_tests/Integer/usub-overflow.cpp
|
e18e3f07802c420eb4b2da407e148084b75cecc9 |
12-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept poll/ppoll. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188177 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
edff34b5175c6759685da82077c99ee2be017667 |
12-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getgroups. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188167 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
e8a1fce513171e90c281c8fe5c9f3dd644da59ca |
10-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[tests] Add one more lit rename update I missed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188117 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lit.common.unit.cfg
|
a1b15b4af39b843ebb8545d295aa872829eb8187 |
10-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[tests] Update to use lit_config and lit package, as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188116 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/32bitConfig/lit.site.cfg.in
ib/asan/lit_tests/64bitConfig/lit.site.cfg.in
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/asan/lit_tests/lit.cfg
ib/dfsan/lit_tests/lit.cfg
ib/dfsan/lit_tests/lit.site.cfg.in
ib/lit.common.cfg
ib/lit.common.configured.in
ib/lit.common.unit.configured.in
ib/lsan/lit_tests/AsanConfig/lit.cfg
ib/lsan/lit_tests/AsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/LsanConfig/lit.cfg
ib/lsan/lit_tests/LsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/Unit/lit.site.cfg.in
ib/lsan/lit_tests/lit.common.cfg
ib/msan/lit_tests/Unit/lit.site.cfg.in
ib/msan/lit_tests/lit.cfg
ib/msan/lit_tests/lit.site.cfg.in
ib/sanitizer_common/tests/lit.cfg
ib/sanitizer_common/tests/lit.site.cfg.in
ib/tsan/lit_tests/Unit/lit.cfg
ib/tsan/lit_tests/Unit/lit.site.cfg.in
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/lit.site.cfg.in
ib/ubsan/lit_tests/lit.cfg
ib/ubsan/lit_tests/lit.site.cfg.in
|
31f1941f7e2ee9548a77fb19186960b9b8a0632a |
09-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix handling of %n in scanf interceptor. %n does not increase the input item count. The new code emits writes to %n arguments even if it has run out of input items. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188069 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
7cba5f1d950495b02bc8da53d27bdbb1b0d4f117 |
09-Aug-2013 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to r187889. Change-Id: I7854e0183de92fff1e6ec333838b1935ee8b0547
EADME.android
|
6793ea5a9b2b75bb424df38fae3abf6dec7defcd |
09-Aug-2013 |
Stephen Hines <srhines@google.com> |
Merge commit '653e4526c70eb3d47780ed57553bc41c4b3cc1d6' into merge-20130807
|
8283cce72f05db2e7129aaa80059351177d69ffc |
08-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Limit scandir interceptor to Linux. Implementation uses __thread not available on certain platforms. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187983 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
224226c18c1ee1f9d187de86bf1c5023cb153c71 |
08-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept scandir/scandir64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187982 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/scandir.cc
ib/msan/lit_tests/scandir_null.cc
ib/msan/lit_tests/scandir_test_root/aaa
ib/msan/lit_tests/scandir_test_root/aab
ib/msan/lit_tests/scandir_test_root/bbb
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
cde3bae2a43eeb2ce086436833d4f24ab1e69005 |
08-Aug-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for invalid addresses passed to free() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187980 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
1204979804868728edb6edfe3ae018465191a85c |
08-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept strerror and strerror_r. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187978 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
82821fa64c3f0571a18adc1aa7cbadaba2a5e5e2 |
08-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] ASan/MSan tests for r187967. r187967: Disable inlining between sanitized and non-sanitized functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187971 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/inline.cc
ib/msan/lit_tests/inline.cc
|
b404b55b4f575fd57519bca3212d7d27c44fa26a |
08-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Simplify (and fix) check-dfsan configs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187968 91177308-0d34-0410-b5e6-96231b3b80d8
ib/dfsan/CMakeLists.txt
ib/dfsan/lit_tests/CMakeLists.txt
ib/dfsan/lit_tests/lit.cfg
ib/dfsan/lit_tests/lit.site.cfg.in
|
eee71ae5c1f4ce71612fac359463a54bc867abd6 |
08-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
DataFlowSanitizer; compiler-rt changes. DataFlowSanitizer is a generalised dynamic data flow analysis. Unlike other Sanitizer tools, this tool is not designed to detect a specific class of bugs on its own. Instead, it provides a generic dynamic data flow analysis framework to be used by clients to help detect application-specific issues within their own code. Differential Revision: http://llvm-reviews.chandlerc.com/D967 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187924 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/CMakeLists.txt
nclude/sanitizer/dfsan_interface.h
ib/CMakeLists.txt
ib/Makefile.mk
ib/dfsan/CMakeLists.txt
ib/dfsan/Makefile.mk
ib/dfsan/dfsan.cc
ib/dfsan/lit_tests/CMakeLists.txt
ib/dfsan/lit_tests/basic.c
ib/dfsan/lit_tests/fncall.c
ib/dfsan/lit_tests/lit.cfg
ib/dfsan/lit_tests/lit.site.cfg.in
ib/dfsan/lit_tests/propagate.c
ake/platform/clang_linux.mk
|
653e4526c70eb3d47780ed57553bc41c4b3cc1d6 |
07-Aug-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Fix free_race.c by removing `not` from the test invocation that doesn't fail. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187889 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/free_race.c
|
45c652e3b3068f5a0626977e4506c71cfdba8ad3 |
07-Aug-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Let the users suppress use-after-free errors using the "race:" suppressions. If there's a race between a memory access and a free() call in the client program, it can be reported as a use-after-free (if the access occurs after the free()) or an ordinary race (if free() occurs after the access). We've decided to use a single "race:" prefix for both cases instead of introducing a "use-after-free:" one, because in many cases this allows us to keep a single suppression for both the use-after-free and free-after-use. This may be misleading if the use-after-free occurs in a non-racy way (e.g. in a single-threaded program). But normally such bugs shall not be suppressed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187885 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/free_race.c.supp
ib/tsan/rtl/tsan_suppressions.cc
|
ead14cf28f1d2684c6197b569cb812774dc6cbcd |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: fix one more test case for pipefail git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187881 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Darwin/malloc_zone-protected.cc
|
244a8e02f5c99a62f0c92cf854b859f34ca1d8b5 |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Distinguish 32-bit ASan from 64-bit ASan in lit configs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187878 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
|
f2366a95ae2b54569bf556c11580a14481f8700f |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Enable pipefail for ASan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187877 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/heavy_uar_test.cc
ib/asan/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/TestCases/Linux/interception_malloc_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_test.cc
ib/asan/lit_tests/TestCases/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
ib/asan/lit_tests/TestCases/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/ptrace.cc
ib/asan/lit_tests/TestCases/Linux/rlimit_mmap_test.cc
ib/asan/lit_tests/TestCases/Linux/syscalls.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow32.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow64.cc
ib/asan/lit_tests/TestCases/allow_user_segv.cc
ib/asan/lit_tests/TestCases/asan-symbolize-sanity-test.cc
ib/asan/lit_tests/TestCases/deep_stack_uaf.cc
ib/asan/lit_tests/TestCases/deep_tail_call.cc
ib/asan/lit_tests/TestCases/deep_thread_stack.cc
ib/asan/lit_tests/TestCases/double-free.cc
ib/asan/lit_tests/TestCases/global-demangle.cc
ib/asan/lit_tests/TestCases/global-overflow.cc
ib/asan/lit_tests/TestCases/huge_negative_hea_oob.cc
ib/asan/lit_tests/TestCases/init-order-atexit.cc
ib/asan/lit_tests/TestCases/initialization-bug.cc
ib/asan/lit_tests/TestCases/invalid-free.cc
ib/asan/lit_tests/TestCases/ioctl.cc
ib/asan/lit_tests/TestCases/memcmp_strict_test.cc
ib/asan/lit_tests/TestCases/memcmp_test.cc
ib/asan/lit_tests/TestCases/on_error_callback.cc
ib/asan/lit_tests/TestCases/partial_right.cc
ib/asan/lit_tests/TestCases/readv.cc
ib/asan/lit_tests/TestCases/sanity_check_pure_c.c
ib/asan/lit_tests/TestCases/shared-lib-test.cc
ib/asan/lit_tests/TestCases/sleep_before_dying.c
ib/asan/lit_tests/TestCases/stack-frame-demangle.cc
ib/asan/lit_tests/TestCases/stack-oob-frames.cc
ib/asan/lit_tests/TestCases/stack-overflow.cc
ib/asan/lit_tests/TestCases/strdup_oob_test.cc
ib/asan/lit_tests/TestCases/strip_path_prefix.c
ib/asan/lit_tests/TestCases/symbolize_callback.cc
ib/asan/lit_tests/TestCases/time_interceptor.cc
ib/asan/lit_tests/TestCases/unaligned_loads_and_stores.cc
ib/asan/lit_tests/TestCases/use-after-poison.cc
ib/asan/lit_tests/TestCases/use-after-scope-dtor-order.cc
ib/asan/lit_tests/TestCases/use-after-scope-inlined.cc
ib/asan/lit_tests/TestCases/use-after-scope.cc
ib/asan/lit_tests/TestCases/wait.cc
ib/asan/lit_tests/lit.cfg
|
84ba74c10ad43c6dff77302f87efae72623d2a1b |
07-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept sched_getaffinity. Re-applying with a more reliable test case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187876 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
0172c8cd8ec72ae11e7b2a2b65b54466ea75de9c |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Enable pipefail for TSan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187875 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/atomic_free.cc
ib/tsan/lit_tests/atomic_free2.cc
ib/tsan/lit_tests/atomic_race.cc
ib/tsan/lit_tests/atomic_stack.cc
ib/tsan/lit_tests/fd_location.cc
ib/tsan/lit_tests/fd_pipe_race.cc
ib/tsan/lit_tests/fd_stdout_race.cc
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/free_race2.c
ib/tsan/lit_tests/global_race.cc
ib/tsan/lit_tests/heap_race.cc
ib/tsan/lit_tests/inlined_memcpy_race.cc
ib/tsan/lit_tests/java_lock_rec_race.cc
ib/tsan/lit_tests/java_race.cc
ib/tsan/lit_tests/java_race_move.cc
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/load_shared_lib.cc
ib/tsan/lit_tests/longjmp3.cc
ib/tsan/lit_tests/longjmp4.cc
ib/tsan/lit_tests/malloc_stack.cc
ib/tsan/lit_tests/memcpy_race.cc
ib/tsan/lit_tests/mop_with_offset.cc
ib/tsan/lit_tests/mop_with_offset2.cc
ib/tsan/lit_tests/mutex_destroy_locked.cc
ib/tsan/lit_tests/mutexset1.cc
ib/tsan/lit_tests/mutexset2.cc
ib/tsan/lit_tests/mutexset3.cc
ib/tsan/lit_tests/mutexset4.cc
ib/tsan/lit_tests/mutexset5.cc
ib/tsan/lit_tests/mutexset6.cc
ib/tsan/lit_tests/mutexset7.cc
ib/tsan/lit_tests/mutexset8.cc
ib/tsan/lit_tests/oob_race.cc
ib/tsan/lit_tests/race_on_barrier.c
ib/tsan/lit_tests/race_on_barrier2.c
ib/tsan/lit_tests/race_on_heap.cc
ib/tsan/lit_tests/race_on_mutex.c
ib/tsan/lit_tests/race_on_mutex2.c
ib/tsan/lit_tests/race_on_read.cc
ib/tsan/lit_tests/race_on_write.cc
ib/tsan/lit_tests/race_with_finished_thread.cc
ib/tsan/lit_tests/signal_errno.cc
ib/tsan/lit_tests/signal_malloc.cc
ib/tsan/lit_tests/sigsuspend.cc
ib/tsan/lit_tests/simple_race.c
ib/tsan/lit_tests/simple_race.cc
ib/tsan/lit_tests/simple_stack.c
ib/tsan/lit_tests/simple_stack2.cc
ib/tsan/lit_tests/sleep_sync.cc
ib/tsan/lit_tests/sleep_sync2.cc
ib/tsan/lit_tests/stack_race.cc
ib/tsan/lit_tests/stack_race2.cc
ib/tsan/lit_tests/static_init3.cc
ib/tsan/lit_tests/suppress_same_address.cc
ib/tsan/lit_tests/suppress_same_stacks.cc
ib/tsan/lit_tests/thread_leak3.c
ib/tsan/lit_tests/thread_leak5.c
ib/tsan/lit_tests/thread_name.cc
ib/tsan/lit_tests/tiny_race.c
ib/tsan/lit_tests/tls_race.cc
ib/tsan/lit_tests/tls_race2.cc
ib/tsan/lit_tests/unaligned_race.cc
ib/tsan/lit_tests/vptr_harmful_race.cc
ib/tsan/lit_tests/vptr_harmful_race2.cc
ib/tsan/lit_tests/write_in_reader_lock.cc
|
cc5a4acd26ea0e8975c7af3cba906440153cf072 |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Enable pipefail for LSan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187873 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/disabler.cc
ib/lsan/lit_tests/TestCases/do_leak_check_override.cc
ib/lsan/lit_tests/TestCases/ignore_object.cc
ib/lsan/lit_tests/TestCases/large_allocation_leak.cc
ib/lsan/lit_tests/TestCases/link_turned_off.cc
ib/lsan/lit_tests/TestCases/stale_stack_leak.cc
ib/lsan/lit_tests/TestCases/suppressions_default.cc
ib/lsan/lit_tests/TestCases/suppressions_file.cc
ib/lsan/lit_tests/TestCases/use_globals_initialized.cc
ib/lsan/lit_tests/TestCases/use_globals_uninitialized.cc
ib/lsan/lit_tests/TestCases/use_registers.cc
ib/lsan/lit_tests/TestCases/use_stacks.cc
ib/lsan/lit_tests/TestCases/use_stacks_threaded.cc
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/TestCases/use_tls_static.cc
ib/lsan/lit_tests/TestCases/use_unaligned.cc
ib/lsan/lit_tests/lit.common.cfg
|
212008328600e3b966fe5363e84d7fa824eafe77 |
07-Aug-2013 |
David Blaikie <dblaikie@gmail.com> |
Revert "[sanitizer] Intercept sched_getaffinity." This reverts commit r187788. The test case is unreliable (as the test may be run in a situation in which it has no affinity with cpu0). This can be recommitted with a more reliable test - possibly using CPU_COUNT != 0 instead (I wasn't entirely sure that a process was guaranteed to have at least one affinity, though it seems reasonable, or I'd have made the change myself). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187841 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a74047af8eb56e41cbb765d296b79e07ce4803b3 |
06-Aug-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Drive-by fix for -Wempty-body in sanitizer_common_syscalls.inc This makes the file consistently use { } around the if statements containing the PRE_/POST_ macros. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187797 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
39d68edd461abb5058a4b96fd16f1741ad89bba7 |
06-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix NULL arg handling in setitimer/getitimer interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187789 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
b2dc6137eaa16f45401a6905f5aff1e894ae0975 |
06-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept sched_getaffinity. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187788 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
53fbbf419e1db6c03132650f189d725d23f51a42 |
05-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Lint fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187726 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
nclude/sanitizer/lsan_interface.h
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/scripts/check_lint.sh
|
5c48a8c4a8b3f7cd3f03f26c6aadc0ee606fc9b7 |
02-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allocator statistics interface and malloc hooks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187653 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
ib/msan/lit_tests/malloc_hook.cc
ib/msan/msan.h
ib/msan/msan_allocator.cc
ib/msan/msan_interface_internal.h
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_allocator.h
|
08104e6f77f4e5279f8cb4a74784ffb7afd5073f |
02-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix unused function warning in the tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187648 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
41f15402521b7af66c2aa8e0ad4a056fc8166dd9 |
01-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add leak_check_at_exit flag. We needed a way to tell LSan to invoke leak checking only if __do_leak_check() is called explicitly. This can now be achieved by setting leak_check_at_exit=false. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187578 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/lsan/lit_tests/TestCases/leak_check_at_exit.cc
ib/lsan/lsan.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
|
534e2ba5188e1a74b340f9507755806357835f62 |
01-Aug-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept setenv, putenv. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187575 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
3ff67e64a39d28ece8fc4a191095e5321cb56e50 |
31-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix msan tests with pipefail option. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187485 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/dso-origin.cc
ib/msan/lit_tests/ioctl_custom.cc
ib/msan/lit_tests/lit.cfg
|
74422e9f7cf31ee3cff478f6c36ca3faa46e1ebd |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Tweak read syscall handler signature for consistency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187417 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
9d34659cd3570423fb1fa49248887e2bd4b762f9 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] read() syscall hook. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187414 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/msan/lit_tests/Linux/syscalls.cc
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
6567092b06b37195cd93d57204bcbfe6843b2a48 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept pthread_join. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187413 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
5ec19bc74b52fd962f079086c2fa615d6d3f0864 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept confstr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187412 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
103e5b744497fdc57be9efe5e6ef40a896736993 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Limit fake stack size to a reasonable value when running with unlimited stack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187411 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
|
933a5d2fd96e8758dd12890ed263def8e80f6f02 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Raise thread stack size limit. It's a sanity check, mostly, and we've seen threads with >256Mb stack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187408 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
|
d054abef27369471e154ec5693949538c2fdffd9 |
30-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable ForEachMappedRegion on Android. It needs interface that is missing from the NDK, and it is not used on Android anyway. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187407 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
f50b0fc601aea71d9fb22f01a11c7e206c666edc |
29-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Fix warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187373 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
2e75ac983cb233daa1abfa35fb33d2bafffe2ab1 |
29-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Move UnpoisonMappedDSO to sanitizer_common. This is so DFSan will be able to use it. Differential Revision: http://llvm-reviews.chandlerc.com/D1206 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187372 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.h
ib/msan/msan_interceptors.cc
ib/msan/msan_linux.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
|
ce502588cc5ac2da2dd11e83700767a3c8ce236b |
27-Jul-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Turn off pipefail on msan tests to match the other sanitizers until someone can go through and update the RUN lines appropriately for the new pipefail behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187298 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/lit.cfg
|
bdeb86ce38d8971fa9a5706643e9331b48981dfa |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Disable pipefail for lsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187274 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/lit.common.cfg
|
8c6046b9a8c384b630ae5c1376ee8c0cb1abe406 |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
disable pipefail for ubsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187273 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/lit.cfg
|
55a932680a6a94e9eadc11f7bc905d8fed1c831a |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Disable pipefail for ThreadSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187272 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/lit.cfg
|
0738e2f85ca6896fcd980d7752f55651744eb08c |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
disable pipefail on asan for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187269 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
|
ae894455254b9a15b6f11df7c2362f5f45586862 |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Change strip_path_prefix flag behavior. Previously (in tools other than TSan) the entire prefix of the path had to mach the argument. With this change, only some suffix of the prefix has to match. This is the same way this flag works in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186837 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
62519eb72ec1005d794685c1ec09df7c37631b27 |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Make __lsan_do_leak_check() honor the detect_leaks flag. Also move detect_leaks to common flags. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186821 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/lsan/lsan.cc
ib/lsan/lsan_common.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
|
841b6f29df24642cfbaa6e6fba5632d1712569ae |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Print direct leaks first. Direct leaks are higher priority, so it makes sense to have them on top. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186819 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
28f2f82b56bf498dd3e8ab2ca3afaf907a90de25 |
18-Jul-2013 |
Hans Wennborg <hans@hanshq.net> |
Fix another instance of -ccc-cxx vs. --driver-mode=g++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186609 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
|
f021f4fb9e41d7ff3368556962c89119391fe025 |
18-Jul-2013 |
Hans Wennborg <hans@hanshq.net> |
Use --driver-mode=g++ instead of -ccc-cxx; required after Clang r186605 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186607 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
ib/lsan/lit_tests/lit.common.cfg
ib/msan/lit_tests/lit.cfg
ib/tsan/lit_tests/lit.cfg
|
f93fa97b9fb49c6aaeeadf94fc54c76374b580bd |
18-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add __lsan_do_leak_check() to the public interface. Let users override the normal behavior to run leak checking earlier in the process. Also fix a couple nits here and there. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186581 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/lsan_interface.h
ib/lsan/lit_tests/TestCases/do_leak_check_override.cc
ib/lsan/lsan_common.cc
|
158ca5237af46076225d5d82a38ae0f733f57f31 |
18-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: treat SIGSYS as synchronous signal It is required for chromium sandboxing code. From the description it seems to be indeed synchronous -- called back on syscall with incorrect arguments, but seems to be unused in practice. So this should be fine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186579 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
2ec879ebd7261c9182d4fdee95fb615439dda67d |
18-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix leaks in ASan tests found by LSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186577 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
7aaaee4cab08096d46e9886c5fea8564732ad2ff |
17-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Always provide --default-arch argument to llvm-symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186513 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
48016bcefb6088b464555efe2e606f6a4d01fa00 |
17-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable one more interceptor that causes recursion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186497 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
e57f26b5c99cedd56de76f3a10cadcecece768bd |
17-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix unitialized read warning under newer gcc (it does not have visibility into asm) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186495 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
6092c21b37146ad5f859f3f23b6ddf80f3d8f3d4 |
17-Jul-2013 |
Anton Korobeynikov <asl@math.spbu.ru> |
Give compiler-rt a chance to compile with mingw-w64. Patch by C. Bergström! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186463 91177308-0d34-0410-b5e6-96231b3b80d8
ib/eprintf.c
ib/int_util.c
|
55e6f3f4e6b799e0affd13f28137661f8707133f |
16-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: extend suppressions format with ^ and $ symbols not it's possible to write more precise suppressions, e.g. "^foo$" won't match "blafoobar" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_suppressions.cc
ib/sanitizer_common/tests/sanitizer_suppressions_test.cc
|
742c1135a0ae9c5c9c5b0751cd0766c7d9f38d57 |
16-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Bump min supported Mac OS X version to 10.6 - makefile build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186410 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
67505a8a0cf9621243ed21b67dfa041224c78e4b |
16-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move strcpy and strncpy to common interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186408 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
|
b6bde4d2bc5231cd1b38ff92e51afb3f6e157386 |
16-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Bump min supported Mac OS X version to 10.6 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186404 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
fbeab51e1cddbeb73ad0d86d1f650081178c1dd8 |
16-Jul-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support sigsuspend() call Intercepting it makes it process pending signal before return. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186400 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/sigsuspend.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
bb7f2d880c843dd5ee1c5e53d2517f7ca9058e66 |
16-Jul-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Use less shadow on Win 32-bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186393 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
31f78fda9c511f9ab4afc3494f54cb24450e28e6 |
16-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Cache the OSX version to avoid calling sysctl() on every GetMacosVersion() call. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186389 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
ad2ae5464b3c0f947f72908671ba1e6d753855a5 |
16-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add support for OS X Mavericks to GetMacosVersion. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186386 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
eaca82cf249021afa31dbc970278f2f28ea2a1aa |
15-Jul-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix check_lint warnings in sanitizers' runtime libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186328 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
098c58fc48a934dd51df31e92efa236a5e1916e2 |
12-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
Completely revert all mbstowcs-and-friends changes from r186109. They were unintentional git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186158 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
bac1f7b034d9b3bb15d98db755a2bc091c8ce005 |
12-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Increase the hardcoded limit on number of leaks. We never expected to see so many leaks in the real world. Until we did. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186157 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
e43d2108ec7622afb34b8281005a12fcdb26d6fa |
12-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Revert some parts of r186109 related to mbstowcs-and-friends interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186155 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
5a482cd54a75bf821fb8c61f2fe4e84ae9efb714 |
11-Jul-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Fix a veritable conucopia of bugs in the readdir_r interceptors. First, the reason I came here: I forgot to look at readdir64_r which had the exact same bug as readdir_r. However, upon applying the same quick-fix and testing it I discovered that it still didn't work at all. As a consequence, I spent some time studying the code and thinking about it and fixed several other problems. Second, the code was checking for a null entry and result pointer, but there is no indication that null pointers are viable here. Certainly, the spec makes it extremely clear that there is no non-error case where the implementation of readdir_r fails to dereference the 'result' pointer and store NULL to it. Thus, our checking for a non-null 'result' pointer before reflecting that write in the instrumentation was trivially dead. Remove it. Third, the interceptor was marking the write to the actual dirent struct by looking at the entry pointer, but nothing in the spec requires that the dirent struct written is actually written into the entry structure provided. A threadlocal buffer would be just as conforming, and the spec goes out of its way to say the pointer to the *actual* result dirent struct is stored into *result, so *that* is where the interceptor should reflect a write occuring. This also obviates the need to even consider whether the 'entry' parameter is null. Fourth, I got to the bottom of why nothing at all worked in readdir64_r -- the interceptor structure for dirent64 was completely wrong in that it was the same as dirent. I fixed this struct to be correct (64-bit inode and 64-bit offset! just a 64-bit offset isn't enough!) and added several missing tests for the size and layout of this struct. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186109 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/interception_readdir_r_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
ec29e26885a224627c2523422760e415c02cf225 |
11-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Remove optional arguments from clone() invocation. Unbreaks compilation on older systems. Patch by Andy Jost. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186103 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
57a1095fca7b95db8a0ec87fce7a6f0e331a5b99 |
10-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More checks in mbstowcs-like interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186004 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
9b21ba6f661a6b14e3e81bb4f06ffb769be028c4 |
10-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix handling of edge cases in mbstowcs-like interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186002 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
d26cb23c22c1330e1cce383180818f4c3dcc7d18 |
10-Jul-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Fix a bug in the readdir_r interceptor: when we reach the end of the directory stream, the entry is not written to, instead *result is set to NULL and the entry is not written to at all. I'm still somewhat suspicious of the correct instrumention here -- I feel like it should be marking the written range as the pointer in *result and the length (*result)->d_reclen in case the implementation decides not to use the passed-in entry (if that's even allowed). Finally, the definition of 'struct dirent' analog used in the interceptor is wrong in 32-bit mode with _FILE_OFFSET_BITS=64 as it hard codes the use of a pointer-sized offset. I've added a somewhat goofy test for the bug I fixed via ASan -- suggestions on how to better test the interceptor logic itself welcome. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185998 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/interception_readdir_r_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
d907702719a9bc7a86490cd4a4c706959607ca4d |
10-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[asan] Update blacklists to use categories. Differential Revision: http://llvm-reviews.chandlerc.com/D1094 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185980 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_blacklist.txt
ib/asan/lit_tests/TestCases/Helpers/initialization-blacklist.txt
|
57876cfc5357e2a04d17c56ee51e69c593a536be |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Update glob64 interceptor to handle GLOB_ALTDIRFUNC as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185935 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/Linux/glob.cc
ib/msan/lit_tests/Linux/glob_altdirfunc.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
3fa122e6a8e12db6583793861f6cf776fe1c98a0 |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Support GLOB_ALTDIRFUNC in glob interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185932 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/lit_tests/Linux/glob_altdirfunc.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_interceptors.cc
|
12eb79dd701d9d40551759330a9257316601373b |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept realpath and canonicalize_file_name. Handle realpath(path, NULL) form. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185921 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
cb2509aaa26619d9f0082999bdcb54edbd1246a9 |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Wrap lines >80 chars. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185920 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
ae4e6fd0300b13812a02a779619b1a451478cdd1 |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185917 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
8b40073a28ed435862e250ae01b8ff85d6a2063f |
09-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Syscall handlers for clock_gettime and clock_getres. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185913 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/msan/lit_tests/Linux/syscalls.cc
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
577a4b5ed22815b16a3af5fcb0b0a01481b004f3 |
08-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185817 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/fork_threaded.cc
|
c6ac98d7fcc81768b2ef7ddc785c27e3fc1bdef6 |
08-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Handle fork() correctly. Update the main thread's os_id on every pthread_create, and before initiating leak checking. This ensures that we have the correct os_id even if we have forked after Init(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185815 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/lsan/lit_tests/TestCases/fork.cc
ib/lsan/lit_tests/TestCases/fork_threaded.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_interceptors.cc
ib/lsan/lsan_thread.cc
ib/lsan/lsan_thread.h
|
99560bf109ca14b1a48e1ae1206bcc11cdb7eae4 |
08-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Use overridable hook to report error summary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185805 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
8be684c5970389c6c86b01592e98ed5a3bc4f78d |
05-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185706 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
737da2f031badfad5bc5b762cc50d789fbcb6ef8 |
05-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept pthread_key_create. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185693 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
22d8767a45f08218b4d725146c5a8484a183be29 |
05-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable ptrace interception on non-x86(_64). Patch by Hal Finkel. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185686 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
2e6a1fb50f0252b673c37a272773a83508d4f927 |
04-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Close stderr before launching atos in asan_symbolize.py git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185631 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
ea72768894e32f367607c2142a7dfab603310da0 |
04-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept tcgetattr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185626 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/Linux/tcgetattr.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
ff6c9fb3ee83529dc28cd60a3797a8b783f3e892 |
04-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More interceptors. bcopy strtoimax, strtoumax mbstowcs, mbsrtowcs, mbsnrtowcs wcstombs, wcsrtombs, wcsnrtombs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185624 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
e1f1661581889fb2fdd9a33f83cba414ea529294 |
04-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not protect the malloc zone created by malloc_zone_create() on Snow Leopard and earlier systems. Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=208 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185621 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
1adf52b7a65a9556fdf649869a63ad4379a91fa7 |
03-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix memory leak in sanitizer_common discovered by LeakSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185536 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
|
1cdae25bd9628901627faafd1c14742eedf5028c |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185432 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
353c99693581d49509a553bb8d0cc9c68f43aa79 |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept mempcpy, wmempcpy. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185431 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
906f2c11e854539f316f737b1f661c0f6bc66fab |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix GLOB_NOMATCH behaviour and refactor the interceptor a bit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185428 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/Linux/glob_nomatch.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
801448950d645813efb398575bbc62b48e5b1dfc |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept mbtowc, mbrtowc, get_current_dir_name. Move getcwd to common interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
3cae6040ebb4ce14123b8ba000b79b4383dbd48a |
02-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept setlocale. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185416 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/setlocale.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
b9a928497168e177791f10f5042ff6f5e4e8a881 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] try to fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185345 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
9465cbdbe73590746b57916f46ea1aa4bf3dd13d |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Properly disable strict init-order checking when pthread_create is called git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185342 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/lit_tests/TestCases/Helpers/init-order-pthread-create-extra.cc
ib/asan/lit_tests/TestCases/init-order-pthread-create.cc
|
4bbbe136fe6a19a8288a6d92af29075756dd8fa5 |
01-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept stpcpy. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185340 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
9eedf489075c24b2b1ed9f88bf5102066fffdeb1 |
01-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getnameinfo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185338 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
7ef67083ecf12c9b83dffd91eac0b3c739fa7a89 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
Change __sanitizer_symbolize_demangle hook return type to 'int' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185326 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
|
f21e025112d5f82b2b475eb1d8e690824883fc97 |
01-Jul-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Cache atos processes to make Darwin symbolication faster. Patch by Jesse Ruderman<jruderman@gmail.com> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185325 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
5d2104281930f0c1af3d586d950e2878cd1a16e1 |
01-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Use the correct macro to check glibc version. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185324 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
|
997aede5a27c48d0b1a086212b24cb6101fb8351 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add sanity test for asan_symbolize.py script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185318 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/SharedLibs/shared-lib-test-so.cc
ib/asan/lit_tests/TestCases/asan-symbolize-sanity-test.cc
ib/asan/lit_tests/lit.cfg
|
b2b01945cfb060d67536f19063bbbf87e947e9ba |
01-Jul-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build with older kernels. PTRACE_SETREGSET & PTRACE_GETREGSET may be missing from linux headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185317 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
ed936c1d3a8db321b45d2e249159ec48c6450043 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Remove leading underscores from function names in output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185315 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow32.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow64.cc
ib/asan/lit_tests/TestCases/global-overflow.cc
ib/asan/lit_tests/TestCases/heap-overflow.cc
ib/asan/lit_tests/TestCases/ioctl.cc
ib/asan/lit_tests/TestCases/large_func_test.cc
ib/asan/lit_tests/TestCases/null_deref.cc
ib/asan/lit_tests/TestCases/shared-lib-test.cc
ib/asan/lit_tests/TestCases/stack-overflow.cc
ib/asan/lit_tests/TestCases/strncpy-overflow.cc
ib/asan/lit_tests/TestCases/use-after-free-right.cc
ib/asan/lit_tests/TestCases/use-after-free.cc
ib/asan/lit_tests/TestCases/use-after-scope-inlined.cc
ib/asan/lit_tests/TestCases/use-after-scope-temp.cc
ib/asan/lit_tests/TestCases/use-after-scope.cc
ib/asan/lit_tests/TestCases/wait.cc
|
c8c312adee610a1f9284f567a35562f6f8dc15e0 |
01-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
Hide mlock/munlock info message under verbosity flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185314 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/tsan/rtl/tsan_interceptors.cc
|
33b213565dd77087f754afdd691dbb06bcc5dcb5 |
30-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Always set -m32/-m64 flags for targeting i386/x86_64 respectively. Apparently, there are platforms where the clang defaults are different from gcc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185287 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
fe18723033b4e06adcd339f67e9a63054380a63f |
30-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Define the path to llvm-symbolizer tool in a common config to reduce copy-paste git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185286 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
ib/lit.common.cfg
ib/lsan/lit_tests/lit.common.cfg
ib/msan/lit_tests/lit.cfg
ib/tsan/lit_tests/lit.cfg
|
f2c29a5dc56feed66e81a7fb3f03ef2c5ea76870 |
29-Jun-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix typo found by Clang fix for extern "C" function handling. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185234 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
ec2ee9b51256b37ce637eee766fd9a454c02da2b |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Remove %symbolize from lit tests: we now use external symbolizer instead of python script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185163 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/heavy_uar_test.cc
ib/asan/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/TestCases/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
ib/asan/lit_tests/TestCases/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/ptrace.cc
ib/asan/lit_tests/TestCases/Linux/syscalls.cc
ib/asan/lit_tests/TestCases/Linux/time_null_regtest.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow32.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow64.cc
ib/asan/lit_tests/TestCases/deep_stack_uaf.cc
ib/asan/lit_tests/TestCases/deep_tail_call.cc
ib/asan/lit_tests/TestCases/deep_thread_stack.cc
ib/asan/lit_tests/TestCases/double-free.cc
ib/asan/lit_tests/TestCases/global-demangle.cc
ib/asan/lit_tests/TestCases/global-overflow.cc
ib/asan/lit_tests/TestCases/heap-overflow.cc
ib/asan/lit_tests/TestCases/initialization-bug.cc
ib/asan/lit_tests/TestCases/invalid-free.cc
ib/asan/lit_tests/TestCases/ioctl.cc
ib/asan/lit_tests/TestCases/large_func_test.cc
ib/asan/lit_tests/TestCases/memcmp_strict_test.cc
ib/asan/lit_tests/TestCases/memcmp_test.cc
ib/asan/lit_tests/TestCases/null_deref.cc
ib/asan/lit_tests/TestCases/partial_right.cc
ib/asan/lit_tests/TestCases/readv.cc
ib/asan/lit_tests/TestCases/sanity_check_pure_c.c
ib/asan/lit_tests/TestCases/shared-lib-test.cc
ib/asan/lit_tests/TestCases/stack-frame-demangle.cc
ib/asan/lit_tests/TestCases/stack-oob-frames.cc
ib/asan/lit_tests/TestCases/stack-overflow.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
ib/asan/lit_tests/TestCases/strdup_oob_test.cc
ib/asan/lit_tests/TestCases/strncpy-overflow.cc
ib/asan/lit_tests/TestCases/time_interceptor.cc
ib/asan/lit_tests/TestCases/unaligned_loads_and_stores.cc
ib/asan/lit_tests/TestCases/use-after-free-right.cc
ib/asan/lit_tests/TestCases/use-after-free.cc
ib/asan/lit_tests/TestCases/use-after-poison.cc
ib/asan/lit_tests/TestCases/use-after-scope-dtor-order.cc
ib/asan/lit_tests/TestCases/use-after-scope-inlined.cc
ib/asan/lit_tests/TestCases/use-after-scope-temp.cc
ib/asan/lit_tests/TestCases/use-after-scope.cc
ib/asan/lit_tests/TestCases/wait.cc
ib/asan/lit_tests/lit.cfg
|
ad75ce5309adaad82104d77e5ceeee2882a0746d |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix build again. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185157 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/ignore_object_errors.cc
|
0b5a1b79121f96d36d0d75ae2b8931a39aac93a2 |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185156 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/ignore_object.cc
|
9b4ba948f1c19adafde8e78c520ce30ac7bb1033 |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] When verbosity > 1, always print suppressions and summary (even if no leaks found). Also fix an output bug. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185153 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
b33cfeb6004d3a93e6d35749c14db0190c6c2b4c |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add suppression support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185152 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/AsanConfig/lit.cfg
ib/lsan/lit_tests/LsanConfig/lit.cfg
ib/lsan/lit_tests/TestCases/suppressions_default.cc
ib/lsan/lit_tests/TestCases/suppressions_file.cc
ib/lsan/lit_tests/TestCases/suppressions_file.cc.supp
ib/lsan/lit_tests/lit.common.cfg
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/sanitizer_common/sanitizer_suppressions.cc
ib/sanitizer_common/sanitizer_suppressions.h
ib/sanitizer_common/tests/sanitizer_suppressions_test.cc
|
d50d29ecfafbdbdb033f7d94b7ff88c1fce40452 |
28-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable all ptrace-related definitions on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185150 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
2a9609814d6f187d5a949787e5a638911978283d |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Migrate lit tests to external symbolizer from asan_symbolize.py script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185148 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
ib/sanitizer_common/sanitizer_symbolizer_win.cc
|
6b30cf07c92eafecf5d06ae6cafa7b60f4ed7512 |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Demangle names using pluggable internal symbolizer if possible git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185146 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
|
3678cf9323d4134887a3fee16e849332d97f03eb |
28-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix an unfortunate typo and disable ptrace interception on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185145 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
52d08d8412bfa4ccfa38384d781b51e8774807a7 |
28-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Pass --default-arch flag to external symbolizer. Fix line lengths. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185144 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
341b9e63f63a8eacf1b699d4c79edee55241ebe6 |
28-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept ptrace. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185142 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/lit_tests/TestCases/Linux/ptrace.cc
ib/msan/lit_tests/ptrace.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
6b233edfdb741fa75faec815ff3940724e8126a5 |
28-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan][OSX] Make sure the zones created by malloc_create_zone() are write-protected. Add a test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185140 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
ib/asan/lit_tests/TestCases/Darwin/malloc_zone-protected.cc
|
66ad412170787fb0d9f4832708a22d47d74633c5 |
28-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan][OSX] Fix the incorrect malloc_create_zone() implementation that led to out-of-bounds mprotect()s (https://code.google.com/p/address-sanitizer/issues/detail?id=203) Add a test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185138 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
ib/asan/lit_tests/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
|
007a9771d648ff5e8f6e01a3984f007272e87e37 |
27-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Revert hack that omits errno on Darwin platforms. We now have an acceptable 'errno' header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185106 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
da8596b60b1c90a870c9610c2cef7f06a03b6cdc |
27-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Declare 'strerror' so that we can use it with errno. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185105 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/string.h
|
22b838bbfd9aed996f101a557621c6815615653d |
27-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Add 'errno.h' to the Darwin SDK. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185104 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/errno.h
DKs/darwin/usr/include/sys/errno.h
|
134da448d092f82bfd5ddcdfa203c5c652c51474 |
27-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Support padding with spaces in Printf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185082 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/tests/sanitizer_printf_test.cc
|
7ddf3c9899c39485d6a70fe294a1e4893897f424 |
27-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix flaky test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185079 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/link_turned_off.cc
|
1d55ed1fccd11c77af78a174499238776d609cb8 |
27-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: revert dynamic symbols file to the old incorrect one full proper list of dynamic symbols crashes old gold (see bug 16468). the culprit is 'memcpy' function, if it's added to syms file, gold crashes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185078 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/rtl/tsan.syms
|
66385c9cbdc16c18f9875cc04da70149578cc07a |
27-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove non-existent functions from syms file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185077 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/gen_dynamic_list.sh
ib/tsan/rtl/tsan.syms
|
263800ba59720f9be69735b4dad625fca92430bc |
27-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Optionally disable 2 tests (dlopen & gethostbyname). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185076 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
a0379b5566f7c04536a313e40c450c6aef4b3ec5 |
27-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix dirent interceptors. The new version reads d_reclen for (struct dirent) size. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185067 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
9fbfd96608070eb71e11fbfe42ec9e84016429ae |
27-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Add the way to disable LSan at link time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185066 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/lsan_interface.h
ib/lsan/lit_tests/TestCases/link_turned_off.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
|
c11d3034b22be77d9c7f175350ea67a576ef375e |
27-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] try to fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185063 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
c2918bf11fc65b1f9551eee03719e9bdf02eedd5 |
27-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Rename __msan_unpoision_param to __msan::UnpoisonParam - it shouldn't be in interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185062 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
|
f2c844564c14e5438494083bf6db304a33673df2 |
26-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[tsan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184963 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
|
8e4d371a0b4bf4704b8984732b3bd91a85850582 |
26-Jun-2013 |
Bob Wilson <bob.wilson@apple.com> |
Revert "Temporarily disable building the armv7 variants of profile_ios on" This reverts commit r184816. With Chandler's change in r184929, this should no longer be necessary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184961 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
a52e5c6f371bcc66e89792db1219a557664aab8d |
26-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[tsan] Move some suppressions-related code to common. Factor out code to be reused in LSan. Also switch from linked list to vector. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184957 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_suppressions.cc
ib/sanitizer_common/sanitizer_suppressions.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_suppressions_test.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
ib/tsan/tests/unit/CMakeLists.txt
ib/tsan/tests/unit/tsan_suppressions_test.cc
|
b5cf98f76fd62236f2945bff17b3cdb4e8a5c2f4 |
26-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] readdir and readdir_r interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184950 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
7a0bba457ee05ced3adf37a0c0790d0ed23a5446 |
26-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] initialize fake_stack lazily and increase its maximal size. This makes -fsanitize=address,use-after-return more robust: all SPEC tests pass now. In the default mode thread stacks become a bit smaller. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184934 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_report.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
|
5ab0e47ce6eaaaddd743d3fdaf255ef16f11a685 |
26-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Revert the Darwin half of r184805: "Remove the sysroot (or isysroot) restriction from the GCDAProfile.c" Bill added a much more effective way of coping with the use of errno and other system interactions for Darwin for now by disabling it on that platform. Building against the SDK stuff is more fundamental to the darwin build process. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184929 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
eb7c24bb2e6fd20410d34006759caf76852d0600 |
26-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Reformat line >80 chars. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184926 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
4f116ad082a3419f98ac000f76a76e0badc0e611 |
26-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build with OSS4 kernel headers. This fixes PR16453. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184925 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
cf5fb62c0206c6544c464fa1b414bbfa26cb3244 |
26-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Fix a use after free I introduced and that Bill caught in code review (thanks!) by deferring the free of the filename until we finish writing the coverage data to that file. Bill, let me know if you'd prefer a different approach! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184895 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
7caabbd43ef867fa93317bef61924197b97ea1c7 |
25-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Don't use 'errno.h' on Apple just yet. This breaks for some of our buildbots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184878 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
1dcabd115668f9efba615f7c4e190244a4df361f |
25-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing __attribute__((visibility("default"))) to interface functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184858 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
d16d7233510f4ebb3b5bcafdee2db373c53c5c56 |
25-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Define interceptors more correctly. Also, always clear allocated memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184849 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_interceptors.cc
|
b6246066a271e3b01732d1b4381ef745152747d2 |
25-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move log_path to common flag and use it in MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184836 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
|
6ca5bec3b518c41e60e9f2d89e458af67a38b2da |
25-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Temporarily disable building the armv7 variants of profile_ios on darwin. After talking with Jim Grosbach pretty extensively, he was OK with me punting on this to the Apple folks. We agreed that the correct fix is either to extend the fake SDK headers in compiler-rt to support the rest of libc needed by GCDAProfiling.c or to teach the make build to test for the existence of a suitable SDK on the system prior to building it. Both of these require someone with access to the SDK which I don't have, and the latter (my preferred solution) requires understanding the strange compiler-rt make build system. Punting to Dan Dunbar or one of the others who support this stuff on ios to write the appropriate fix, and we can let the build bots proceed in the mean time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184816 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
3515fb60c6edb50c3e4c0928100fefdf7bb495bc |
25-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Remove the sysroot (or isysroot) restriction from the GCDAProfile.c runtime in the Makefile build system as well. Sorry for the temporary fallout, it took me a while to find these bits. Bill, I'm not at all confident of the change for Darwin and iOS, but as discussed we're completely blocked on fixing this. Anyways, please review and let me know if this will work for you guys. If necessary, I can work with you to rig up an errno.h stub for Darwin, but I expect that to be... moderately challenging. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184805 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
ake/platform/clang_linux.mk
|
254abfa43326c2d49143529c26a86a27356e1243 |
25-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Address a few of the issues in GCDAProfiling I noted when looking through Bill's patch: 1) Correctly test the file descriptor after the sceond attempt at creating the file. 2) Make the filename a global so that we can issue error messages from other routines. 3) Check errno in several places and print it out so that errors are easier to track down. I don't really expect any of these to fix the current failures I'm seeing, but I'm hopeful they'll at least let me debug them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184799 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
e97262dc8ddfc6aa52871692569059b17c01d193 |
25-Jun-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Remove the sysroot restriction from building GCDAProfiling.c. We really need the C standard library to be available to implement the profiling runtime library reasonably, and replicating everything in the SDKs tree really isn't addressing any problems we have. Notably, all of the sanitizer runtimes take the same approach, and this isn't a library which could end up in a bootstrapping problem where the system headers aren't even available. This will hopefully prevent subsequent changes which start using various other bits of C standard library to make things more debuggable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184798 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/CMakeLists.txt
|
fb53992c309ed7b9cb2bf15343bf347fead90c02 |
24-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make the test more robust currently it episodically fails the hypothesis it is due to racy race detection algorithm the sleep should make it more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184752 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/tiny_race.c
|
6d817380fcfb73f213505c8cd998476532ade3df |
24-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update dynamic export syms file now it includes proper functions (including interceptors) and does not include local functions that lead to build failures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184747 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/gen_dynamic_list.sh
ib/tsan/rtl/tsan.syms
|
359d7fc7daf099ab8ef9a860564542d2581544aa |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept sysinfo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184739 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
90a65aa532dc1e60ce3413b05cd2f3bf3e166058 |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix TSan build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184736 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
9d60087654f89e3452841350d9eca97644edca9d |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept inet_aton. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184735 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
b8e323e34e375fc40dbf178ef49b03c912837355 |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison param-tls in signal handler wrapper. This an entry point from uninstrumented code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184734 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
b916e6a9b3efa4907b70a2dcd418c76b044171e7 |
24-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept readv, preadv, writev, pwritev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184717 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/readv.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
c87f737d972a96a05c85ef9be03d0f40890c653f |
24-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184704 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
ac78d0087281e9b40bb043f827fbde8c05c6505a |
24-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
Revert to C-style callbacks for iteration over allocator chunks. Also clean up LSan code, fix some comments and replace void* with uptr to bring down the number of reinterpret_casts. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184700 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/lsan/lit_tests/TestCases/disabler_in_tsd_destructor.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_common_linux.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
c3b30b378741f3ec0f4d615ef172b68e1cf97e39 |
22-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Add cmake rules for building LSan common on Mac OS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184639 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/lit_tests/TestCases/Linux/lsan_annotations.cc
ib/asan/lit_tests/TestCases/lsan_annotations.cc
ib/lsan/CMakeLists.txt
|
21e024eb4f1aa3c42bb9dbd1d93a4299807f9555 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Try REALLY hard to fix Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184557 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/lsan/lsan_common.cc
|
2439cd96e9af5004f82f0a954c55b0e4d9600b52 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] This time really fix Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184556 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
ca74cff8d0f3c003a3c379bc88cc1771d8bbe1be |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184555 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
ef89d6b576bd8f5084b70e2d908cd53c37fab9f9 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Increase allocator space; minor fixes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184554 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
|
200afbd8ba4904241c1ebcef4fa79d739ca01f73 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Move lsan_disabled out of thread context. Fix for the case where disabler is used in pthread key destructor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184553 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/lsan/lit_tests/TestCases/disabler_in_tsd_destructor.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
|
d530d892b4958a9ae54e57472d5d0a0bae1f6ad8 |
21-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] reimplement strdup() interceptor to get nicer stack traces for memory chunks allocated there git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184546 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/lit_tests/TestCases/strdup_oob_test.cc
|
0797ed4bfc4adaa1436dbd153b276ed9c917f1b7 |
21-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept (v)asprintf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184545 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
bb881c736eff073a84cc640d431ae1e58a5e07d4 |
21-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Add keep_going runtime flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184542 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
ib/msan/lit_tests/keep-going-dso.cc
ib/msan/lit_tests/keep-going.cc
ib/msan/msan.cc
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
|
18a918929b0690043964f97936e69c0eae10edd8 |
21-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make test for LSan annotations Linux-only for now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184541 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Linux/lsan_annotations.cc
ib/asan/lit_tests/TestCases/lsan_annotations.cc
|
5326ee1a227cf3ee764ecb3d0b7220d45581036c |
21-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Check that ASan user may include and use LSan headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184540 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/lsan_annotations.cc
|
bb273d554d61c1a851158b0c79c2d3f51a845bbd |
21-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[santizer] Disable several EVIOxxx ioctls on older kernels. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184539 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
48e54204b82ba982ed7992847413dd0043fdc700 |
20-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix potential false positive race on fd git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184430 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_close_norace2.cc
ib/tsan/rtl/tsan_fd.cc
|
9b618a7ec2ec78e602d8897008c6f02cba673794 |
20-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Define LSan annotations as no-ops if leak detection is not supported. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184422 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/lsan/lsan_common.cc
|
851e22ad83fe5f389ca845731fe0abf749a86214 |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Fix unused function warning w/o changing compiler flags. We have way too many different build systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184409 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_ioctl_test.cc
|
132d51c45af60185e61724fe16d5694eecd0d5e0 |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184407 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
|
e8b83078b1090dc23b8bb9dde20f251d3e253a9f |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Remove an outdated comment. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184406 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
|
4612abac2e172e077246cec0fcbed291f55a1d02 |
20-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Handle EVIOxxxx ioctls. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184405 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_ioctl_test.cc
|
a292152eb471edc44021b94e974059a71e8bed13 |
20-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Clear allocation magic value before recycling the chunk. This led to spurious crashes in LSan when it walked through reused chunks. Don't know how to create not-brittle test case for this. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184404 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
5f672c4bd8485af39b6bbc3500a8f1b71de1002f |
19-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Prevent inlining of WipeStack(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184312 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
c085fe807836b566b4fce7ccdfb307bb025693c5 |
19-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Move symbolization and reporting out of StopTheWorld callback. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184303 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/large_allocation_leak.cc
ib/lsan/lit_tests/TestCases/stale_stack_leak.cc
ib/lsan/lit_tests/TestCases/use_globals_initialized.cc
ib/lsan/lit_tests/TestCases/use_globals_uninitialized.cc
ib/lsan/lit_tests/TestCases/use_registers.cc
ib/lsan/lit_tests/TestCases/use_stacks.cc
ib/lsan/lit_tests/TestCases/use_stacks_threaded.cc
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/TestCases/use_tls_static.cc
ib/lsan/lit_tests/TestCases/use_unaligned.cc
ib/lsan/lsan_common.cc
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
89d1eee9f468823cc7f01b0d5281a5c9f64a4c31 |
19-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix struct ifconf definition on Mac and restore the size checks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184296 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
2313d5bbcaa2816ad85c415d643b52f3ba1c4e31 |
19-Jun-2013 |
Sylvestre Ledru <sylvestre@debian.org> |
When the compiler is not providing a clean triple, we should fail the build right from the start. For now, it is only done with DEBUGMAKE is provided. That makes things harder to debug during ports of compiler-rt on other systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184295 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
3f9f877480e751a9dd7f5df871121f52f1379a33 |
19-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete excessive 'extern "C"' around mlock* interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184294 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
22ec6d98e074a007d2767cc473a42e7838d273c1 |
19-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184293 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
b588bfd486433ec3875f4d467e8cea41be205e1c |
19-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build on RHEL 6.3, 6.4. linux/if_ppp.h is broken in certain kernels. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184290 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
8301c7355309518084903611ba96665bd31c15f8 |
18-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a rare failure in fast unwinder, found by asan/clang bootstrap git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184190 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
02d7f32f66ef13cedd66a69aad864b6d5a4b81ae |
18-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Set current_thread_tid correctly for main thread. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184189 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan.cc
|
7028c1ee187302ace4fa3530769458c0b3caf946 |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184187 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
5ec47415ad09e8cb652a100253ab26cec7501d48 |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Remove a set of deprecated ioctls. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184185 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
7965e957a57011241334c444fec69d14116a9fdf |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Replace ext2_ ioctls with generic fs_ ioctls. They are actually the same, but ext2_fs.h header is not available in userspace with newer kernels. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
2557a1b4517971c9cf1aff62425fc48561db9949 |
18-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Symbolic ioctl names. Replace hardcoded ioctl request ids with symbolic names. Disable certain ioctls on platforms where such names are not found in the system headers. Fix a bug in ioctl_lookup. Reenable ioctl test on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184183 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/ioctl.cc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
e7718bcc1372d25fc21100e403cf41b166d42f9b |
17-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: consistently use return pc as top frame pc always substract 1 from the top pc this allows to get correct stacks with -O2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184112 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
441a21644ad802b278c45b4e87153113639b2fcc |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Properly install LSan interface header, rely on sanitizer header presence in lit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183977 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/CMakeLists.txt
ib/asan/lit_tests/TestCases/interface_test.cc
ib/asan/lit_tests/TestCases/unaligned_loads_and_stores.cc
ib/lsan/lit_tests/TestCases/disabler.cc
ib/lsan/lit_tests/TestCases/ignore_object.cc
ib/lsan/lit_tests/TestCases/ignore_object_errors.cc
|
0a05e5fa28a7424f8146549057c53b4590f3a251 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use InternalMmapVector to store fired suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183974 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
dbeb48d34bb6447c33a0ef99aaf9ba36f7f4b852 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Use a typedef for frontier vector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183973 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_common_linux.cc
|
a64d4359902f1f64992aedfe10d8882ae7c66f40 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rename InternalVector to InternalMmapVector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183972 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_common_linux.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stoptheworld.h
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
485f73812dec2204e9f1b184bf01420859ca7f31 |
13-Jun-2013 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to r183849. Android.mk updates: Remove sanitizer_symbolizer.cc Add sanitizer_common_libcdep.cc Add sanitizer_linux_libcdep.cc Add sanitizer_posix_libcdep.cc Add sanitizer_symbolizer_libcdep.cc Add sanitizer_symbolizer_linux_libcdep.cc Add sanitizer_symbolizer_posix_libcdep.cc Change-Id: Ibc62c8980d8cb5973dc312dfd8ecb1de0bfda03d
EADME.android
ib/asan/Android.mk
|
9c4d7a4e5fc1b49757ac733fec72c5e89948fefb |
13-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Windows Go crash git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183898 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
5c127cddd01872cd49d7267c128981eb2df8ddc7 |
13-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] fix link flags for building unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183891 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/tests/CMakeLists.txt
|
f9262aeba07a0bf4d0b3fc00aa579e3054594632 |
13-Jun-2013 |
Richard Trieu <rtrieu@google.com> |
Fix broken header guard. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183873 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.h
|
bb097bcb93a67ebbb7a89ac83f0a16c47c013a7f |
12-Jun-2013 |
Stephen Hines <srhines@google.com> |
Merge commit 'b3b46dad13a2111a51fb1a67f36c8b633410e9b7' into merge_20130612 Conflicts: lib/sanitizer_common/sanitizer_symbolizer_linux.cc Change-Id: Ie0a701ed3d360d846b491116ff2e33e33968f291
|
b3b46dad13a2111a51fb1a67f36c8b633410e9b7 |
11-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Harmonized some naming inconsistencies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183748 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/lsan/lit_tests/TestCases/disabler.cc
ib/lsan/lit_tests/TestCases/ignore_object.cc
ib/lsan/lit_tests/TestCases/large_allocation_leak.cc
ib/lsan/lit_tests/TestCases/stale_stack_leak.cc
ib/lsan/lit_tests/TestCases/use_globals_initialized.cc
ib/lsan/lit_tests/TestCases/use_globals_uninitialized.cc
ib/lsan/lit_tests/TestCases/use_registers.cc
ib/lsan/lit_tests/TestCases/use_stacks.cc
ib/lsan/lit_tests/TestCases/use_stacks_threaded.cc
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/TestCases/use_tls_static.cc
ib/lsan/lit_tests/TestCases/use_unaligned.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
|
e0c45610e138c9e0b518189b7fa286f4b7ee6474 |
11-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add -Wno-maybe-uninitialized to Go build script this is how the rest of the codebase is built git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183738 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/rtl/tsan_rtl_report.cc
|
a4d043eba05abdc62970076104cba71a4fc5bcef |
11-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix the unittest makefiles. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183735 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/CMakeLists.txt
ib/lsan/tests/CMakeLists.txt
ib/lsan/tests/lsan_dummy_unittest.cc
|
ff0ce7fbdba7d02dd06bbb1ba1003c50355513df |
11-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add file forgotten in r183730 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183732 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
|
d64bcf43935c9ceeb7376ca4185662811ae907ea |
11-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] support running external llvm-symbolizer on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183730 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/scripts/check_lint.sh
|
6cfb2f77280012b0818d00240aaa11bc359655d9 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lit test failures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183674 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/suppressions_global.cc
ib/tsan/lit_tests/suppressions_race.cc
ib/tsan/lit_tests/suppressions_race2.cc
|
3f5f59ad7e542542775b780d5bfbc288c35ed6ea |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add system tests for suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183673 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/suppressions_global.cc
ib/tsan/lit_tests/suppressions_global.cc.supp
ib/tsan/lit_tests/suppressions_race.cc
ib/tsan/lit_tests/suppressions_race.cc.supp
ib/tsan/lit_tests/suppressions_race2.cc
ib/tsan/lit_tests/suppressions_race2.cc.supp
ib/tsan/lit_tests/test_output.sh
|
39968339a07d790aadcf27534f92a0de8c0c90fb |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allows to suppress races on global variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183672 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
|
dc8015f9efa3fa230f7276dd6bfb95501009d038 |
10-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix unset-insert-libraries-on-exec.cc on 32-bit Darwin. The test used to execute a 64-bit /bin/bash binary and preload a 32-bit dynamic library into it. Now the arch-specific version of echo-env is executed instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183662 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
ib/asan/lit_tests/TestCases/Helpers/echo-env.cc
|
fdde5a97a71b142297d7b2270c2a7f564a37dbae |
10-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] mark ioctl test as xfailing on darwin. remove redundant semicolons git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183655 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/lit_tests/TestCases/ioctl.cc
|
72efa9440c362244e3e1fa64c16d630884d36c11 |
10-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix Android build (mark asan_malloc_usable_size as an interface function) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183651 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
917f62eaa5c2839155f703dee114a767ff81cca5 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable getaddrinfo() interceptor for tsan (causes recursion) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183649 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
e524a21a3e75999ea5a089c9762ca691f114c020 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix merge bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183648 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
5d43b5a695ca6b6dc4eff05e723a7f39643f3266 |
10-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the bug with memalign and malloc_usable_size (http://code.google.com/p/address-sanitizer/issues/detail?id=193); also fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183647 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
|
21b3b1c50662eeb2d9340c51e1837be495cf87b5 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows crash (incorrect stack boundaries) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183646 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
cc08fca1faf3b61fa51f32b2360c978982de6b77 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix old gcc warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183645 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
c5288679cc55c523188a40325d49d97b100cf03c |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows mingw build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183644 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_win.cc
|
bb5aecb56d84e09106a88aca2d30fbb0b29b2e9c |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more detailed trace for atomic operations (include address and memory ordering) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183643 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
4f0fd8e131b6c2f13244a0fd808abe0da7a50983 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183642 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/TestCases/ignore_object.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
7575e0a67bc9d4c0f16656ea022f19fc5c9142f9 |
10-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] don't add msan unit tests to check-msan command if libcxx is not checked out git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183641 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/CMakeLists.txt
ib/msan/lit_tests/CMakeLists.txt
ib/msan/tests/CMakeLists.txt
|
c65fe5e5bcffeb424deb6a2e18cb674beead23e1 |
10-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't use -m{32,64} flag in test case, as it can be run in both 32- and 64-bit modes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183638 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/ioctl.cc
|
1d89b676f38aa7f18aedb9995bc656a8d41ad287 |
07-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Reverting r183529: This is causing the following error on Darwin: /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:282:1: error: 'assertion_failed__282' declared as an array with a negative size CHECK_TYPE_SIZE(ifconf); ^~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:223:3: note: expanded from macro 'CHECK_TYPE_SIZE' COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:284:1: error: 'assertion_failed__284' declared as an array with a negative size CHECK_SIZE_AND_OFFSET(ifconf, ifc_ifcu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:228:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET' COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183557 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
4757c47ba7356aec3a7d49e5e929c19159d75a01 |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Handle SIOCGIFCONF ioctl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183529 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/ioctl_custom.cc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
ea1b27f1dad287b33784b7e8c032182b5b0ddd18 |
07-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix test case to use absolute paths git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183527 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
|
fd55281122b4dedceb4e5a2fedc3946bfba9032b |
07-Jun-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] An early return from InitializeAsanInterceptors() on Mac has been considered unobvious. Remove it and replace ASAN_INTERCEPT_FUNC with a no-op if SANITIZER_MAC==1. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183524 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
4ce6f79a13d9e22003324dca842d03108b333a58 |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183523 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
4e95e949c335dd92b193ff270754e31d144e53bf |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183518 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
|
745dd0d296e7bef712df4b5c7f86c72534953738 |
07-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] ioctl interceptor. ASan: disabled by default MSan: enabled by default TSan: disabled git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183517 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/TestCases/ioctl.cc
ib/msan/lit_tests/ioctl.cc
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
b957d9f20c934ac1af70353db6bc994490d7ea0e |
07-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Drop support for 32-bit PowerPC in sanitizer tools. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183499 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/lsan/CMakeLists.txt
|
6efa4d6cf9bb214a5e8ddbb224a69b38c4ae6de6 |
07-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] create separate configs for running ASan lit tests in both 32- and 64-bit mode. Clean up RUN-lines in tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183498 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/32bitConfig/lit.site.cfg.in
ib/asan/lit_tests/64bitConfig/lit.site.cfg.in
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/TestCases/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/TestCases/Darwin/reexec-insert-libraries-env.cc
ib/asan/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
ib/asan/lit_tests/TestCases/Linux/asan_prelink_test.cc
ib/asan/lit_tests/TestCases/Linux/clone_test.cc
ib/asan/lit_tests/TestCases/Linux/glob.cc
ib/asan/lit_tests/TestCases/Linux/heavy_uar_test.cc
ib/asan/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/TestCases/Linux/interception_failure_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_malloc_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_test.cc
ib/asan/lit_tests/TestCases/Linux/interface_symbols_linux.c
ib/asan/lit_tests/TestCases/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/swapcontext_test.cc
ib/asan/lit_tests/TestCases/Linux/syscalls.cc
ib/asan/lit_tests/TestCases/Linux/time_null_regtest.cc
ib/asan/lit_tests/TestCases/Linux/unpoison_tls.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow32.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow64.cc
ib/asan/lit_tests/TestCases/allow_user_segv.cc
ib/asan/lit_tests/TestCases/blacklist.cc
ib/asan/lit_tests/TestCases/deep_stack_uaf.cc
ib/asan/lit_tests/TestCases/deep_tail_call.cc
ib/asan/lit_tests/TestCases/deep_thread_stack.cc
ib/asan/lit_tests/TestCases/dlclose-test.cc
ib/asan/lit_tests/TestCases/double-free.cc
ib/asan/lit_tests/TestCases/force_inline_opt0.cc
ib/asan/lit_tests/TestCases/global-demangle.cc
ib/asan/lit_tests/TestCases/global-overflow.cc
ib/asan/lit_tests/TestCases/heap-overflow.cc
ib/asan/lit_tests/TestCases/huge_negative_hea_oob.cc
ib/asan/lit_tests/TestCases/init-order-atexit.cc
ib/asan/lit_tests/TestCases/init-order-dlopen.cc
ib/asan/lit_tests/TestCases/initialization-blacklist.cc
ib/asan/lit_tests/TestCases/initialization-bug.cc
ib/asan/lit_tests/TestCases/initialization-constexpr.cc
ib/asan/lit_tests/TestCases/initialization-nobug.cc
ib/asan/lit_tests/TestCases/interface_test.cc
ib/asan/lit_tests/TestCases/invalid-free.cc
ib/asan/lit_tests/TestCases/large_func_test.cc
ib/asan/lit_tests/TestCases/malloc_fill.cc
ib/asan/lit_tests/TestCases/memcmp_strict_test.cc
ib/asan/lit_tests/TestCases/memcmp_test.cc
ib/asan/lit_tests/TestCases/null_deref.cc
ib/asan/lit_tests/TestCases/partial_right.cc
ib/asan/lit_tests/TestCases/sanity_check_pure_c.c
ib/asan/lit_tests/TestCases/shared-lib-test.cc
ib/asan/lit_tests/TestCases/sleep_before_dying.c
ib/asan/lit_tests/TestCases/stack-frame-demangle.cc
ib/asan/lit_tests/TestCases/stack-oob-frames.cc
ib/asan/lit_tests/TestCases/stack-overflow.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
ib/asan/lit_tests/TestCases/strip_path_prefix.c
ib/asan/lit_tests/TestCases/strncpy-overflow.cc
ib/asan/lit_tests/TestCases/time_interceptor.cc
ib/asan/lit_tests/TestCases/use-after-free-right.cc
ib/asan/lit_tests/TestCases/use-after-free.cc
ib/asan/lit_tests/TestCases/use-after-poison.cc
ib/asan/lit_tests/TestCases/use-after-scope-dtor-order.cc
ib/asan/lit_tests/TestCases/use-after-scope-inlined.cc
ib/asan/lit_tests/TestCases/use-after-scope-nobug.cc
ib/asan/lit_tests/TestCases/use-after-scope-temp.cc
ib/asan/lit_tests/TestCases/use-after-scope.cc
ib/asan/lit_tests/TestCases/wait.cc
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/lit.site.cfg.in
ib/lit.common.cfg
ib/ubsan/lit_tests/lit.cfg
|
46ed75f54f1c3b7863ae74aec8c2c015d572f027 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Put SANITIZER_INTERFACE_ATTRIBUTE on LSan interface functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
|
48cd12d0398914db195c1a25852b153f3345090d |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use memory access size for Go after all helps to make range access functions correct and fast git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183418 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_update_shadow_word_inl.h
|
0550a3f9982ee7af5e16fa333f988d42b4cbf765 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Do not fall back to SlowUnwindStack() in GetStackTrace() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183414 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common_linux.cc
ib/sanitizer_common/sanitizer_posix_libcdep.cc
|
cd571e07fd1179383188c70338fa0dc1c452cb19 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Implement __lsan_ignore_object(). Leak annotation similar to HeapChecker's IgnoreObject(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183412 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/lsan_interface.h
ib/asan/asan_allocator2.cc
ib/lsan/lit_tests/TestCases/ignore_object.cc
ib/lsan/lit_tests/TestCases/ignore_object_errors.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/sanitizer_common/sanitizer_allocator.h
|
722f2e6a6125a0d5c9d453278b0f292e3410124d |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make pthread_getschedparam test more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183411 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
06f069aa9b3dc692457366a6882e7b5d5da84ec3 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Simplify lit configs for asan/lsan/msan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183410 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Unit/lit.cfg
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/lsan/lit_tests/Unit/lit.cfg
ib/lsan/lit_tests/Unit/lit.site.cfg.in
ib/msan/lit_tests/Unit/lit.cfg
ib/msan/lit_tests/Unit/lit.site.cfg.in
|
1dc5f39fbcb09734809b73eb16dd64b50d647038 |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: always strip bottom frame in Go reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183408 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
ad785cb2d7f2ab80d2f6bfd7f05d4898807592ad |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Remove a bunch of copy-paste: use common config for sanitizer lit/unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183407 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lit.common.configured.in
ib/lit.common.unit.configured.in
ib/lsan/lit_tests/AsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/LsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/Unit/lit.cfg
ib/lsan/lit_tests/Unit/lit.site.cfg.in
ib/lsan/lit_tests/lit.common.cfg
ib/msan/lit_tests/Unit/lit.cfg
ib/msan/lit_tests/Unit/lit.site.cfg.in
ib/msan/lit_tests/lit.cfg
ib/msan/lit_tests/lit.site.cfg.in
ib/tsan/lit_tests/Unit/lit.cfg
ib/tsan/lit_tests/Unit/lit.site.cfg.in
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/lit.site.cfg.in
ib/ubsan/lit_tests/lit.cfg
ib/ubsan/lit_tests/lit.site.cfg.in
|
4a95e33cbfe350c50f6d2c224f7d1b036d680382 |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix darwin Go crashes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183405 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
|
d4bb4a6a155eb42b67a584a189f55863893ce4a6 |
06-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix darwin Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183402 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
ib/tsan/go/buildgo.sh
|
d668cd2ff37af5db33d21de9e809018ae74a99b7 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] create common autogenerated config for running compiler-rt unit tests, and use it in ASan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183401 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/asan/lit_tests/Unit/lit.cfg
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/lit.common.unit.configured.in
|
dd6605eb299705e09160de7e1f9f505c40e5d1b2 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] lit tests: create common autogenerated config for running compiler-rt lit tests, and use it in ASan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183400 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/lit.site.cfg.in
ib/lit.common.cfg
ib/lit.common.configured.in
|
64e2282e9c984c598c93a8bd01983f842e247ce3 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move all lit_tests under TestCases git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183395 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/Darwin/lit.local.cfg
ib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc
ib/asan/lit_tests/Darwin/unset-insert-libraries-on-exec.cc
ib/asan/lit_tests/Helpers/blacklist-extra.cc
ib/asan/lit_tests/Helpers/init-order-atexit-extra.cc
ib/asan/lit_tests/Helpers/initialization-blacklist-extra.cc
ib/asan/lit_tests/Helpers/initialization-blacklist-extra2.cc
ib/asan/lit_tests/Helpers/initialization-blacklist.txt
ib/asan/lit_tests/Helpers/initialization-bug-extra.cc
ib/asan/lit_tests/Helpers/initialization-bug-extra2.cc
ib/asan/lit_tests/Helpers/initialization-constexpr-extra.cc
ib/asan/lit_tests/Helpers/initialization-nobug-extra.cc
ib/asan/lit_tests/Helpers/lit.local.cfg
ib/asan/lit_tests/Linux/asan_prelink_test.cc
ib/asan/lit_tests/Linux/clone_test.cc
ib/asan/lit_tests/Linux/glob.cc
ib/asan/lit_tests/Linux/glob_test_root/aa
ib/asan/lit_tests/Linux/glob_test_root/ab
ib/asan/lit_tests/Linux/glob_test_root/ba
ib/asan/lit_tests/Linux/heavy_uar_test.cc
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/Linux/interception_failure_test.cc
ib/asan/lit_tests/Linux/interception_malloc_test.cc
ib/asan/lit_tests/Linux/interception_test.cc
ib/asan/lit_tests/Linux/interface_symbols_linux.c
ib/asan/lit_tests/Linux/lit.local.cfg
ib/asan/lit_tests/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/Linux/malloc_delete_mismatch.cc
ib/asan/lit_tests/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/Linux/preinit_test.cc
ib/asan/lit_tests/Linux/rlimit_mmap_test.cc
ib/asan/lit_tests/Linux/swapcontext_test.cc
ib/asan/lit_tests/Linux/syscalls.cc
ib/asan/lit_tests/Linux/time_null_regtest.cc
ib/asan/lit_tests/Linux/unpoison_tls.cc
ib/asan/lit_tests/Linux/zero-base-shadow.cc
ib/asan/lit_tests/SharedLibs/darwin-dummy-shared-lib-so.cc
ib/asan/lit_tests/SharedLibs/dlclose-test-so.cc
ib/asan/lit_tests/SharedLibs/init-order-dlopen-so.cc
ib/asan/lit_tests/SharedLibs/lit.local.cfg
ib/asan/lit_tests/SharedLibs/shared-lib-test-so.cc
ib/asan/lit_tests/TestCases/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/TestCases/Darwin/lit.local.cfg
ib/asan/lit_tests/TestCases/Darwin/reexec-insert-libraries-env.cc
ib/asan/lit_tests/TestCases/Darwin/unset-insert-libraries-on-exec.cc
ib/asan/lit_tests/TestCases/Helpers/blacklist-extra.cc
ib/asan/lit_tests/TestCases/Helpers/init-order-atexit-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-blacklist-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-blacklist-extra2.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-blacklist.txt
ib/asan/lit_tests/TestCases/Helpers/initialization-bug-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-bug-extra2.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-constexpr-extra.cc
ib/asan/lit_tests/TestCases/Helpers/initialization-nobug-extra.cc
ib/asan/lit_tests/TestCases/Helpers/lit.local.cfg
ib/asan/lit_tests/TestCases/Linux/asan_prelink_test.cc
ib/asan/lit_tests/TestCases/Linux/clone_test.cc
ib/asan/lit_tests/TestCases/Linux/glob.cc
ib/asan/lit_tests/TestCases/Linux/glob_test_root/aa
ib/asan/lit_tests/TestCases/Linux/glob_test_root/ab
ib/asan/lit_tests/TestCases/Linux/glob_test_root/ba
ib/asan/lit_tests/TestCases/Linux/heavy_uar_test.cc
ib/asan/lit_tests/TestCases/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/TestCases/Linux/interception_failure_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_malloc_test.cc
ib/asan/lit_tests/TestCases/Linux/interception_test.cc
ib/asan/lit_tests/TestCases/Linux/interface_symbols_linux.c
ib/asan/lit_tests/TestCases/Linux/lit.local.cfg
ib/asan/lit_tests/TestCases/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/malloc_delete_mismatch.cc
ib/asan/lit_tests/TestCases/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/TestCases/Linux/preinit_test.cc
ib/asan/lit_tests/TestCases/Linux/rlimit_mmap_test.cc
ib/asan/lit_tests/TestCases/Linux/swapcontext_test.cc
ib/asan/lit_tests/TestCases/Linux/syscalls.cc
ib/asan/lit_tests/TestCases/Linux/time_null_regtest.cc
ib/asan/lit_tests/TestCases/Linux/unpoison_tls.cc
ib/asan/lit_tests/TestCases/Linux/zero-base-shadow.cc
ib/asan/lit_tests/TestCases/SharedLibs/darwin-dummy-shared-lib-so.cc
ib/asan/lit_tests/TestCases/SharedLibs/dlclose-test-so.cc
ib/asan/lit_tests/TestCases/SharedLibs/init-order-dlopen-so.cc
ib/asan/lit_tests/TestCases/SharedLibs/lit.local.cfg
ib/asan/lit_tests/TestCases/SharedLibs/shared-lib-test-so.cc
ib/asan/lit_tests/TestCases/allow_user_segv.cc
ib/asan/lit_tests/TestCases/blacklist.cc
ib/asan/lit_tests/TestCases/deep_stack_uaf.cc
ib/asan/lit_tests/TestCases/deep_tail_call.cc
ib/asan/lit_tests/TestCases/deep_thread_stack.cc
ib/asan/lit_tests/TestCases/default_blacklist.cc
ib/asan/lit_tests/TestCases/default_options.cc
ib/asan/lit_tests/TestCases/dlclose-test.cc
ib/asan/lit_tests/TestCases/double-free.cc
ib/asan/lit_tests/TestCases/force_inline_opt0.cc
ib/asan/lit_tests/TestCases/free_hook_realloc.cc
ib/asan/lit_tests/TestCases/global-demangle.cc
ib/asan/lit_tests/TestCases/global-overflow.cc
ib/asan/lit_tests/TestCases/heap-overflow.cc
ib/asan/lit_tests/TestCases/huge_negative_hea_oob.cc
ib/asan/lit_tests/TestCases/init-order-atexit.cc
ib/asan/lit_tests/TestCases/init-order-dlopen.cc
ib/asan/lit_tests/TestCases/initialization-blacklist.cc
ib/asan/lit_tests/TestCases/initialization-bug.cc
ib/asan/lit_tests/TestCases/initialization-constexpr.cc
ib/asan/lit_tests/TestCases/initialization-nobug.cc
ib/asan/lit_tests/TestCases/interface_test.cc
ib/asan/lit_tests/TestCases/invalid-free.cc
ib/asan/lit_tests/TestCases/large_func_test.cc
ib/asan/lit_tests/TestCases/log-path_test.cc
ib/asan/lit_tests/TestCases/log_path_fork_test.cc.disabled
ib/asan/lit_tests/TestCases/malloc_fill.cc
ib/asan/lit_tests/TestCases/malloc_hook.cc
ib/asan/lit_tests/TestCases/memcmp_strict_test.cc
ib/asan/lit_tests/TestCases/memcmp_test.cc
ib/asan/lit_tests/TestCases/null_deref.cc
ib/asan/lit_tests/TestCases/on_error_callback.cc
ib/asan/lit_tests/TestCases/partial_right.cc
ib/asan/lit_tests/TestCases/sanity_check_pure_c.c
ib/asan/lit_tests/TestCases/shared-lib-test.cc
ib/asan/lit_tests/TestCases/sleep_before_dying.c
ib/asan/lit_tests/TestCases/stack-frame-demangle.cc
ib/asan/lit_tests/TestCases/stack-oob-frames.cc
ib/asan/lit_tests/TestCases/stack-overflow.cc
ib/asan/lit_tests/TestCases/stack-use-after-return.cc
ib/asan/lit_tests/TestCases/strip_path_prefix.c
ib/asan/lit_tests/TestCases/strncpy-overflow.cc
ib/asan/lit_tests/TestCases/symbolize_callback.cc
ib/asan/lit_tests/TestCases/throw_call_test.cc
ib/asan/lit_tests/TestCases/throw_invoke_test.cc
ib/asan/lit_tests/TestCases/time_interceptor.cc
ib/asan/lit_tests/TestCases/unaligned_loads_and_stores.cc
ib/asan/lit_tests/TestCases/use-after-free-right.cc
ib/asan/lit_tests/TestCases/use-after-free.cc
ib/asan/lit_tests/TestCases/use-after-poison.cc
ib/asan/lit_tests/TestCases/use-after-scope-dtor-order.cc
ib/asan/lit_tests/TestCases/use-after-scope-inlined.cc
ib/asan/lit_tests/TestCases/use-after-scope-nobug.cc
ib/asan/lit_tests/TestCases/use-after-scope-temp.cc
ib/asan/lit_tests/TestCases/use-after-scope.cc
ib/asan/lit_tests/TestCases/wait.cc
ib/asan/lit_tests/allow_user_segv.cc
ib/asan/lit_tests/blacklist.cc
ib/asan/lit_tests/deep_stack_uaf.cc
ib/asan/lit_tests/deep_tail_call.cc
ib/asan/lit_tests/deep_thread_stack.cc
ib/asan/lit_tests/default_blacklist.cc
ib/asan/lit_tests/default_options.cc
ib/asan/lit_tests/dlclose-test.cc
ib/asan/lit_tests/double-free.cc
ib/asan/lit_tests/force_inline_opt0.cc
ib/asan/lit_tests/free_hook_realloc.cc
ib/asan/lit_tests/global-demangle.cc
ib/asan/lit_tests/global-overflow.cc
ib/asan/lit_tests/heap-overflow.cc
ib/asan/lit_tests/huge_negative_hea_oob.cc
ib/asan/lit_tests/init-order-atexit.cc
ib/asan/lit_tests/init-order-dlopen.cc
ib/asan/lit_tests/initialization-blacklist.cc
ib/asan/lit_tests/initialization-bug.cc
ib/asan/lit_tests/initialization-constexpr.cc
ib/asan/lit_tests/initialization-nobug.cc
ib/asan/lit_tests/interface_test.cc
ib/asan/lit_tests/invalid-free.cc
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/lit.site.cfg.in
ib/asan/lit_tests/log-path_test.cc
ib/asan/lit_tests/log_path_fork_test.cc.disabled
ib/asan/lit_tests/malloc_fill.cc
ib/asan/lit_tests/malloc_hook.cc
ib/asan/lit_tests/memcmp_strict_test.cc
ib/asan/lit_tests/memcmp_test.cc
ib/asan/lit_tests/null_deref.cc
ib/asan/lit_tests/on_error_callback.cc
ib/asan/lit_tests/partial_right.cc
ib/asan/lit_tests/sanity_check_pure_c.c
ib/asan/lit_tests/shared-lib-test.cc
ib/asan/lit_tests/sleep_before_dying.c
ib/asan/lit_tests/stack-frame-demangle.cc
ib/asan/lit_tests/stack-oob-frames.cc
ib/asan/lit_tests/stack-overflow.cc
ib/asan/lit_tests/stack-use-after-return.cc
ib/asan/lit_tests/strip_path_prefix.c
ib/asan/lit_tests/strncpy-overflow.cc
ib/asan/lit_tests/symbolize_callback.cc
ib/asan/lit_tests/throw_call_test.cc
ib/asan/lit_tests/throw_invoke_test.cc
ib/asan/lit_tests/time_interceptor.cc
ib/asan/lit_tests/unaligned_loads_and_stores.cc
ib/asan/lit_tests/use-after-free-right.cc
ib/asan/lit_tests/use-after-free.cc
ib/asan/lit_tests/use-after-poison.cc
ib/asan/lit_tests/use-after-scope-dtor-order.cc
ib/asan/lit_tests/use-after-scope-inlined.cc
ib/asan/lit_tests/use-after-scope-nobug.cc
ib/asan/lit_tests/use-after-scope-temp.cc
ib/asan/lit_tests/use-after-scope.cc
ib/asan/lit_tests/wait.cc
|
764e53184cb0b12898568070b1119cbec14edce9 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] remove unneeded empty directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183392 91177308-0d34-0410-b5e6-96231b3b80d8
|
092adea3fb988896bfdbf02db99b7e23b8243efd |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add a few tests for use-after-scope mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183391 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/use-after-scope-dtor-order.cc
ib/asan/lit_tests/use-after-scope-nobug.cc
ib/asan/lit_tests/use-after-scope-temp.cc
ib/asan/lit_tests/use-after-scope.cc
|
049c91975f7515206d6cd7d104af51a542bb72e7 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] One more fix for realloc: check that reallocated chunk is valid before calling memcpy git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183390 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
fa50ea7718f094f3737dad23e7bc6b6c086e362b |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make free_hook_realloc test more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183387 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/free_hook_realloc.cc
|
7202e79d5457477b9db24daf0af2c6c7464c3378 |
04-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183225 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
2e9ffcbc2184f308881fc04ce0799c557b7e5b0f |
04-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix __sanitizer_unaligned_* to work with unaligned data types. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183224 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_poisoning.cc
ib/msan/msan.cc
ib/msan/msan_interface_internal.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_interface.cc
ib/tsan/rtl/tsan_interface.h
|
f43f6026dc9374e657fb6300840b18ead6347b74 |
04-Jun-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Implement __sanitizer_unaligned_*. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183221 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_interface_internal.h
ib/msan/tests/msan_test.cc
|
87bd39a72b65f1ef5c5a33fc8ba3aebae998903e |
04-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Call __asan_free_hook() before marking the chunk quarantinned Summary: With this change, the user may safely call __asan_get_ownership() from malloc/free hooks and assume it would return "true". If there is a realloc/free race, free hook might be called twice, but I think it's acceptable, as it's a data race and would later be reported anyway. This change also fixes a bug when failing realloc incorrectly marked the original memory as "quarantinned". Reviewers: timurrrr, kcc, samsonov Reviewed By: samsonov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D913 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183220 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/lit_tests/free_hook_realloc.cc
ib/asan/lit_tests/malloc_hook.cc
ib/asan/tests/asan_test.cc
|
b42085e0e9e0f48d4ff776b3acae6c4ef1fab8bb |
04-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix invalid thread registry access when checking if LSan is disabled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183218 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
7c9ffde46a475d6dd739e977b547c27ac5968976 |
04-Jun-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix ALIGNED misuse in asan_thread.cc (built on all platforms); also, add a comment to the ALIGNED macro describing the correct usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183214 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
ib/sanitizer_common/sanitizer_internal_defs.h
|
40527a579131210fcfa2373620a0c2200800e7c4 |
03-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] ASan Linux MIPS32 support (compiler-rt part), patch by Jyun-Yan Y git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183105 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mapping.h
ib/asan/asan_thread.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
5e719a705666988781b9735d62cafc808ade60e2 |
03-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add __lsan_disable() and __lsan_enable(). Objects allocated after a call to __lsan_disable() will be treated as live memory. Also add a ScopedDisabler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183099 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/lsan_interface.h
ib/asan/asan_allocator2.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/lsan/lit_tests/TestCases/disabler.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
|
d4a04154b10b51a7ea90b9b8efba7e3045ce168d |
03-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix kThreadDescriptorSize for glibc <= 2.11. Address issue reported by Greg Fitzgerald. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183098 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
|
bb561cbcb86908e66958c0c20b0c8bc8e981bdf3 |
31-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not buffer stdin in asan_symbolize.py git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183006 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
21b40a53735f9f3282d4f1805e3392b421e0f0f8 |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Added a dummy unittest to suppress LIT warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183004 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/tests/lsan_dummy_unittest.cc
|
895659dab7ac73ba79e48bf5d361fbfe2464058b |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Run the leak detection tests under both ASan and LSan. Change the LSan lit test logic. Now "check-lsan" tests the leak checking functionality in both standalone LSan and ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183000 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/AsanConfig/lit.cfg
ib/lsan/lit_tests/AsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/CMakeLists.txt
ib/lsan/lit_tests/LsanConfig/lit.cfg
ib/lsan/lit_tests/LsanConfig/lit.site.cfg.in
ib/lsan/lit_tests/SharedLibs/huge_tls_lib_so.cc
ib/lsan/lit_tests/SharedLibs/lit.local.cfg
ib/lsan/lit_tests/TestCases/SharedLibs/huge_tls_lib_so.cc
ib/lsan/lit_tests/TestCases/SharedLibs/lit.local.cfg
ib/lsan/lit_tests/TestCases/large_allocation_leak.cc
ib/lsan/lit_tests/TestCases/stale_stack_leak.cc
ib/lsan/lit_tests/TestCases/use_globals_initialized.cc
ib/lsan/lit_tests/TestCases/use_globals_uninitialized.cc
ib/lsan/lit_tests/TestCases/use_registers.cc
ib/lsan/lit_tests/TestCases/use_stacks.cc
ib/lsan/lit_tests/TestCases/use_stacks_threaded.cc
ib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/TestCases/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/TestCases/use_tls_static.cc
ib/lsan/lit_tests/TestCases/use_unaligned.cc
ib/lsan/lit_tests/large_allocation_leak.cc
ib/lsan/lit_tests/lit.cfg
ib/lsan/lit_tests/lit.common.cfg
ib/lsan/lit_tests/lit.site.cfg.in
ib/lsan/lit_tests/stale_stack_leak.cc
ib/lsan/lit_tests/use_globals_initialized.cc
ib/lsan/lit_tests/use_globals_uninitialized.cc
ib/lsan/lit_tests/use_registers.cc
ib/lsan/lit_tests/use_stacks.cc
ib/lsan/lit_tests/use_stacks_threaded.cc
ib/lsan/lit_tests/use_tls_dynamic.cc
ib/lsan/lit_tests/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/use_tls_static.cc
ib/lsan/lit_tests/use_unaligned.cc
|
a879f10ee6aa04f6169d056ef2a9c39502fff290 |
31-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix gcc build of msan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182999 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_interceptors.cc
|
b36779d6e9c55e97b2258fe30e8e02c416b14dda |
31-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Handle mixed track-origins and keep-going settings (compiler-rt part). Before this change, each module defined a weak_odr global __msan_track_origins with a value of 1 if origin tracking is enabled, 0 if disabled. If there are modules with different values, any of them may win. If 0 wins, and there is at least one module with 1, the program will most likely crash. With this change, __msan_track_origins is only emitted if origin tracking is on. Then runtime library detects if there is at least one module with origin tracking, and enables runtime support for it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182996 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/SharedLibs/dso-origin-so.cc
ib/msan/lit_tests/SharedLibs/dso-origin.h
ib/msan/lit_tests/SharedLibs/lit.local.cfg
ib/msan/lit_tests/dso-origin.cc
ib/msan/msan.cc
ib/msan/msan_interceptors.cc
|
4fcc565018922bc50bd07858152e772bf642d5bb |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix r182994 - update test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182995 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
ba2169a467abf86c15d4b19a5ed4d978c584a98e |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Use the fast version of GetBlockBegin for leak checking in LSan and ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182994 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/sanitizer_common/sanitizer_allocator.h
|
00c35cfe108797f6677252fd77214c0cbccb5c5b |
31-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix wrong size of addrinfo::ai_addrlen. Add compile time tests for sizes and offsets of all sanitizer-posix types. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182993 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
2592a0614d91fe947cd04fe7e2719d273e3e4880 |
30-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] workaround for the quemu bug in proc maps (http://code.google.com/p/address-sanitizer/issues/detail?id=160) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182922 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
816bdb76f98febeb68456e4b570f2c09f2013451 |
30-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix #if guards in sanitizer_common code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182918 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
f8c3f3db72780cd57ce7959e70167b7553e55fb8 |
30-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] introduce LargeMmapAllocator::GetBlockBeginFastSingleThreaded, required for LeakSanitizer to work faster. Also fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182917 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_poisoning.h
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
41dcb1c8848c8677c06216c6fcaa9b001f736778 |
30-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Minor cleanup: remove a couple of unused variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182915 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
8d2438a7ebb01201c652f91d1e8043a1f3d03bff |
29-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Replaced 'bool .* = 0;' with '... = false;' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182868 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
69c1d48dfb6f4bfa088c5931768878b3a1d721b7 |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix r182858. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182862 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/unpoison_tls.cc
|
2e8fae79eaf8adb7ed09f3a2ee923d9296974d2f |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix r182854: run the unpoison_tls test only on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182858 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/unpoison_tls.cc
ib/asan/lit_tests/unpoison_tls.cc
|
5e97ba38b00eb843a55189bb913b445cbe620894 |
29-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix MSVC W3 compiler warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182857 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_fake_stack.h
ib/asan/asan_interceptors.cc
ib/asan/asan_poisoning.h
ib/asan/asan_report.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_common_libcdep.cc
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_printf.cc
|
12d01bac1c09a8412546e71485a3cba2d416c0fc |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Make ASan report the correct thread address ranges to LSan. This CL enables thread support in LSan when used on top of ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182854 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/lit_tests/unpoison_tls.cc
|
4c086441ff9d06e53fa941671781008d453dba49 |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Change the way GetThreadStackAndTls() obtains the thread descriptor address. Instead of using arch_prctl(ARCH_GET_FS), read the address from the tread descriptor itself. This lets us avoid sandboxing issues. Also, GetThreadStackAndTls() can now be implemented on i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182853 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
512c616cacf70ca029a2bf719a482b902f3687cd |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix getaddrinfo interceptor to use the actual returned sockaddr size. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182852 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
51c963a812ca2fd24a72e17d1b5c127f4f9290bd |
29-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Unweak SymbolizerPrepareForSandboxing and move it to libc-independent part. Fixes the Go build. Differential Revision: http://llvm-reviews.chandlerc.com/D877 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182851 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_linux_libcdep.cc
|
e174cd1ee373c3b77f3ce8e7fc62f70d0668d03d |
29-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix MSVC warnings at the -W2 level git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182848 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_quarantine.h
ib/sanitizer_common/sanitizer_thread_registry.cc
|
e215980807069d7bdeb1beff8377b3fe7be33c5f |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182845 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
bc33e138d82759074f8333239f96506027731e20 |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getpeername. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182844 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
9666d89b628867b2c790d5415f0371fdb4050b0c |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move TSan and MSan recvmsg interceptors to common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182843 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_interceptors.cc
|
24cdfee9776abddcd6c96240e398706667029e0d |
29-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: match "race" suppressions against "race on vptr" reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182842 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
|
5aac3a6caad7bd3c82050db13a37eb1a3808b5ac |
29-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Now that we have a custom allocator, remove dummy allocator definitions from test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182841 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc
|
845abaf0e3287a6abb1c6b6200d4e6b96896f929 |
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[sanitizer] Use raw check in internal allocator to prevent self-deadlocks. Try to fix Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182840 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_allocator_internal.h
|
c91a93897a14fcd68bdd835ad6c6a4d12d2f78e6 |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Convert the remaining LSan tests to output tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182839 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/SharedLibs/huge_tls_lib_so.cc
ib/lsan/lit_tests/large_allocation_leak.cc
ib/lsan/lit_tests/stale_stack_leak.cc
ib/lsan/lit_tests/use_globals_uninitialized.cc
ib/lsan/lit_tests/use_registers.cc
ib/lsan/lit_tests/use_stacks.cc
ib/lsan/lit_tests/use_stacks_threaded.cc
ib/lsan/lit_tests/use_tls_dynamic.cc
ib/lsan/lit_tests/use_tls_pthread_specific_dynamic.cc
ib/lsan/lit_tests/use_tls_pthread_specific_static.cc
ib/lsan/lit_tests/use_tls_static.cc
ib/lsan/lit_tests/use_unaligned.cc
ib/sanitizer_common/scripts/check_lint.sh
|
c87088b54f7438d589119d314853a5f3b00d02b5 |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] modf/modff/modfl interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182838 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
616659a1608efe3791e749d406824032afe694e9 |
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Exclude sanitizer_nolibc_test from TSan test run. Fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182837 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lit_tests/use_globals_initialized.cc
ib/sanitizer_common/sanitizer_allocator_internal.h
ib/tsan/Makefile.old
|
1f3c2fee395abc36230c445e9ebdba55c4729d35 |
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182836 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_report.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_allocator_internal.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.h
|
9d1525ec52430d0b8ffd6d0893b7f5529105b321 |
29-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Share TSan accept & accept4 interceptors with other sanitizers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182835 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
|
3538eb8a245ea4d17824d8a53feb8cecd3358762 |
28-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Improve getaddrinfo interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182775 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/getaddrinfo-positive.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
6ac157da0bcbd2951ee110d8da27eb188d2a3cd7 |
28-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Change report header to be more alike to ASan and TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182774 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/getaddrinfo-positive.cc
ib/msan/lit_tests/heap-origin.cc
ib/msan/lit_tests/no_sanitize_memory_prop.cc
ib/msan/lit_tests/stack-origin.cc
ib/msan/msan_report.cc
|
cc8ed30ebfb4ff6f9d9c7e77760dd5c7841a1af8 |
28-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Add a test case for Linux/x86_64. Differential Revision: http://llvm-reviews.chandlerc.com/D873 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182770 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_nolibc_test.cc
ib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc
ib/sanitizer_common/tests/sanitizer_test_main.cc
|
8a4f89ab04ae6075d50eb1d95c8dd80f0bf198b1 |
28-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Make SymbolizerPrepareForSandboxing weak and optional. Differential Revision: http://llvm-reviews.chandlerc.com/D872 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182765 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
c09c9017cedda2ab23d834318176df2afa720804 |
27-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Make AddressInfo::Clear a weak function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182743 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.h
|
43e99ae95299017fb3cbb7d1c8677c6006d3537f |
27-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Use an address-of operator here to silence an MSVC warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182740 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
ebe3a3608be122e799e264931f9cecf4cbc84edd |
27-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Begin converting LSan tests to output tests. In this CL all old tests are removed and one LIT test is added. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182730 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/lsan/lit_tests/SharedLibs/lit.local.cfg
ib/lsan/lit_tests/lit.cfg
ib/lsan/lit_tests/use_globals_initialized.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_common_linux.cc
ib/lsan/tests/CMakeLists.txt
ib/lsan/tests/lsan_dummy_unittest.cc
ib/lsan/tests/lsan_test.cc
ib/lsan/tests/lsan_tls_loadable.cc
ib/sanitizer_common/scripts/check_lint.sh
|
98d3b40ec5cf06e46397492c21acc9d18e8c54ab |
27-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move FindThreadByOSIdLocked from lsan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182728 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_thread.cc
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
|
57434a3174cfd9c4c5f304ea412492e4935cc18d |
27-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Improve support for compiler-rt tests in CMake build. Now compiler-rt tests run correctly if compiler-rt is checked out into arbitrary directory (not necessarily projects/compiler-rt). Patch by Greg Fitzgerald! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182726 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Unit/lit.cfg
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/lit.site.cfg.in
ib/lsan/lit_tests/Unit/lit.cfg
ib/lsan/lit_tests/Unit/lit.site.cfg.in
ib/lsan/lit_tests/lit.cfg
ib/lsan/lit_tests/lit.site.cfg.in
ib/msan/lit_tests/Unit/lit.cfg
ib/msan/lit_tests/Unit/lit.site.cfg.in
ib/msan/lit_tests/lit.cfg
ib/msan/lit_tests/lit.site.cfg.in
ib/sanitizer_common/tests/lit.cfg
ib/sanitizer_common/tests/lit.site.cfg.in
ib/tsan/lit_tests/Unit/lit.cfg
ib/tsan/lit_tests/Unit/lit.site.cfg.in
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/lit.site.cfg.in
ib/ubsan/lit_tests/lit.cfg
ib/ubsan/lit_tests/lit.site.cfg.in
|
a09d09d29e250e905bdfaf819979b9c3e9adc047 |
24-May-2013 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/12512722> Use arm divide instruction if available git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182665 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/divmodsi4.S
ib/arm/modsi3.S
ib/arm/udivmodsi4.S
ib/arm/umodsi3.S
est/timing/modsi3.c
|
f5a9ace4904e9daf3d962274cbbcb702ebc5450e |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Allow the ignored TLS range to be empty. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182657 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
|
8e66cf5e2b56214996185fce37cd704898d8bc9b |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Minor adjustments to LSan messages. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182648 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
ib/lsan/lsan_common_linux.cc
|
6c3634b1d5eeb0bffea01df10caa7168c48c8c5d |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Prettify LSan reports and add a summary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182646 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
|
969b529914f5bc17e4810076dccbaadf563d584c |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add exitcode flag. Kill the process if leaks are found. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182641 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
|
46efcb09dc16b91cb805abea52f3ff6081a63751 |
24-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Disable init-order checking before destructors are run. We don't want to report initialization-order bugs when a destructor of a global variable accesses dynamically initialized global from another (not necessarily initialized) module. We do this by intercepting __cxa_atexit and registrering our own callback that unpoisons shadow for all dynamically initialized global variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182637 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/lit_tests/Helpers/init-order-atexit-extra.cc
ib/asan/lit_tests/init-order-atexit.cc
|
2811a0ccbadb9f8c50fe0b6aa8e4e39193fef4e7 |
23-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Don't override 'mode' and cleanup some variable names. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182599 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
468eb10c6051c6f93df75cfc34fc98180dea1bbf |
23-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Add 'mode' parameter when using 'O_CREAT'. Thanks to Evgeniy for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182598 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
e850b87a9b18774385a337159c5ce1811bfc4a02 |
23-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add lit test support. "check-lsan" now runs both the tests from lib/lsan/tests and any lit tests found under lib/lsan/lit_tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182583 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/CMakeLists.txt
ib/lsan/lit_tests/CMakeLists.txt
ib/lsan/lit_tests/Unit/lit.cfg
ib/lsan/lit_tests/Unit/lit.site.cfg.in
ib/lsan/lit_tests/lit.cfg
ib/lsan/lit_tests/lit.site.cfg.in
ib/lsan/tests/CMakeLists.txt
ib/lsan/tests/lit.cfg
ib/lsan/tests/lit.site.cfg.in
|
3086d7bd6456e43b6695c8356db364ade826dce3 |
23-May-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Try to fix the Go-TSan build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182582 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
|
2a5c67895d8da24c37701af37e24379f3f3ae838 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[tsan] Remove -Wgnu from Makefile.old. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182580 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/Makefile.old
|
5ce93fc96ab5e2defd85890da63b51cc4c57a2af |
23-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Introduce SymbolizerPrepareForSandboxing(), which is a no-op on every platform except Linux (because we don't support sandboxing anywhere else yet) On Linux we pre-cache the value of readlink("/proc/self/exe"), so that it can be later used when the sandbox has been turned on. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182579 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_linux_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
|
5b2afc3e655f32c8b9d4b7c8b0ad31681f16cf06 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix line >80 chars. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182578 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
33b1485c3f1ea5a8089473ab1bb962d7bfb41d72 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182576 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
40b631f03580b3c631f332c1f4ebfbed453b4283 |
23-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182575 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
f32be42523a199674ea665a499db131591e64e08 |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getsockopt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182574 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
0a2cc37712a452525f9f03b3bf67b1f0a97c8d3a |
23-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Interceptors for gethostbyname and friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182573 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
fc1a61203fec6797060744c5c6754b0ae924f5b2 |
23-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Ensure lsan is initialized when interceptors are called. Also remove unnecessary ifdefs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182571 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan.cc
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_interceptors.cc
|
a7e8c97e8af9e375ea37cf03a3da0cd645d95d6a |
23-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Rename __asan_preinit to __local_asan_preinit to avoid warnings from the linker which is trying to export all the __asan_* symbols git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182567 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_preinit.cc
|
d06f2fc03087e7cccda19bd550bf6fb3bc2f5ae7 |
23-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Performance improvement. Using fwrite and fread was very *very* slow. The resulting code was multiple times slower than GCC's implementation of gcov. Replace the fwrite/fread system with an mmap() version. If the `.gcda' file doesn't exist, we (re)allocate a buffer that we write into. That gets written to the `.gcda' file in one chunk. If the `.gcda' file already exists, we simply mmap() the file, modify the mapped data, and use msync() to write the contents out to disk. It's much easier than implementing our own buffering scheme, and we don't have to use fwrite's and fread's buffering. For those who are numbers-oriented, here are some timings: GCC Verison ----------- `.gcda' files don't exist: 23s `.gcda' files do exist: 14s LLVM Version (before this change) --------------------------------- `.gcda' files don't exist: 28s `.gcda' files do exist: 28s LLVM Version (with this change) ------------------------------- `.gcda' files don't exist: 18s `.gcda' files do exist: 4s It's a win-win-win-win-lose-win-win scenario! <rdar://problem/13466086> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182563 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/fcntl.h
DKs/darwin/usr/include/stdio.h
DKs/darwin/usr/include/stdlib.h
DKs/darwin/usr/include/sys/fcntl.h
DKs/darwin/usr/include/sys/mman.h
DKs/linux/usr/include/fcntl.h
DKs/linux/usr/include/stdio.h
DKs/linux/usr/include/stdlib.h
DKs/linux/usr/include/sys/fcntl.h
DKs/linux/usr/include/sys/mman.h
ib/profile/GCDAProfiling.c
|
a05fd3189eec45af6d737be89194471c0972905d |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build one more time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182481 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
73c9878bec490bbc1dab4ee8df91a8e5b3bfc5cf |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182479 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
84d0d7d71cade296e4b45cb1d74f04c8ffe82e09 |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Effectively revert r182453 - atomic.c may not be compiled if host compiler doesn't understand _Atomic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182478 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
d570bb4c7d82767d26ada0f923f84b10d8ec0fc6 |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the reported PCs for powerpc64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182477 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
9f58c5c60a56d9c39d36b5313dc87ad4bb713163 |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept getsockname. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182475 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
761cabb143283c428aa5af5d45dca7d0a0db74fd |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182473 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
975a3294d9baf6bbbcfdb3c3a0e0a24714cde7cb |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r182465 and add lsan-common library to makefile-based build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182470 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/asan/CMakeLists.txt
ib/asan/asan_allocator2.cc
ib/asan/asan_rtl.cc
ib/lsan/Makefile.mk
ake/platform/clang_linux.mk
|
e0f18f2a532acad86f1601a6ea26ebcd5654c8a8 |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182469 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
447ef19d1b8cebbeaba49e4be22ac721448dcf3e |
22-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] getaddrinfo & nested interceptor support. Multiple connected changes: - Ignore reads from nested interceptors. - Check shadow on reads from common interceptors. - getaddrinfo interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182466 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/getaddrinfo-positive.cc
ib/msan/lit_tests/getaddrinfo.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
b5433dd977c6b528b7e0d83fa1fc45d6503a1226 |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Temporary remove leak checking from ASan, while we don't have makefile-based build for LSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182465 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_allocator2.cc
ib/asan/asan_rtl.cc
|
ac39dfb85e6b0007b313a794fed9f093878c05fd |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] enhance stack-overflow.cc test: check that the location frame is properly symbolized git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182463 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/stack-overflow.cc
|
c26d450d5f459ffb91a4225b6367d57bf6c36b8d |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] attempting to fix the debian bot (on ubuntu the test builds; on debian it complains that _SC_PAGESIZE is unknown) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182462 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/dlclose-test.cc
|
5cf3cedc0d469a266880d9bfb5eccfabf2033388 |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix dlclose-test to work with non-4K pages. Properly disable interface_symbols_linux on non-x86 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182461 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/interface_symbols_linux.c
ib/asan/lit_tests/dlclose-test.cc
|
30e970f769ccf11e61e472c6f8b22f8e866c592f |
22-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] workaround for asan bug 189 (swapcontext followed by throw gets OOM kill). Also, disable swapcontext_test on non-x86. Fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182456 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/Linux/swapcontext_test.cc
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
6cef9789d8e2c712ce650fde6fd8c49f396ee81c |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Add atomic.c to CMake build of compiler-rt to match r182420 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182453 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
e04a1fdc5d173586408421144a0cd79d1767f918 |
22-May-2013 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/13806954> enable __atomic_* functions for Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182435 91177308-0d34-0410-b5e6-96231b3b80d8
ib/apple_versioning.c
ib/atomic.c
ake/AppleBI.mk
ake/platform/darwin_bni.mk
|
d4ad20b6bb6e790dd8397bc6ca6a901781f7460f |
21-May-2013 |
Daniel Dunbar <daniel@zuster.org> |
Add atomic.c back to the builtins module sources lists (for Makefile build). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182420 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
|
4cacb4f6fb6127099fa5a816b12b2565e5bed4fe |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Invoke leak detection with atexit(). Keeps it consistent between ASan and LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182399 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/lsan/lsan.cc
ib/lsan/lsan_allocator.cc
ib/lsan/tests/lsan_testlib.cc
|
0bc81775b75f2c8c6c8c0e1af4008771d5b882ab |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Do not invoke LSan hooks unless CAN_SANITIZE_LEAKS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182389 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/lsan/lsan_common.cc
|
71f0411c8289b57bc1a2cb3ccc02ae7fae25fd33 |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] LSan hooks in asan_rtl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182384 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
|
9bdf7802d403b53baee3433ddddc220f457e039c |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Change CMakeLists to build the common LSan module for ASan. Also, define CAN_SANITIZE_LEAKS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182383 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/lsan/CMakeLists.txt
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_common_linux.cc
|
4d1b3830595e9c74b42a5a1e4a04b4e53f0d61bd |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Add empty default blacklist for MSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182382 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_blacklist.txt
ib/msan/CMakeLists.txt
ib/msan/lit_tests/CMakeLists.txt
ib/msan/lit_tests/default_blacklist.cc
ib/msan/msan_blacklist.txt
|
c1caacee4245f4511b52a697b2ae300a1c53ddef |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] create default (empty) ASan blacklist file in resource directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182380 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
ib/asan/CMakeLists.txt
ib/asan/asan_blacklist.txt
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/default_blacklist.cc
|
79367ad4c69cf832395ff0d2df647634c553683d |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] LSan hooks in asan_allocator2.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182379 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
f1ac1a44b4ed022f0a587a6bd711b1afbd3f8f62 |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] LSan hooks in asan_thread.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182378 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
|
3bc65b1dfb62a5e4f230f1853f10555956b7e4e7 |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] LSan in LD_PRELOAD library form. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182376 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/tests/lsan_testlib.cc
|
4515a21fff1b17698017c0bc51e2d828de8f6d9f |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Print verbose warning if symbolizer can't read /proc/self/exe for some reason git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182374 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_linux_libcdep.cc
|
8b3af3a0e9426e9e0b2986b97360bd820ef05c7f |
21-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move symbolizer to RTSanitizerCommonLibc, and make it optional using a weak symbol. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182372 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_linux_libcdep.cc
|
705e310b98e85f893a69bccad1a9c066e2f4c277 |
21-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move stoptheworld to RTSanitizerCommonLibc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182369 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
ib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
|
04a2281586c2dafaa523d4e8dc5488b52e44194e |
21-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move libc-dependent sanitizer_posix.cc code to sanitizer_posix_libcdep.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182366 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_posix_libcdep.cc
ib/tsan/go/buildgo.sh
|
37642cf7d1127684e79efe3154c57f30975f236b |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Mark init-order test as XFAIL on Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182365 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/initialization-bug.cc
|
a6e7d8d6369eb676d8c4ed4223e42743e367057f |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Don't run fast unwinder tests on 32-bit Linux as fast unwinder may be unexpectedly smart on some hosts git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182363 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/Linux/overflow-in-qsort.cc
|
f49547952986aac2b958cc97bdc662ddbf32500d |
21-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable pthread_getschedparam interceptor on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182361 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
098847d2a24ca010e543adb3e1140d56f30a6a90 |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Mark some tests as working only on x86_64 and i386 arches git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182360 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/asan_prelink_test.cc
ib/asan/lit_tests/Linux/interface_symbols_linux.c
ib/asan/lit_tests/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/Linux/time_null_regtest.cc
ib/asan/lit_tests/Linux/zero-base-shadow.cc
|
e6c62f2271c25567ac0bbbe68c7323b49330373c |
21-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Replace GetArgv hack with something that is slightly better. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182359 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
6b5346e5a7d9e9107842b6a7af79fe2667c40900 |
21-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Add lit config feature <target>-supported-target to mark target-specific tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182355 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.site.cfg.in
ib/lit.common.cfg
|
dc563c0efbba5aec49b20a4d74e020feb75d7e8a |
21-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect when a thread ends with ignores enabled git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182354 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/thread_end_with_ignore.cc
ib/tsan/lit_tests/thread_end_with_ignore2.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
56d3472104dd9fec6578e02f4895f3254e038e8e |
21-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept pthread_getschedparam. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182353 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a8bc34e420d27c47560b0742cec295e40b0f430e |
21-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix asan on the platforms where the page size is not a compile-time constant (or at least where EXEC_PAGESIZE may not be trustworthy), e.g. powerpc64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182351 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
4df343a31cf57c309cf102b9aef870458318f579 |
20-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move GetPageSize to the individual platforms. GetPageSize wraps sysconf(_SC_PAGESIZE) on POSIX platforms, but sysconf resides in libc. To make this libc-independent on Linux, move the wrapper to sanitizer_mac.cc and return the Linux-specific constant EXEC_PAGESIZE in the sanitizer_linux.cc implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182303 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
|
088ea2b46f97172bd0b0663a629e11cf826b84f7 |
20-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move libc-dependent sanitizer_linux.cc code to sanitizer_linux_libcdep.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182292 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux_libcdep.cc
ib/tsan/go/buildgo.sh
|
26337b60b1d551c4744454edd8e5ef3c479e3467 |
20-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Make GetArgsAndEnv libc-independent. __libc_stack_end is made into a weak symbol if possible. If libc is not linked, read args and environment from /proc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182276 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
74799cad0c370391a087567507a59c5dba1348ab |
20-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Build LSan on x86_64 only if this target is supported git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182272 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/CMakeLists.txt
|
b9c9ce7dfdc0564ddc64f409a995265a3ee89634 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix r182256. Add missing call to GetUserBegin(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182267 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common_linux.cc
|
b812409721eb6b8c039fb748658313c531d0f2bb |
20-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Nuke build of static ASan runtime on Mac OS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182261 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
a225736903b1bef1a232067429368e536f610266 |
20-May-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build sanitizer runtimes with debug info in Makefile build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182260 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
ake/platform/clang_linux.mk
|
6a659dfd8e717a598f54867aa36c2e4af09d031b |
20-May-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Introduce INTERCEPTOR_WITH_SUFFIX which is to be used for appending the __DARWIN_ALIAS() version suffixes to function names on Darwin. This should fix asan/lit_tests/wait.cc under ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182259 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
29b756851c04df07f1584dfd77021dd2f37a7391 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] GetUserBegin() in LSan. Separate the notions of user-visible chunk and allocator chunk, to facilitate ASan integration. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182256 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
|
41d69f4fd5454d5bf2614cbb3e8ed77a935c880b |
20-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Fix realloc'ing freed/invalid pointers See https://code.google.com/p/address-sanitizer/issues/detail?id=187 for the details git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182255 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_test.cc
|
e7ca05603222f61bab630f619bf59c0c927ff7de |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Modify ASan metadata atomically. We need this to avoid races when ASan and LSan are used together. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182252 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
f484ff329597a307b51bd4af308d87f18fd3c2cb |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] CMakeLists and lit test configs for LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182251 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/lsan/CMakeLists.txt
ib/lsan/tests/CMakeLists.txt
ib/lsan/tests/lit.cfg
ib/lsan/tests/lit.site.cfg.in
|
fc98a1acf56088cfb2226718f8d1d8f0034457d4 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Tests for LeakSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182250 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/tests/lsan_test.cc
ib/lsan/tests/lsan_tls_loadable.cc
ib/sanitizer_common/scripts/check_lint.sh
|
ab0f74438abd73342a9d09e1d8b687461cf18da1 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Common leak checking module. Leak checking functionality which will be shared between LSan/ASan/MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182249 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_common.cc
ib/lsan/lsan_common.h
ib/lsan/lsan_common_linux.cc
|
e96c62a9f60c615fae16b1d645cd4afb29a4e87a |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Standalone LSan initialization. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182248 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan.cc
ib/lsan/lsan.h
|
7ea7d20ea31f2146817967512356652cc1f72004 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Interceptors for standalone LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182247 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_interceptors.cc
|
56f77a7570d96aa4c6afb7ab26e58925b2506f86 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Thread registry for standalone LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182246 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_thread.cc
ib/lsan/lsan_thread.h
|
c99de512472c5635e554d983c225aa3a92a20202 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Allocator for standalone LSan. This is the first in a series of CLs implementing LeakSanitizer. http://clang.llvm.org/docs/LeakSanitizer.html git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182245 91177308-0d34-0410-b5e6-96231b3b80d8
ib/lsan/lsan_allocator.cc
ib/lsan/lsan_allocator.h
|
7ce8de1854fbc164e08dd715217240b8f2f0b06c |
20-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Remove an unused ChunkBase field Also fix wrong alignment maths and an outdated comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182238 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
1b54cbfbd12d6302838a6d4d6c42d90bd9c6b9d5 |
20-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] factor out ByteMap from SizeClassAllocator32 so that it can be later replaced with a more memory-efficient implementation on 64-bit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182234 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
b877cb56b8ae051cab995704e3eec48119cffc64 |
19-May-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Avoid rebuilding the RTSanitizerCommon objects when building clang_rt.san. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182218 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
|
fb98d3dc1e3a5eb9130fb7f16b8a50b616498139 |
18-May-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Replace CHECK(a == b); with CHECK_EQ(a, b); throughout asan_allocator2.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182198 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
8cb3f754f1ab33a03107147c0eb5bd5d91f9f39b |
18-May-2013 |
David Blaikie <dblaikie@gmail.com> |
Fix the UBSan CMake build broken in r182118 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182177 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
|
0b694fcab9b2f33bdd6691cbea4e80a5c27191b1 |
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Move all platforms to internal_getpid. Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182132 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
0c547de62dc0852a03fae2d868fa571e7f5512b3 |
17-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Begin moving sanitizer_common's libc-dependent code to a separate library Introduce a new object library, RTSanitizerCommonLibc, which will contain the subset of sanitizer_common with libc dependencies. RTSanitizerCommon contains the remainder of sanitizer_common, and is intended to have no libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting with sanitizer_common.cc, whose libc-dependent portion is moved to sanitizer_common_libcdep.cc, the first member of the new library. This split affects the CMake build only. The makefile build continues to produce the full sanitizer_common library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182118 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/msan/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_common_libcdep.cc
ib/sanitizer_common/tests/CMakeLists.txt
ib/tsan/rtl/CMakeLists.txt
|
782703fe81c0151b67edcf9acf20388381857fdf |
17-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix build with Android NDK r8e. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182110 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
c754cd70347b33da0475b191a5d6bad9d5c4362c |
17-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make the regression test for time(NULL) Linux-specific, as it crashes on Darwin (and the problem used to occur on Linux). Do not use zero-based shadow for the time() test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182107 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/time_null_regtest.cc
ib/asan/lit_tests/time_interceptor.cc
|
0228452463054a4b0489ebd9c057962cbe583831 |
17-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix gcc build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182094 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
|
1aad6b5444207887ecea2b9e87526585d1ce0592 |
17-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison dlpi_name in dl_iterate_phdr interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182093 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
a1b3f0d956862266c23526d5c14b5ae2bc274716 |
17-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove "printing report from signal handler. Can crash or hang" output it was added to debug mysterious hangs, but it does not seem to happen anymore now it only clutter up output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182089 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
8354faeec647dc5b420726fa61616189392d5045 |
17-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: introduce recursive mutex lock/unlock java interface this is required to handle Object.Wait() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182088 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java.h
ib/tsan/lit_tests/java_lock_rec.cc
ib/tsan/lit_tests/java_lock_rec_race.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_interface_java.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
|
374fd35926d1c4877ac26ca8e2877154cb698cb5 |
17-May-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: comment out debug output in test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182087 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
972f301fdbd7a7e058766539d6f51b9be3fdf55f |
17-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix allow_user_segv.cc on Darwin (32-bit build required a SIGBUS handler instead of the SIGSEGV one) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182080 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/allow_user_segv.cc
|
31750e3acce47343329e9b930d50a5f38d159edf |
16-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix init-order-dlopen.cc to pass under Mac OS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182010 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/init-order-dlopen.cc
|
5584c0465ebe273b28af7c9bd65476ddf3d3dee8 |
16-May-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix interface_symbols_darwin to pass a correct flag to nm. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182008 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Darwin/interface_symbols_darwin.c
|
8d6854a62ee044c19692a3a9e4870f57c30fc887 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix gcc build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182006 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
b76ea0ce262a97e39fbf443b6aa8768c2c27e7b7 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] symbolize when possible, even if ASAN_SYMBOLIZER_PATH is not provided. On Linux this will use dl_iterate_phdr instead of /proc/self/maps, even if the symbolizer is not installed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182005 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
2bba4efbf0df4bfac8e0aac1a924ba763dd9c468 |
16-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept dl_iterate_phdr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182004 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
ib/msan/tests/msan_test.cc
|
f14ef72c52673c8c37c95b07fcc79631a10d7772 |
16-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix the region overflow condition in SanitizerAllocator64::PopulateFreeList(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182002 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
c7014ed50a8aecac83ab7767a76efe8a04cea680 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix a gcc warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181992 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
9277b1ff831ad4e3979e7a6203e838d6d62266c6 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix ShadowGapTest on PowerPC64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181991 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
871b7fd4fdde47cbf36c2b5c19d679e87dd11df6 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the GetBlockBegin overflow bug while preserving the performance optimization (use 32-bit division when possible). Improve the benchmarks that checks for performance of GetBlockBegin/GetMetaData git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181989 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
a1560bd5d12ddf245ca44fa6a259e9b5c5f81933 |
16-May-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] added a test for a bug in allocator discovered by Sergey Matveev (uint32 overflow in GetBlockBegin) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181984 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
2a46a60510948b5005d62025fbba307a0323ed8d |
15-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Try to improve performance by using a read/write buffer instead of I/O. The calls to fwrite/fread can be very expensive. GCC avoids this by using a buffer to read and write from the file, thus limiting the number of fwrite/fread calls. <rdar://problem/13466086> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181924 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/stdio.h
DKs/darwin/usr/include/string.h
DKs/linux/usr/include/stdio.h
DKs/linux/usr/include/string.h
ib/profile/GCDAProfiling.c
|
0bdc46c7ee03e8c4e4da7c5ac43edac237aa53e2 |
15-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] disable BuiltinLongJmpTest on PowerPC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181890 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
f931da85ce8668751628ded926ecad013c5d6f1a |
15-May-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix powerpc build and one test; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181881 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
97443eb1a62fd2cdc96079b7ac2d9c9a92653f25 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181796 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
f75c8ca99ff4a41169fe2b95df3a2d4bbf02f1ab |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fixed a bug in GetListOfModules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181793 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
d1470cbaab10715511c83b91dfdefe59d98fa595 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Filtering in GetListOfModules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181791 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
|
84b35c4ddf4e9ad23b40bb4c4d9fbc4c0a3d53a2 |
14-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add sanitizer syscall hooks to the tool's export lists. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181790 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan.syms
ib/msan/msan.syms
ib/tsan/rtl/tsan.syms
|
3de0086409d143a612a54a7a0ed809e286656188 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] LibraryNameIs in sanitizer_linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181787 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
a615b26e3e3c2da0b2f950f506f6c2c220430c19 |
14-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Minor fixes in sanitizer_common tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181786 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_common_test.cc
ib/sanitizer_common/tests/sanitizer_libc_test.cc
ib/sanitizer_common/tests/sanitizer_linux_test.cc
ib/sanitizer_common/tests/sanitizer_stoptheworld_test.cc
ib/sanitizer_common/tests/sanitizer_stoptheworld_testlib.cc
|
411e828bf174dab9cfe7b64a5081cb870b71a73a |
14-May-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix gcc build with -Wall git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181763 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
b63dba903c29fe6ed1bfcb67e78f72beb832d01b |
13-May-2013 |
Sylvestre Ledru <sylvestre@debian.org> |
Fix a typo in the comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181708 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
15bb32b9e1342030a6c4742625f3c3356de42a2a |
13-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Generic sorting in sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181698 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
|
115accb935dc1464d78e041d2aaf571044dfdc60 |
13-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix StopTheWorld build on non-Android ARM. Original patch by Abdoulaye Walsimou Gaye. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181697 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
6712833072765dbe066af4b6723f38a35d0b7b3c |
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Try to fix Windows build too git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181457 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
65246dc7e77c4e089898a1f15ead65f6087795ef |
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Try to fix the mac buildbots git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181440 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
|
9578a3ecfc35a264ede1135033398e2a77a6cad6 |
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Change internal syscall API to remove reliance on libc's errno. This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181436 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_syscall_generic.inc
ib/sanitizer_common/sanitizer_syscall_linux_x86_64.inc
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/sanitizer_libc_test.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_suppressions.cc
|
33280bba681b7bb683be01749aaba70dc06ffb6c |
08-May-2013 |
Sergey Matveev <earthdok@google.com> |
Quick fix for ASan test build on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
|
3e3f80db37dcec9a3dc6315f11f0937394fa70ba |
08-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fix build breakage in Go TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181428 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
|
736cf49a46b3cc5aa1856762f85e6f2799c24e5a |
08-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move GetStackTrace from ASan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_stack.h
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/sanitizer_common/sanitizer_win.cc
|
8496afd9f88f5fa35d6cf26d47eaec6d4ebbadb3 |
08-May-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
[nolibc] Disable the GCC stack protector when building sanitizer runtimes. This is the first in a sequence of changes designed to eliminate the libc dependency in sanitizer_common. The main motivation for these changes is to be able to provide an alternative for the current interceptor-based technique for instrumenting functions in libc. In this new technique, we compile libc with instrumentation. This has the potential advantages of being more accurate than interception and reducing the amount of custom code required for each libc function. As a side effect of this, we cannot depend on libc in the sanitizer runtime due to mutual dependency issues. This change disables the GCC stack protector, which introduces a libc dependency and is enabled by default in Ubuntu. Differential Revision: http://llvm-reviews.chandlerc.com/D755 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181422 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
f310654ee19b6887677a09f09e522e36e81eb9da |
07-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fixed InitTlsSize for Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181330 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
35f1c1f7d4f18097c9eca2ce5f6c34a686707829 |
07-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Fixed includes in sanitizer_linux.cc for Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181327 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
24323de08fa8850712d56621bff29dbbbd0285a9 |
07-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common. Move this function to sanitizer_common because LSan uses it too. Also, fix a bug where the TLS range reported for main thread was off by the size of the thread descriptor from libc (TSan doesn't care much, but for LSan it's critical). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181322 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/sanitizer_common_test.cc
ib/sanitizer_common/tests/sanitizer_linux_test.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
ib/tsan/tests/unit/CMakeLists.txt
ib/tsan/tests/unit/tsan_platform_test.cc
|
2be3a283939d4fc14ad86f6cd8be34b1468f22ba |
07-May-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Sanitizer __internal_*stat interface. With this change, __internal_*stat always expect a "struct stat *" argument. This avoids stat/stat64 caller-side confusion (sanitizer_common tests already made this mistake), and allows the use of __internal_fstat() as a drop-in replacement for libc's fstat(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181311 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
3a02de31fcd8f0071c5d1f2048c7cc1643c16327 |
04-May-2013 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to r180792. Change-Id: I7e42def7ed94e1fd15a1de3ad6eb53ce3248b783
EADME.android
ib/asan/Android.mk
|
0b4bf4d72be10ba114c9b1f73aca45acd0e44ddc |
06-May-2013 |
Sergey Matveev <earthdok@google.com> |
[msan] Common flags in MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181194 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_flags.h
ib/msan/msan_report.cc
|
ed20ebe35c64b8c7043447f6a48b0e5adc89aded |
06-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Common flags in ASan. Some flags that are common to ASan/MSan/TSan/LSan have been moved to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181193 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
|
346e348af5740db3660c84490d2c1bbba7c570e5 |
04-May-2013 |
Bill Wendling <isanbard@gmail.com> |
I was wrong in my testing. There isn't a speedup when using unbuffered I/O. It slows it down in fact. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181060 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/stdio.h
DKs/linux/usr/include/stdio.h
ib/profile/GCDAProfiling.c
|
ca4417d35e8c1644f2f45d52e07dafdee75f1e55 |
03-May-2013 |
Stephen Hines <srhines@google.com> |
Merge remote-tracking branch 'upstream/master' into merge-20130502
|
d83a6d8bafbf2afa3ebcf9e006bf0c7414f9b2dc |
03-May-2013 |
Bill Wendling <isanbard@gmail.com> |
Use unbuffered I/O. This reduces the runtime by about half. Our implementation is now only about 5 times slower than gcc's. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180980 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/stdio.h
DKs/linux/usr/include/stdio.h
ib/profile/GCDAProfiling.c
|
2b26c909424953af8fa443d075e27e68c1571be4 |
30-Apr-2013 |
Bob Wilson <bob.wilson@apple.com> |
Rewrite sw_vers makefile check to avoid error message on Linux. When building compiler-rt on Linux, the "which sw_vers" check fails and writes an error message into the build log. Apparently on Solaris "which" writes the error message to stdout, so that the current test won't even work properly. As far as I know sw_vers always lives in /usr/bin, so just check for it there instead of using "which". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180792 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
6a72c9d8509bb8e751cb92e71407c039a767caa1 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180788 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
19bbac0983f71293405af9692a83b52c4c8d2498 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: comment out debug output in test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180787 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/unaligned_race.cc
|
4f5e4bbdf775354433430fea4598ff3991442915 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix printf(), on the second pass it prints garbage and crashes on random pointer dereference git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180784 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
94d8b448e046f3976b13ab79130c389115754022 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix deadlock detector table (OK to lock sync var mutex during reporting) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180782 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/mutexset8.cc
ib/tsan/rtl/tsan_mutex.cc
|
924047f32220f8da9c308acddbc0a41b952e7a0d |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reverse stack trace for failed CHECK's, this is how we print traces in other places git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180781 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
8ecd0e5d9f389d18653892851c6ffb2f235de4b7 |
30-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add interface functions for unaligned access, e.g. __sanitizer_unaligned_load16 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180780 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/analyze_libtsan.sh
ib/tsan/lit_tests/unaligned_norace.cc
ib/tsan/lit_tests/unaligned_race.cc
ib/tsan/rtl/tsan_interface.cc
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
|
f82eb24b61f8c0f23396ed5ba68f5ace7656e986 |
29-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asna/tsan/msan: fix wait() interceptors to allow NULL arguments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180703 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
62db3f26edf6c17ab562c0480176341303a9463a |
26-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
Revert r180599 "[sanitizer] Clear LD_PRELOAD when forking an external symbolizer." git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180602 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
ab06583d10baafeb657ad3e87d77f4ebfb2a6190 |
26-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Clear LD_PRELOAD when forking an external symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180599 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
e14f63dab5f7edade46db53e7d4938ea0302ef9e |
25-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add -fno-rtti to ASan runtime cflags on Android. Otherwise we are picking up an extra libstdc++ dependency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180265 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
332bf3340435a85d39d6abefbf4d6a145e17da1c |
25-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add allow_user_segv_handler to let users override SEGV handler installed by ASan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180255 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_interceptors.cc
ib/asan/asan_rtl.cc
ib/asan/lit_tests/allow_user_segv.cc
|
45269092b22468fd1f9c74de04f8560c05d5b862 |
25-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a test that used to crash, fixed by r180180. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180251 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/oob_race.cc
|
46fea91f84311643cbe7c8daf70c7f81656cf3e1 |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix stack traces for malloc and free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/malloc_stack.cc
ib/tsan/rtl/tsan_rtl.cc
|
5d9915efd0abc6f4e550b2f07811e4db7243e1b8 |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: run tests sequentially otherwise cmake says: make[3]: make[3]: /bin/sh: ../../../../../bin/clang: Text file busy git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180183 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/check_cmake.sh
|
edd2821982c058469dca631a3147fdd42045c48a |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable getpwuid_r() and glob64() interceptors under tsan, because they cause interceptor recursion if user intercepts fopen() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180182 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
|
03049413f8978c202a254eb0acfa2f10b9bbe34a |
24-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when data race happens on out-of-bounds accesses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180180 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_sync.cc
|
1d38069f4842973df02525c7bf77a5cbed3b03aa |
24-Apr-2013 |
Bob Wilson <bob.wilson@apple.com> |
Use the new iOS deployment target command-line options. We now rely on the -mios-simulator-version-min option to identify the iOS simulator target. I'm not sure if there's anything in compiler-rt where that matters, but it's the right thing to do regardless. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180163 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
d36f07c7f2a915616c3f784c5f77f21f1b86817f |
23-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support heap starting at 0x04c0 (used in some custom deplyments) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180116 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
|
4860c68bafe61e02a84ce8bc76095f5e5e5539e1 |
23-Apr-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update Go memory mapping, Go now uses 0x00c0 heap base git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180113 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
|
9530eb721dfacdf2c3f46d408e22d3f7cf8be667 |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept inet_pton and inet_ntop. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180107 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
bdd0966deb04068ea94cf416c7fb46516013bd26 |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Disable strict-init-order checker once we have more than one thread, as this mode is thread-hostile git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180106 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/lit_tests/init-order-dlopen.cc
|
11347bf5f008b5970f699241617381d95526d73d |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Make a few interface functions accept 'const void *' instead of 'void*' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180102 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
ib/msan/msan.cc
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
|
b6c8e47a72d526232f4d3e3b36232f30f8818733 |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison the result of posix_memalign. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180101 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
ff7c14f911463db91b574533f62eb847a2e08b1c |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r180082 and add a test for SetEnv function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180098 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
51e9728c7202ae8111a308fcba74f5126075c42a |
23-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make wait.cc more Darwin-compatible: fix the header name and the CHECK patterns. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180097 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/wait.cc
|
8db82e151f4dc3de33530adce370a3d86be54cf9 |
23-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Disable AddressSanitizer.AllocDeallocMismatch on Darwin. See https://code.google.com/p/address-sanitizer/issues/detail?id=131. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180093 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
103a63ed3fb5511516b55ce1ee4f33290209f3d8 |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept getgrnam{_r}, getgrgid{_r}. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180091 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
7cdae1683c9c2fcd4473a5862c90c64be3a8c5fd |
23-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allow clock_getres(, 0). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180090 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
51ecba39a18cc292c5ecb3adcb6571ad141b5402 |
23-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Delete unused function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180082 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
|
1d8bc4b25635462c58a81b7db32da289e1ea44bf |
22-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180012 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/sanitizer_common/sanitizer_common_syscalls.inc
ib/sanitizer_common/scripts/check_lint.sh
|
4aa08fae9b02ba9a0701fe27f58e2645d236798b |
22-Apr-2013 |
Bill Wendling <isanbard@gmail.com> |
Improve performance of file I/O. The fread / fwrite calls were happening for each timer. However, that could be pretty expensive for a large number of timers. Instead, read and write the timers in one call. This gives ~10% speedup in compilation time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179990 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
64544c1093e2a911af0df20c60bd16ff90b4018c |
19-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r179843: add missing header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179844 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/init-order-dlopen.cc
|
dfeef67b23ba92bbee598293164ee20078f633a1 |
19-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make init-order checker allow access to already initialized globals. This change adds ASan runtime option "strict-init-order" (off by default) that makes init-order checker bark if global initializer accesses any global from different translation unit (even if the latter is already initialized). strict init-order checking doesn't play well with, e.g. LLVM registration machineries, and causes issue https://code.google.com/p/address-sanitizer/issues/detail?id=178. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179843 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_globals.cc
ib/asan/asan_rtl.cc
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/SharedLibs/init-order-dlopen-so.cc
ib/asan/lit_tests/init-order-dlopen.cc
|
77330179d0c0fe876f3b89fca9a23c4504b1e692 |
19-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Allocate fd table in user heap instead of using internal allocator. We need this to catch races on fds. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179841 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.cc
|
99f1e2011a855edd3b1036660ec5e7b70aa06520 |
18-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rework r176802: share code between Printf and Report and simplify it a bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179755 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
e8a005f9aac3870f336b5949f7ff634e2b8a51da |
18-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't die in symbolizer if it can't read /proc/self/exe link git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179754 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
102c04325b454957c322f61c5a8033b720bc9238 |
16-Apr-2013 |
Andy Gibbs <andyg1001@hotmail.co.uk> |
Wrap macro invocations in braces to supress 'suggest braces around empty body in an ‘if’ statement' warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179597 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
3f5528b4112a6e63d4535c1804bee4ba310879e7 |
16-Apr-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Fix spelling in asan_rtl.cc Test commit. Reviewers: kcc, glider, samsonov Reviewed By: glider CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D676 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179595 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
b921bf231318e2deed7b06c1fd8d4027a65a844c |
16-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix gcc build of msan_test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179594 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
fa568969fea365a04591d029974b5c93e2cc9867 |
16-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Implement wait4 and waitpid syscall hooks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179592 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
6d0b7f6c41bed64419dd74a8daf83de5e9f54de9 |
15-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix sigaction test. Restore SIGPROF handler to the original state after the test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179524 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
e865045ad1c5d8191097cda4bdd2e4cd634d1fa2 |
15-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Really disable replacement new and delete. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179522 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_new_delete.cc
|
881b677c189e65872fd315a75a0e56f077339189 |
12-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add syscall handlers to ASan and TSan runtimes. ASan checks addressability of syscall arguments. TSan does nothing for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179380 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/lit_tests/Linux/syscalls.cc
ib/tsan/rtl/tsan_interceptors.cc
|
3ba4b90e89366e537b875cf9f54f370e0ece7007 |
12-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More syscall handler placeholders. This time it's the full list scavenged from syscalls.h Fixed return value type. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179378 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
40e16683f3fdf23dba20d9d0fc2eb00d562cc8df |
12-Apr-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Finally drop the 'static' from INLINE and ALWAYS_INLINE The ALWAYS_INLINE doesn't have static on POSIX anyways since r178341; the INLINE is only used in .h files, so shouldn't have been 'static' in the first place git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179371 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
f1faf5d58afbc5286d4d75361956ab6ee0938e1a |
12-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] Demangle function name in description of stack origin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179368 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_report.cc
|
d10d2d7bcbf03b1610e8382bfa4f165e246bde29 |
12-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] don't build tests with -fPIE/-pie, as these flags are implied by -fsanitize=memory now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179366 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/lit.cfg
ib/msan/tests/CMakeLists.txt
|
103f2586f0a45cbf44a08804a108d5ea4baa1577 |
12-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] remove -fPIE -pie from TSan lit tests to check that -fsanitize=thread implies them now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179365 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/lit.cfg
|
16cc10d9f4aeaec7e403102958dac475b08642ec |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] inline flags(), up to 1% perf gain on malloc-intensive code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179307 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
|
fecbf270853bda8aa6c14917fdfee840493a061b |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make heavy_uar_test even heavier git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179306 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/heavy_uar_test.cc
|
2a529adba0707d9b5977d47e884aef6b0be8c94f |
11-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Explicitly list all sanitizer headers in CMake build rules. Make sure sanitizer lit_tests depend on fresh headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179293 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
nclude/CMakeLists.txt
ib/asan/lit_tests/CMakeLists.txt
ib/msan/lit_tests/CMakeLists.txt
ib/tsan/lit_tests/CMakeLists.txt
ib/ubsan/lit_tests/CMakeLists.txt
|
71c9e9ebd85afdea5d0b56cdf9138fc5afc609cb |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] improve the UAR reporting (try harder to find the correct frame), try to make the test more stable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179292 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/lit_tests/Linux/heavy_uar_test.cc
|
2887a64cb7b82fc2dcbe4b1fcc33562077ec371a |
11-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Syscall hooks. Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed through public interface. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179288 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/linux_syscall_hooks.h
ib/msan/lit_tests/Linux/syscalls.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_syscalls.inc
|
37f9464fc0fa4df2acf04264c52ba542d0e3d3fb |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make heavy_uar_test a bit more heavy and fix he fake stack to pass this test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179286 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.h
ib/asan/lit_tests/Linux/heavy_uar_test.cc
|
61723f255b8e901e550a2e445fe500eeb283fe9b |
11-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] test source-based init-order blacklisting added in r179280 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179281 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Helpers/initialization-blacklist-extra2.cc
ib/asan/lit_tests/Helpers/initialization-blacklist.txt
ib/asan/lit_tests/initialization-blacklist.cc
|
ce0f7d13a6d2f1c141bc247aa75770cb88b38cb6 |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix use-after-return functionality (PR15672) and enable the corresponding test. We still don't guarantee anything with regard to use-after-return checking git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179278 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.h
ib/asan/lit_tests/Linux/heavy_uar_test.cc
|
22c1c18585f04957cbb7b90573e7acf8ed1c1ca7 |
11-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Symbolize correct address when printint error summary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179274 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
244384d1a8a518c0b1ceaa5809333a91db1104b6 |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] move fake stack into a separate .h file; actually disable a failing test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179273 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_fake_stack.h
ib/asan/asan_thread.h
ib/asan/lit_tests/Linux/heavy_uar_test.cc
|
2c02f6327f51243fc0ba17992cecb2857fa8bdf8 |
11-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add heavy_uar_test (disabled); fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179271 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/heavy_uar_test.cc
ib/asan/lit_tests/time_interceptor.cc
|
15832c2afc4f04fa558160441d1b01fb3f0ec08b |
10-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not check the shadow of NULL argument in the time() interceptor. Add a test for time(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179177 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/time_interceptor.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
dc0d17952a060731e47d056f8487d0744037f52e |
10-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] implement callbacks for unaligned loads/stores Reviewers: samsonov Reviewed By: samsonov CC: samsonov, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D652 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179175 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_poisoning.cc
ib/asan/lit_tests/unaligned_loads_and_stores.cc
|
f3f2f5ced1fa60dcec46f423297d5e651db8437f |
10-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix a typo in legend in error report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179161 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
897a4ae31f5c55255c78854b69b4cd4a4e3c7c39 |
09-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Interceptors for wait*. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179096 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/lit_tests/wait.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a1c2a5547d815a4ce116f04ebd3cef1716ab791c |
09-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept glob() with tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179091 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/glob.cc
ib/asan/lit_tests/Linux/glob_test_root/aa
ib/asan/lit_tests/Linux/glob_test_root/ab
ib/asan/lit_tests/Linux/glob_test_root/ba
ib/msan/lit_tests/Linux/glob.cc
ib/msan/lit_tests/Linux/glob_test_root/aa
ib/msan/lit_tests/Linux/glob_test_root/ab
ib/msan/lit_tests/Linux/glob_test_root/ba
ib/msan/lit_tests/Linux/lit.local.cfg
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
c9b626e27dc7555d649aae19c8caf4ddd21ea3a7 |
09-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run load_shared_lib test only in lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179090 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/tsan/lit_tests/test_output.sh
ib/tsan/rtl/Makefile.old
|
8a6cac57625f46e9e9a8977a518e8b92499d612f |
09-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] relax Linux/zero-base-shadow.cc to make it pass on newer Ubuntu; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179088 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/zero-base-shadow.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/tsan/lit_tests/load_shared_lib.cc
|
39fdce1e178196afbbe34d4530c621e58ebab0d4 |
08-Apr-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r179012: "[msan] Intercept glob()." This was committed without tests and contains obvious bugs. That's not acceptable. It broke address sanitizer for most programs using glob(3). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179054 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
c8feb2fee6dba5cbd1751ded5758910e230d9262 |
08-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsymbolized] If we can't find an address in the list of shared libraries, try to reload it. Add a regression test for the case where such behavior helps TSan: 1. race is reported in the main module 2. new shared library is loaded 3. race is reported in the shared library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179032 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/tsan/lit_tests/SharedLibs/lit.local.cfg
ib/tsan/lit_tests/SharedLibs/load_shared_lib-so.cc
ib/tsan/lit_tests/load_shared_lib.cc
|
134fe8ae5090d39aa2d37a5db5298e49467399c8 |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Interceptors for pipe2 and socketpair. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179022 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
6f4c197022901cd961d15a3e5f68eeaab5bcdffa |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept glob(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
cc24ec9da75581b1d9b5088950807af5ecc5179e |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[tsan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179008 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a2c1d98745a9e8e860948004423d0072424f48b7 |
08-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] Fix boundary condition in LargeMmapAllocator::GetBlockBegin. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179007 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
fef660506e9e5703fedfee01d614abd4b741c738 |
08-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept time(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179002 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
5ef2920d1f2e273f06e7dc512cbae5a9043ce21a |
05-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make huge_negative_hea_oob more meaningful git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178876 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/huge_negative_hea_oob.cc
|
d26a01e14a38a37c742fbd676efc99a6b7eea1e6 |
05-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test for huge left oob git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178874 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/huge_negative_hea_oob.cc
|
a27bdf70ca24202dce21cf7c1a387aeaa400d889 |
05-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178872 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_fake_stack.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_posix.cc
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/scripts/check_lint.sh
|
cd3049da150124156502b1a8c05e4c4887786cc5 |
05-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix sigaction interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178868 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
a897400cec0284763da5a6db4670fa0a64bbfcd9 |
05-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Conditionally disable new() and delete() wrappers. To be used with static libstdc++. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178866 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
|
a213ab66e1c743ec7a52af4a49ec6c126cc245ae |
05-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] A runtime option to disable wrapping of signal handlers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178865 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
|
48cab523ef7a35ec8417b3fef8d41cfd581590b3 |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] enquote the module name when passing it to external symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178864 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
|
ce184c8657d7ef3f165fd7561b8f6c06c4ecbe4d |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] init-order checker tests: move constexpr test that requires -std=c++11 to a separate test case. Check that structs with no ctor but non-trivial dtor are ignored. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178857 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Helpers/initialization-constexpr-extra.cc
ib/asan/lit_tests/Helpers/initialization-nobug-extra.cc
ib/asan/lit_tests/initialization-constexpr.cc
ib/asan/lit_tests/initialization-nobug.cc
|
10f3ab775088bec69dd9e7b611f9b4e152f629bc |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Remove InternalAlloc/InternalFree calls from StopTheWorld. Patch by Sergey Matveev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178855 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
7ed46ff7af911da0dd2067734d1408c6986c6657 |
05-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use a common mutex to prevent mixing reports from different sanitizers. This fixes PR15516 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178853 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_printf.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/ubsan/ubsan_diag.cc
|
6a7c51db8449fa948990501e65db4e71bf58e198 |
04-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Make path to FileCheck configurable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178760 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
b1971ca4a3057916ca90a733c672a08127d5fe67 |
04-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] nuke the old unused allocator code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178758 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_oob_test.cc
|
2a3619ecbb56e828090b4c40ece28550f68c94de |
04-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178757 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/malloc_fill.cc
ib/asan/lit_tests/use-after-poison.cc
|
4fb04a8445076debf51d220f75211584b89043c8 |
04-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Android lacks ucontext_t definition. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178756 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
072770202bb1002172abe9a4b1eeb7f2d2fb004f |
04-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Use ucontext_t instead of "struct ucontext". Fixes Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178755 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
06658ea68c4912fffafef6e65f36dce7faa4a174 |
04-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Unpoison siginfo_t and ucontext_t in signal handlers. Add wrappers for all user signal handlers to unpoison the handler's arguments. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178754 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
583025ddc52988cdcedb5dee57e0d66a0c586340 |
04-Apr-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] while doing fast unwinding make sure that the frame pointer is aligned; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178747 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
|
78b580f3d40132816f813c3dbf073d824137436a |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix OnPrint weak hook. Disable weak hooks for gotsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178640 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_printf.cc
|
8218584ec546574c1c10f3ad574c55d2d6210697 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Be more careful with arch-specific defines in StopTheWorld code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178630 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
649a270f5341efe9c57f473dbb78706b0b2ed523 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178629 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_new_delete.cc
ib/asan/asan_posix.cc
|
46f9395baf65e17f1a3f7a3a1deee72a1560ac53 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Kill the remainders of platform defines in favor of SANITIZER_ defines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178627 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
|
bb090b56ca283396f17b9a3ef2e8f00544a21385 |
03-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix StopTheWorld includes on Android. Patch by Sergey Matveev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178625 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
743d89d5de3b1b6964ffb11cd26e358010c31807 |
02-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Add the WTFAnnotateBenignRaceSized implementation and a test for WTFAnnotateBenignRaceSized and AnnotateBenignRaceSized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178534 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/benign_race.cc
ib/tsan/rtl/tsan_interface_ann.cc
|
e4bdda51b3469aa0f6ef6f6c4656419effa48038 |
01-Apr-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More interceptors. getpwnam, getpwuid, getpwnam_r, getpwuid_r, clock_getres, clock_gettime, clock_settime, getitimer, setitimer, sigaction (MSan). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178465 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
fd8726cae237495a8f63d12e6e026290fd5f4787 |
01-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Run the callback on a separate stack in StopTheWorld. Currently the callback runs on the caller's stack. If this stack contains values that have gone out of scope, and we are not super careful, those values can propagate into global variables (the libc sigaction() in particular has a side effect that can lead to this). This has caused false negatives in leak checking code. Changes: map a separate stack space for the tracer thread. Also, move some globals into local scope (they had no business being global anyway). Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178464 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
e5b398f7aba39c4ac04d1e8a0d08cdede3b14b59 |
01-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Added data() and capacity() getters to InternalVector. Same interface as in STL. Needed for LSan. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178463 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
|
53c18d7e051c7dfe3cc8a2351e6ee67a264dbb51 |
01-Apr-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Add register dumping support to SuspendedThreadsList. An interface for obtaining register contexts from suspended threads. Tailored for LSan use. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178461 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld.h
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
939316c822cc46e62684464eecd5cb2cefcf41c5 |
01-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] More careful reports for globals that are ASCII strings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178458 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/lit_tests/global-demangle.cc
|
fd0a789ee62ec37430515dee4bce1e7ced68bb55 |
01-Apr-2013 |
Michael Gottesman <mgottesman@apple.com> |
Change the cmake variable COMPILER_RT_CAN_EXECUTE_TESTS to be an option so that it can overwritten. The reason why this simple change is needed is that I am trying to set up a quick cmake/ninja based buildbot and apple-clang does not support using the sanitizers currently. The default behavior follows exactly what was there before implying that no ones builds should be affected at all. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178455 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
d475aa8578f4a1955cdb3e3159eda8b229f8c021 |
29-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] restore performance critical inlining in tsan: remove static from ALWAYS_INLINE, use ALWAYS_INLINE USED for critical functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178341 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_rtl.cc
|
76030b30c53e7003b17c85f2bbbca976da63bbe1 |
29-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[TSan] Build TSan runtime with -fPIE. This removes all register spills from the performance-critical __tsan_{read,write}{1,2,4,8} functions when the host compiler is GCC. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178340 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/CMakeLists.txt
|
f5225d5f82525abad202997ffce19dfc3023c5ed |
29-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Put COMMON_CFLAGS/COMMON_CXXFLAGS before Tmp.CFLAGS to let the config-specific flags override common flags. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178339 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
96950030d58582acbd13939916dc2e507304b7e2 |
29-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178336 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
|
43c36e4b055f348d6076e6da44f9cd3e4399568f |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Band-aid fix for the TSan RTL build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178298 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
66b4a28651f3930750ab8cba1916f575fff50215 |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178296 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
b157c67e17c3fc8805c8b7cb590668885680608f |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Remove all 'static' before ALWAYS_INLINE git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178290 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/tsan/rtl/tsan_interceptors.cc
|
abfdbdf5bc7e9d202652fe061acd20c14a4d22f4 |
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178266 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_poisoning.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_rtl.h
|
0fd908cf5a555483633e2d9703932bde18009682 |
28-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: print statistics about benign race annotations (total count, unique, matched) if requested with print_benign=1 flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178245 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
|
7e8434940a1fe7dce531d4c458ccd714da48f609 |
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Speed-up initialization-order checking: create and use fast versions of PoisonShadow functions, store copies of __asan_global descriptors in a vector instead of list of pointers. This gives 3x speedup on both benchmarks and real binaries with lots of globals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178239 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_fake_stack.cc
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_poisoning.cc
ib/asan/asan_poisoning.h
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
|
ca280f2809eea49ac90860a5827c81dd09c65cdb |
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Minor enhancements in InternalVector container git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178238 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
|
7acbcb9c03df03d80e9ff65c84e71e6942c70ddc |
28-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] a test checking that memset/memcpy/memmove are not inlined in tsan mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178231 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/inlined_memcpy_race.cc
|
6e7dca77e5e28ba4411edeadc2cfb7a4e296cef6 |
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix unmatching ASan runtime flag for init-order checking exposed by r178158. Add a test for r178158. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178229 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/tests/sanitizer_flags_test.cc
|
83b47072ff373766b8f424e31c278cfa31ab46a3 |
28-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] don't use -fno-builtin for tests; add a test for a false negative bug (inlined memcpy is not instrumented) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178228 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/inlined_memcpy_race.cc
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/test_output.sh
|
c446611d505593bb8e79ea98df87479e24cce68b |
28-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
compiler-rt part of r178194. Remove ubsan test for diagnostic on inf/nan conversion between floating-point types. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178195 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Float/cast-overflow.cpp
|
f754eb501d6bd163fff6747716b7703fe45be4b8 |
27-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: print matched suppressions if print_suppressions=1 flag is provided git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178159 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
|
5d834a85bb239abf962995290e6fd71115ecb38c |
27-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better flag parsing: do not confuse flag that is a part of another flag (e.g. suppressions and print_suppressions) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178158 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_flags.cc
|
b443a65bd65d5c2c6090ed0537382b1ade1dbbb9 |
27-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178157 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_procmaps.h
|
c9424276474a27bd7b6ae59e771371f850a08ba1 |
27-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Demangle global names in error reports. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178131 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/lit_tests/global-demangle.cc
|
f778ae53f025fa89874e303a8ff6f254eead31a0 |
27-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Fixup for r178128: verify that TSan indeed doesn't report race git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178129 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/aligned_vs_unaligned_race.cc
|
f3798f5c5152ae9fcfec0a583efa46b7f5b82759 |
27-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Run test output through FileCheck git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178128 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/aligned_vs_unaligned_race.cc
|
05e16a028d26503153a8fe512a500676cad66031 |
26-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Change the ABI of __asan_before_dynamic_init function: now it takes pointer to private string with module name. This string serves as a unique module ID in ASan runtime. compiler-rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178014 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_interface_internal.h
ib/asan/asan_rtl.cc
|
09a19b221bc60863bc10f1aad1d210ce9999990c |
26-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Fix the Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_procmaps.h
|
0f2cf8a4f807cefb54e6cffa5193c08e0babc1fb |
26-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] make memcpy_race.cc test immune to memcpy inlining git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178011 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/memcpy_race.cc
|
be52366ff2500f11133fd6089f349e93bd5f4822 |
26-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: move strcasecmp() interceptor to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178010 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
1700fd368edc7c52281231a8ddb898f1abf185d2 |
26-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: change SANITIZER_GO to more general SANITIZER_SUPPORTS_WEAK_HOOKS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178009 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
9ae2883d88dd28b9c5dc862107e6e6d12a35926e |
26-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Unmapping the old cache partially invalidates the memory layout, so add a flag to skip cache update for cases when that's unacceptable (e.g. lsan). Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178000 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/tsan/rtl/tsan_platform_linux.cc
|
b037f754eb43ddd2c5401ff7c7b212b57f8f4eb6 |
26-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Disable atomic_test on Android, where it crashes Clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177998 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_atomic_test.cc
|
5b1b9ce0ccaef0f6c38383d5208963fe1bd714b0 |
26-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] add a test for aligned-vs-unaligned race (tsan's false negative) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177996 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/aligned_vs_unaligned_race.cc
|
a89a35acf3004de3e39f1074b8620fb3c423d41f |
26-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] print thread number while reporting invalid-free and double-free; add tests; also add a test for use-after-poison git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177993 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/lit_tests/double-free.cc
ib/asan/lit_tests/invalid-free.cc
ib/asan/lit_tests/use-after-poison.cc
|
2c969875d823989d401c7de96e310412806ee1ef |
25-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Add a GetTid() implementation for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177927 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
4df99d2565a29889ca23a7cc11ed73e3c055b751 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Add basic support for building profile compiler-rt library in CMake build on Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177870 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/profile/CMakeLists.txt
|
bff55c4fbebd1f8f64693dea8118d9ee0979d563 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use dynamic symbol table when checking exported ASan runtime symbols git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177868 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/Linux/interface_symbols_linux.c
|
13f62b2cdaa09376e917a1efd0b1dd3d23bbff8d |
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: add Printf/Report hook The hook can be overriden in frontend to print to e.g. a file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177864 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
39cbb56fb3ba2af53e537107862c51f1dd252150 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] mark local function as static git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177862 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
|
e374e4ece521692173aad355420d03e1b2cd819a |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Compile sanitizer runtimes with -Wno-non-virtual-dtor. Virtual dtors may be a problem for us, as sanitizer runtime should not generally assume libstdc++ presence. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177860 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
|
f58a1ea0483690df5faa93bbde8d4301170c542d |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Build TSan unit tests with the same compile flags as TSan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177859 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/tests/CMakeLists.txt
|
8b30c254a63a7421dd81d13dee086a54c4ca134b |
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept setjmp/longjmp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177858 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/longjmp.cc
ib/tsan/lit_tests/longjmp2.cc
ib/tsan/lit_tests/longjmp3.cc
ib/tsan/lit_tests/longjmp4.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_amd64.S
ib/tsan/rtl/tsan_vector.h
|
b152b1f1411f47848037ab5120c142cf28a9d487 |
25-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add SetEnv() function that can be used in frontends git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177857 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
|
b975c8abce50e513d9e168b24692fa9310e32aed |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] First effort to implement atomic_compare_exchange for 1-byte vars on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177854 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
d264ca0436d7e881b28a43dc7e008d1889cd12b2 |
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add basic test for atomic_compare_exchange implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177851 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_clang.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_atomic_test.cc
|
a06fe9183fbffb78798a444da9bc3040fdd444aa |
23-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Build and install .syms files alongside sanitizer runtimes. These are used to specify which symbols are exported to DSOs when the sanitizer is statically linked into a binary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177784 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
ib/asan/CMakeLists.txt
ib/asan/asan.syms
ib/msan/CMakeLists.txt
ib/msan/msan.syms
ib/tsan/rtl/CMakeLists.txt
ib/tsan/rtl/tsan.syms
ib/ubsan/CMakeLists.txt
ib/ubsan/ubsan.syms
|
a05af3d0f2417cd6516460a46d0381a7345a5837 |
22-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Revert 177745 as it was incorrect git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177746 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
c27d326427a96233aa2b594c73bda108f5a641f4 |
22-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Band-aid fix for the Windows build caused by r177710. Long-term, atomic_compare_exchange_strong should be a template on Windows too... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177745 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
7423c7821ff30043def78c6cbb257bd2f4d9eef6 |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: return 0 on malloc() failure instead of crashing git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177741 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/malloc_overflow.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
|
6c503b9c7b0ad08fba74dbed309447d75de9a157 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Handle dlopen() failure in dlopen interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177728 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
40447521d4ddf0caf2777fe1305cbf849fff106a |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: test that tsan explicitly says "race on vptr". Requires llvm r177717. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177726 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/vptr_harmful_race2.cc
|
50f3daa00d3da0a80c8798a3e977705e96ec106f |
22-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] Change the way we report the alloca frame on stack-buff-overflow. Before: the function name was stored by the compiler as a constant string and the run-time was printing it. Now: the PC is stored instead and the run-time prints the full symbolized frame. This adds a couple of instructions into every function with non-empty stack frame, but also reduces the binary size because we store less strings (I saw 2% size reduction). This change bumps the asan ABI version to v3. compiler-rt part, llvm part will follow. Example of report (now): ==31711==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fffa77cf1c5 at pc 0x41feb0 bp 0x7fffa77cefb0 sp 0x7fffa77cefa8 READ of size 1 at 0x7fffa77cf1c5 thread T0 #0 0x41feaf in Frame0(int, char*, char*, char*) stack-oob-frames.cc:20 #1 0x41f7ff in Frame1(int, char*, char*) stack-oob-frames.cc:24 #2 0x41f477 in Frame2(int, char*) stack-oob-frames.cc:28 #3 0x41f194 in Frame3(int) stack-oob-frames.cc:32 #4 0x41eee0 in main stack-oob-frames.cc:38 #5 0x7f0c5566f76c (/lib/x86_64-linux-gnu/libc.so.6+0x2176c) #6 0x41eb1c (/usr/local/google/kcc/llvm_cmake/a.out+0x41eb1c) Address 0x7fffa77cf1c5 is located in stack of thread T0 at offset 293 in frame #0 0x41f87f in Frame0(int, char*, char*, char*) stack-oob-frames.cc:12 <<<<<<<<<<<<<< this is new This frame has 6 object(s): [32, 36) 'frame.addr' [96, 104) 'a.addr' [160, 168) 'b.addr' [224, 232) 'c.addr' [288, 292) 's' [352, 360) 'd' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177723 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface_internal.h
ib/asan/asan_report.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/lit_tests/Linux/zero-base-shadow.cc
ib/asan/lit_tests/stack-frame-demangle.cc
ib/asan/lit_tests/stack-oob-frames.cc
ib/asan/lit_tests/stack-overflow.cc
ib/asan/lit_tests/use-after-scope-inlined.cc
ib/asan/tests/asan_test.cc
|
6e5ff89e8980b7c2ca0a39811433fb7ac2c74372 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Move test main and gtest include to separate files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177718 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/CMakeLists.txt
ib/msan/tests/msan_test.cc
ib/msan/tests/msan_test_config.h
ib/msan/tests/msan_test_main.cc
|
86b5722bf955261c0f43caae9b8d0ea6faa05055 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Place dlopen in an anon namespace. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177716 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
1471220c705acbdd9ba0dc624ad364299658982a |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: work around FileCheck bug with empty outputs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177715 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/thread_leak4.c
|
2ecccf8aca0f3f67d43e6395699aab0bb19ee277 |
22-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Get rid of "using std::string" in msandr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177714 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/msandr.cc
|
dfe3f9691d4700981566a4b57e1e482f72783950 |
22-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix-up for r177634 on Windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177711 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
7dd282c0c7d3ca32ee94092289bd802e16fe9867 |
22-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix an error on invalid deallocation in ASan allocator. When ASan checks if memory freed by user was indeed previously allocated, it first does an atomic write to presumed location of chunk header. This is wrong, as if the free is invalid, we may overwrite some valuable data (like other fields of the chunk header). Fix this by using atomic_compare_exchange instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177710 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_test.cc
|
195369bb7f59896487c4542716ca9c5d53975e78 |
22-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix lint warning about line length git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177709 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
|
ec7962d874159f02ad9b1657b627ceb53fea55ab |
22-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Pass floating-point arguments to the runtime by value if they fit the value argument. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177689 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_value.cc
ib/ubsan/ubsan_value.h
|
3f814987cee8310083cb4a5cfb1a3850f9a067a1 |
22-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Don't forget to link in the C++-specific parts of the ubsan runtime when using the Makefile build system on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177684 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
4536cb1fa7734133f404acb413589d7a6d314f4a |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better reporting of thread leaks 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177647 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/thread_leak3.c
ib/tsan/lit_tests/thread_leak4.c
ib/tsan/lit_tests/thread_leak5.c
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
0dc47b652dfbe0d61d153eded02bae9487a7b539 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better reporting for races on vptr explicitly say "ctor/dtor vs virtual call" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177640 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/vptr_harmful_race.cc
ib/tsan/lit_tests/vptr_harmful_race2.cc
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_interface_inl.h
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
f63dde3594da0dba4c8039f0cb3a4196a76f1aff |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to control symbolizer flush frequency git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177638 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl.cc
|
5043f05a633b8d2f19ebd3dda961408c69473718 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept abort() to fflush() libc streams git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177637 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
f465bdec3f1a35374be36ed25dd992cb2bb056c0 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove bogus CHECK Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177636 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
def1be9b7ef4091ce465c0fbfb26cdb52128ade8 |
21-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177634 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_allocator.cc
ib/asan/asan_allocator2.cc
ib/asan/asan_fake_stack.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/asan/asan_stats.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
a38e40fde45acccb124f7419ecbe21ef6cfd306b |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flush symbolizer cache if not symbolized for more than 5 seconds git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177629 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
4219ea38d733f73c96c8740777ee0bb7061cbe0f |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a comment about magic numbers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177628 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
4bebe7bab966c82f0a8952f797ed3d490624dc62 |
21-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use a single background thread for memory profiler and memory flush (and later for symbolizer flush) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177627 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/tsan/rtl/tsan_rtl.cc
|
06743c2886fc26a7363ac7114c2f9b6620f63071 |
20-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable prctl interceptor on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177497 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
f4322698581422a84c4cf300ad12de9cecd0673d |
21-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Per discussion on cxx-abi-dev, switch from comparing type_info objects to comparing type_info names, since the latter have better uniqueness guarantees in practice. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177618 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_type_hash.cc
|
3e587a4f631c1b7338d4f2a29df74b704b8bb1ca |
21-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Split ubsan runtime into three pieces (compiler-rt part): * libclang_rt-san-* is sanitizer_common, and is linked in only if no other sanitizer runtime is present. * libclang_rt-ubsan-* is the piece of the runtime which doesn't depend on a C++ ABI library, and is always linked in. * libclang_rt-ubsan_cxx-* is the piece of the runtime which depends on a C++ ABI library, and is only linked in when linking a C++ binary. The Darwin ubsan runtime is unchanged. For more details, see Clang change r177605. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177606 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/ubsan/CMakeLists.txt
ib/ubsan/Makefile.mk
ake/platform/clang_linux.mk
|
edcb288a81c4e6abd6537342295750d9d1223349 |
21-Mar-2013 |
Bill Wendling <isanbard@gmail.com> |
Add declaration for linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177601 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/linux/usr/include/stdlib.h
|
84b46d300c7a4f1c3ea4e452791de7733ce0d143 |
20-Mar-2013 |
Bill Wendling <isanbard@gmail.com> |
Create a coverage initialization function. This function replaces the call of `atexit' from being generated in the compile units. Basically, it registers the "writeout" and "flush" functions (if present). It will generate calls to the `atexit' function for cleanups and final writeout functions, but only once. This is better than checking for `main', because a library may not have a `main' function in it. <rdar://problem/12439551> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177578 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/stdlib.h
ib/profile/GCDAProfiling.c
|
236a098869e35b29e938cbb7bd98d8d5b656d47f |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: correct sizes of signal-related data structures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177526 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
423bd20bdca374fcb62a5d16040b6e6133798d56 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing stat descriptions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177523 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_stat.cc
|
0ebfc6fb9ba161e994dfd1c3ce898b0895d83c33 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: call fflush(0) on exit again git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177522 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
ae4cf313552e707c4a21116ef67c4f389a442aa6 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reduce size of mutexsets from 64 to 16 mutexes overflow is handled anyway saves memory because each thread holds 1024 mutexsets git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177520 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_lock.cc
ib/tsan/rtl/tsan_mutexset.h
|
cab13157ffa88ab123f2a653b9affdc8cb73bcd9 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix incorrect test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177519 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/tests/unit/tsan_mutexset_test.cc
|
82dbc5195ceedba0e1a9aab92d436614cc4b7ff9 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: special handling of .rodata (don't try to find races, don't keep shadow, dont' put into traces) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177517 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
286c914d37d28df611ae083cac40148cf2622ee7 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177513 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
9743d74426ae43898e4da55e591b09be18f8aa6e |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move trace header into 0x600000000000 range eliminat thread "dead info" altogether git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177512 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
6d6ab9eeea4a99370d7ab18ce80eb96091e2cf3f |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add internal_unlink() function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177510 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
|
c25e62b0cdbca855e7611583b0ff7013c31db21d |
20-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move malloc stats collection away from AsanThreadRegistry class. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177508 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator2.cc
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_stats.cc
ib/asan/asan_stats.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
4b450f46cac42d473ffa4ff2d8d1395706b9c934 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: reduce per-thread memory allocator caches 256 blocks (which is 512 in reallity) seems to be too big cache, reducing the size reduces memory consumption but does not degrade performance. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177502 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
89c1384464848c1ad041becf8b97936fa10de21b |
20-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move GetCurrentThread/SetCurrentThread from AsanThreadRegistry class into plain functions: they don't actually use registry git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177501 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator2.cc
ib/asan/asan_fake_stack.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_linux.cc
ib/asan/asan_posix.cc
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
4ff1f6023ac2f34acea54387998c6fa972aa03b8 |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix flaky test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177500 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/mutexset7.cc
|
0602fc9c7d8bf91e80ce962d7ea655f6342abe1b |
20-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix incorrect test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177499 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_rwlock.cc
|
a548059b6462f273072006f87bc9d32065d2c39e |
20-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable prctl interceptor on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177497 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
dd3a5ecd1b9296f0cc3aa46e9bce2f6bdbbaa660 |
20-Mar-2013 |
Stephen Hines <srhines@google.com> |
Updated compiler-rt for merge to r177337. Change-Id: I42fec5dc95b44aad45a60f612f9bc3ba2de1cf4b
EADME.android
|
eb98c4da7c02ada2be365518931613b44fc06b18 |
20-Mar-2013 |
Stephen Hines <srhines@google.com> |
Merge branch 'upstream' into merge_2012_03_18 Change-Id: I45a9f74b42eae6a1fe5320a46a3a562eee0a8357
|
c533304a95fbed444ea02f5f9e7c6e37debd1c43 |
19-Mar-2013 |
Bill Wendling <isanbard@gmail.com> |
Add a way to register and execute "writeout" functions. It may be prohibitively expensive to write out >1000 files at the same time. So we would rather emit them serially. These functions allow the GCOV implementation to register the functions that writeout the GCOV information per compile unit. At exit, they are written. <rdar://problem/12439551> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177436 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
e1ba0009d5be18d513ffd29c1b6fccea1a3bffa0 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] s/ASAN_POSIX/SANITIZER_POSIX/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177407 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
30e110edf92303237d471f1cb8e3ad07954fb145 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More renamed macros. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177401 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
|
24e13723f8477d8c42ab8b2a7f4f69fc089842f1 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Replace more platform checks with SANITIZER_ constants. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177400 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_new_delete.cc
ib/asan/asan_posix.cc
ib/asan/asan_preinit.cc
ib/asan/asan_stack.cc
ib/asan/asan_win.cc
ib/msan/msan_linux.cc
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_placement_new.h
ib/sanitizer_common/sanitizer_platform.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/lit_tests/thread_name.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
|
83cb7877f608eb9b3d65981095216842f686c527 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move ASan platform macros to sanitizer_common and rename them appropriately. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177397 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_mapping.h
ib/asan/asan_new_delete.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread_registry.cc
ib/sanitizer_common/sanitizer_internal_defs.h
|
e75628e9e9bba6c65b067372d381d9e03560923a |
19-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Don't use --sysroot to linux SDK when building libprofile - SDK on Linux seems to be incomplete. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177396 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/CMakeLists.txt
|
3347dcbe78953a40462d5b5351137a8df4d9f993 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177395 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
|
ce85e03620f64ce7e4cd0598f2e93090f52a9e99 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flush dead thread info earlier (when another thread is finished rather than new thread is created) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177394 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
8e1c769ed84f4d5cf23904dee1abeec6f125f1ac |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: instruct malloc() to consume less memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177393 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
723e24f768f5b32c38283ee8d2c4219267af2b4d |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: symbolizer "flush caches" support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177389 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_symbolize.cc
ib/tsan/rtl/tsan_symbolize.h
|
7fac284c9d3aab4c28b422315731b12a5af9fc4e |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: symbolizer "flush caches" functinality git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177388 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
b186c1905d471243cf2981ca754397bc16976392 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix memory leak git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177387 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_thread.cc
|
609a02ad07f09147e2fe7beaa257b8c607aca033 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Avoid use of uintptr_t. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177384 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
b9bf700ae7fe59e25976e0abe9636150f3a39cd2 |
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Don't adjust the size of the user-allocated stack. Moved this code to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177383 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/tsan/rtl/tsan_interceptors.cc
|
c9de451e97b85e9712939ac2bfb02295645e2e0f |
19-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
Support CMake build of profile runtime library on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177382 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/profile/CMakeLists.txt
|
210ce0ee0190170ca6fab6f5d953885ce5f9ac89 |
19-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not allocate sync vars on relaxed atomic operations helps to reduce memory consumption if an atomic is used only with relaxed ops (stats) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177381 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
e20fa5c8c1788274da187ab1dfb8f110376d037d |
19-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Update ubsan test for clang change r177362. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177363 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Float/cast-overflow.cpp
|
a539183bf29a42ae584244106e48c99c6630e8cd |
18-Mar-2013 |
Bill Wendling <isanbard@gmail.com> |
Add some GCOV functions that register all of the __llvm_gcov_flush() functions. The __llvm_gcov_flush() functions only work for the local compile unit. However, when __gcov_flush() is called, the user expects all of the counters to be flushed, not just the ones in the current compile unit. This adds some library functions that register the flush functions. It also defined __gcov_flush() so that loops through that list and calls the functions. PR15191 & <rdar://problem/13167507> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177337 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
f51c3860ce0a1ae81d0dc9da27db0693718db18e |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: smaller memory block headers (32b->16b) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177312 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/tests/unit/tsan_mman_test.cc
|
3ce21701b4e1026a4f5157ff9771c533f4e3ef55 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add support for idle threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177292 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
|
74172de3ce25bf52d9d3918c94216f2eef5956e2 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: touch less shadow memory during operations on big memory ranges greatly reduces memory consumption git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177289 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
7ac33ac529ff93a57419f5ddf71b1fde68428577 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: mark shadow for thread stack as "don't need" when thread exits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177288 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
5d72fc796f21fb9714722e0006d72213fb300688 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better memory profiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177286 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
|
ac1f5cafad90d902056f458ce5aec27b87260a52 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: madvise(DONTNEED) shadow memory on munmap() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177278 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
18ec84c543243310a8ca3e64a1d851bc43e5fa39 |
18-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make the __asan_get_heap_size more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177270 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
|
e93e5057023de89f1bad5de609efac39efc5da73 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move implementation out of h file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177269 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.h
|
6af642eaf764434ac6f28f242e7f081156bce9e3 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix clang -Wall build Clang does not like classes with virtual functions but w/o virtual dtor. Go does not like libstdc++ (operator delete). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177267 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
036f9336f7cc7e755287a317f71a7bec7534a7f7 |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] re-apply r177249 lost in edits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177265 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_thread.cc
|
00545a3625aaa765eef2da9b3e197a0e00e94550 |
18-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Switch to allocator2 on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177263 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/tests/asan_test.cc
|
46b4a861a5903ca8c92916b25257b3b0a7f8bf39 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix memory leak git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177262 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_thread.cc
|
2c5284e0f87e101e177a151fae5f557bcf6f664c |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use StackDepot for thread creation stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177261 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
491852ecf05d927cf543292ded98dcc545799b4d |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177260 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_thread_registry.h
ib/tsan/go/buildgo.sh
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
3abf531bc72da7e56bccd84f3c90f25fc837b30b |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use StackDepot in sync object to store creation stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177258 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
|
49960be4dd7c038b26784cee046cc6637e32dc57 |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix huge stack frames git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177255 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
60c9f441255211f17c4d355ead94392ba1841355 |
18-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] while generating the description of a global variable, emit the module name in a separate field, thus not duplicating this information if every description. This decreases the binary size (observed up to 3%). https://code.google.com/p/address-sanitizer/issues/detail?id=168 . This changes the asan API version. compiler-rt part, llvm-part will follow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177253 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface_internal.h
ib/asan/asan_report.cc
|
5efb53ed40eeab7bc6c361c0825608fc97322e1d |
18-Mar-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177251 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_stoptheworld_test.cc
|
ffa4e08ab009e38ab1bf9dadf49628a9e8492ea0 |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix undefined variable in debug TSan build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177249 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_thread.cc
|
df2ca17ae60fc2116a32fc201deb704e1c8b2114 |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use ThreadRegistry::FindThreadContextLocked() to find thread by its stack/tls address. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177248 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
5c889362bb5bc57288ab84e7859774b42c6bb5de |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Makefiles: allow configurable paths to clang and FileCheck. Add -fno-rtti flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177247 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/lit_tests/test_output.sh
ib/tsan/rtl/Makefile.old
|
6d036065e2ba85d9ad2a141596693b026f7ebbcc |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Get rid of global mutexes in StopTheWorld implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177246 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stoptheworld.h
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
|
5d177a0d5973e863781b1262ece49a5e3325ecab |
18-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rely on template argument deduction in sanitizer_allocator_test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177245 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
3614c16084e8a0dc8ae3418402a2d0c6f8107e39 |
15-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] StopTheWorld in sanitizer_common StopTheWorld puts the process in a suspended state before running the user-supplied callback. To be used in TSan and in leak checking code. Linux implementation provided. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177156 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stoptheworld.h
ib/sanitizer_common/sanitizer_stoptheworld_linux.cc
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_stoptheworld_test.cc
ib/sanitizer_common/tests/sanitizer_stoptheworld_testlib.cc
|
ff5d1fcdd74036fa15d96fafd487397ebf5f202e |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't intercept frexpf and frexpl on Windows. Add frexp declaration to asan_intercepted_functions.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177155 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
2bbd8bec77c2fdb41c5f5b6cb0d83d22bc576650 |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177154 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
a82ca9142c30be8255f5a4dfa596df9304b20dbd |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't link tests with -lpthread on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177151 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
|
6c876e428923295706f63fee68ef35d2f0fbaec5 |
15-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix gcc build warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177149 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
300f9534eeed62339eb8b73722d4142c60238ffc |
15-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] Add ForEachChunk() to sanitizer allocators. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177147 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
6ef35e15b1c499be25f80f5983a4d506f14f8948 |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Generalize compile/link flags for sanitizer_common tests on Android and on other platforms. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177146 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
|
116c8029f506b074a8b9c83605b14ac4bf0259c6 |
15-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build sanitizer_common tests w/o RTTI. Move ThreadRegistry class members below methods. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177143 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_thread_registry.h
ib/sanitizer_common/tests/CMakeLists.txt
|
c7bc60cd4bfe21868aacd8a87b13590b314ed330 |
15-Mar-2013 |
Eric Christopher <echristo@gmail.com> |
Fix a virtual destructor warning. Patch by Manuel Klimek! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177132 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
|
827d4ef8b76760ef8c58612d916b8f53081bf368 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix compiler warnings and style issues in sanitizer_common tests. Use -Werror=sign-compare when building them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177077 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_linux_test.cc
ib/sanitizer_common/tests/sanitizer_thread_registry_test.cc
|
6d429cda69b7ccc007ee368a73a6040c6b125afb |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add generic ThreadRegistry class for sanitizer runtimes. This class holds basic thread bookkeeping logic and allows specific sanitizer runtimes to create thread contexts and mark threads as created/running/joined etc. The class is based on the way we currently store thread contexts in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177074 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_thread_registry.cc
ib/sanitizer_common/sanitizer_thread_registry.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_thread_registry_test.cc
|
93af5948d3e0c5bdc396f432dd0ae782f499c449 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add default constructor for BlockingMutex git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177072 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/sanitizer_win.cc
|
e4cded90e63cfe6c59d438dec63b6665f774ac16 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] No dirent64 on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177071 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
2be1e7f88e3bf7c0e347a4fb25bcba8647e06ec1 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build sanitizer_common with -fno-rtti git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177070 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
|
d39a34ee33aae73fdde065f784bdc19f67b91ae2 |
14-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] remove one redundant malloc stress test, unify the usage of ASAN_LOW_MEMORY macro in tests, slightly reduce test memory usage (all to make 32-bit runs consume less RAM) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177069 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_config.h
ib/sanitizer_common/sanitizer_allocator.h
|
3d048541c6fd5a52217707ec9799489100dd7c98 |
14-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] fixed a bug in ThreadLister tests where we forgot to terminate one thread Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177068 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
e4af4d280729da44d03576dac0bb903901a7caec |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Add changes missing from r177065. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177067 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
d97a15a931ae6696a1071e1471c9a019e821904b |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept readdir64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177065 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/readdir64.cc
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
c1b3c5293f12f932615b1545555ba002f321d04c |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove -fsanitize=init-order from lit tests as now it's implied by -fsanitize=address git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177064 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/initialization-bug.cc
|
32602c528aad37f3e37c83b9a638740eb18e30f5 |
14-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[libsanitizer] Fixed incorrect handling of pre-existing threads in ThreadLister test. Also, extended the test to check that ThreadLister::Reset() works as intended. Patch by Sergey Matveev (earthdok@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177060 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
1d21bd159c3830dd7a6c05854408442d91a336ad |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix a typo in test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
566c0a1f1c584c00deaed6fafb5d65abd32e1aca |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] turn off checking initialization order in ASan runtime by default. Instead, it should be turned on by default in the compiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177058 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/initialization-blacklist.cc
ib/asan/lit_tests/initialization-bug.cc
ib/asan/lit_tests/initialization-nobug.cc
|
58b52b5efb7641b27c1728be0946889f335d83e1 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Options for switching between fast and cfi unwinders in run time. Does not change default behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177057 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_flags.h
|
7cbbb2943527ff852bdace822c8592cfc7e450d7 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept frexp and friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177056 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a3ab1927a8b86536dc29ccaaa49ca65920028224 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix compilation for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177054 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
8aa1ae03e339ee9365c05dcf831f59b3a817bd84 |
14-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Intercept __strdup, strndup, __strndup. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177052 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/c-strdup.c
ib/msan/lit_tests/lit.cfg
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
1ef94b160c12a2db63daf63af8ab6e1eb2f3cb7c |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Write a slightly better implementation of GetEnv() function on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177051 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
1a25379bd42f42759cb89bc8698477c3e6bd418b |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make ASan assume ASAN_OPTIONS=symbolize=1 if ASAN_EXTERNAL_SYMBOLIZER is defined git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177036 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
47a0f6edc48eb6dc46b2e1f203d6783fd7e07505 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add missing header inclusion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177013 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
f110e356170fbe990b99c0939d77eeaa89b25497 |
14-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use __sanitizer_pthread_attr_t in TSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
7a53bca1db2adfb22c9e830f3e91833214b12663 |
13-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] Clean up extensions during msandr shutdown Otherwise debug DynamoRIO complains at us for leaking memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176947 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msandr/msandr.cc
|
0ecc4379bbb04f1d03ceb58f6a0751790fb17c75 |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176943 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
a7e5db966299a50c0e68cf9d35e1130b6c024c94 |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build ASan, TSan and MSan runtimes with -fno-rtti. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176940 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/msan/CMakeLists.txt
ib/tsan/CMakeLists.txt
ake/platform/clang_darwin.mk
ake/platform/clang_linux.mk
|
10fd3227546d17c7411241a45ebc143b2031c78d |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Increase stack size as required. Adjust stack size in pthread_attr_t when the app-requested size does not fit MSan TLS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176939 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
b114ed83859d8d4964ac2284584733bcd2acf4f6 |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move GetTlsSize code from TSan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176938 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/CMakeLists.txt
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
|
87c8bb96ddfd601e679a1acfe1a3d489993644b0 |
13-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Break a >80 char line. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176937 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
4a1a495f29b63d44e012f6edcee6307ddac253ef |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fixup for r176931 for Mac and Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176935 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_procmaps.h
|
ab11e0b10d077945a6e681766b41e12ac6aeb0f0 |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix a typo in function name git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176932 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
45717c9d5e39a434749ae10509111f9df1b2cdf4 |
13-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Change MemoryMappingLayout methods to also report memory protection flags (for future use in leak checker). Patch by Sergey Matveev. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176931 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/tsan/rtl/tsan_platform_linux.cc
|
af9297b9be5e8993326c87ed32e44a8d2a5d7598 |
12-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use 4Tb of address space for the asan allocator instead of 1Tb. This increases the memory available for a single size class from 16Gb to 64Gb. The total VM footprint becomes 20Tb git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176857 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
f2c417c3b7d7a11f1f6f20edca08af2cb1fad142 |
12-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] use fewer size classes in the allocator to reduce the memory footprint. There is no all-size-fits-all constant here, but this change is positive or neutral on several large apps I've tested git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176855 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
4c49cca6f251340d896789551ee5193827b8f204 |
12-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Use sptr instead of ptrdiff_t. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176854 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_linux.cc
|
7811b4afded19781f940a733d6c64201e5f4b987 |
12-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] simplify the allocator's SizeClassMap: do not require an extra template parameter, instead compute it in flight. No functionality change git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176853 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
0f92deb81207c80481ff0257fbaba640fe669633 |
11-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] intercept dlopen and clear shadow for it Summary: The loader does not call mmap() through the PLT because it has to bootstrap the process before libc is present. Hooking dlopen() isn't enough either because the loader runs module initializers before returning, and they could run arbitrary msan instrumented code. If msandr is present, then we can intercept the mmaps from dlopen at the syscall layer and clear the shadow there. If msandr is missing, we clear the shadow after dlopen() and hope any initializers are trivial. Reviewers: eugenis CC: kcc, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D509 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176818 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
ib/msan/msan_linux.cc
ib/msan/tests/CMakeLists.txt
ib/msan/tests/msan_loadable.cc
ib/msan/tests/msan_test.cc
ib/msandr/msandr.cc
|
ce700979f644c790c2d9d80f5cc2a1ada0380284 |
11-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Implement BlockingMutex::CheckLocked() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176805 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/sanitizer_mutex_test.cc
|
c1b73e84db2f9f62633ee52b13cd1f83ef2fbe99 |
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Reduce the local buffer size in Report() not to fail the check enforced when building TSan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176804 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
e282b1ac6f9d370f9b30dbbd2da43f6346947f7f |
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Try to use a small (512 bytes) stack-local buffer in Report() for short messages, fall back to MmapOrDie() in the case of a failure. This shall eliminate most of the cryptic "ERROR: failed to mmap" messages caused by recursively calling MmapOrDie() from MmapOrDie(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176802 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
a8d37a05f05341c60fe4508d79286a1b17aa3dc2 |
11-Mar-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] don't call strerr from functions that map memory, since this results in malloc(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176800 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
|
aa0f20dca32ad6ed0d4f5623b393dd700375f12a |
11-Mar-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make SizeClassAllocator64::GetBlockBegin more bullet proof (by Sergey Matveev) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176799 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
07020829d181dcd352ff6f01eab4d353c37a19b6 |
09-Mar-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Don't emit the extra checksum into the .gcda file if the user hasn't asked for it. Fortunately, versions of gcov that predate the extra checksum also ignore any extra data, so this isn't a problem. This matches the API change made in r176745. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176746 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
42296c7b5d69e6d79390005b6e1861ca66e3a0cb |
07-Mar-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Take the GCDA version string as an input to llvm_gcda_start_file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176618 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
93c26022f362c9e0a6acbe3bf3c7c395e19e0835 |
06-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] Block reports from interceptors during _Unwind_Backtrace Summary: I'm hitting a big recursive report from: uninit on strlen -> __msan::PrintWarningWithOrigin() -> __msan::GetStackTrace() -> __sanitizer::StackTrace::SlowUnwindStack() -> _Unwind_Backtrace() -> ... libgcc calls -> uninit on strlen() -> ... repeats Reviewers: eugenis Differential Revision: http://llvm-reviews.chandlerc.com/D497 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176555 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_report.cc
|
3c27d7f4e3413dd4f2e50eebac7c8f9bd916c1ca |
06-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[msan] pthread_join() returns int, not void* pthread_join() returns an error code, not the result of the pthread_create() function like I thought. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176554 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
5d3dcb8fa4947ebeab61bcf512ab352576d0fb41 |
06-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[sanitizers] Fix check failure on dealloc from new thread Summary: Adds a test for this case, which was reduced from a chromium build of WebKit's DumpRenderTree. Reviewers: eugenis CC: glider Differential Revision: http://llvm-reviews.chandlerc.com/D495 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176552 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
ff571e2cf5d4a55f7719cd63f05f11c3840f0f57 |
06-Mar-2013 |
Stephen Hines <srhines@google.com> |
Update build rules for compiler-rt merge to version 176091. Change-Id: I17f4c807f11982e095994e3e0747483b32ffe453
EADME.android
ib/asan/Android.mk
|
53fb6ea24db1193246be4a02e946fd14bc3f053d |
06-Mar-2013 |
Stephen Hines <srhines@google.com> |
Merge commit '405056ccecb28f0c1babf23596d6b822d2b544ee' into merge_20130226 Conflicts: lib/asan/tests/asan_test.cc Change-Id: I72d45308752026b7d2ba586379c287356685e96e
|
bcf393e373713021c88b0e39c73a615a4e0f3fd2 |
05-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix signed-unsigned mismatch in test and use correct order of EXPECT_EQ() args git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176479 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
352b245d32c6022a6eb5f5dec7f1d341c4ab88a3 |
05-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add methods back() and pop_back() to InternalVector. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176478 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
ef3667a97978c037684f604118a5b9eaf68ee231 |
05-Mar-2013 |
Nick Kledzik <kledzik@apple.com> |
update how libcompiler_rt.dylib links under libSystem.dylib on MacOSX git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176466 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
|
d4de2a1a7b15d0ed1a303b1604894ae82d5e8748 |
01-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Revert r176255, r176264. New allocator has 1.5x memory overhead of the old one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176340 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/tests/asan_test.cc
|
cf80871bd777c8eca7541fe5aa1db2c2711dd24c |
01-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix check failure in SizeClassMap::Print. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176338 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
df4f6de48d1efe0cf6ed0a7b867e86b45985e85a |
28-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Lower memory usage in LargeMallocTest on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176264 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
8bd5e74fa9d37a182088114918380e255e22e493 |
28-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add the memcmp_strict flag (1 by default) that controls the behavior of accessibility checks in memcmp. 1: memcmp(p1, p2, n) always checks n bytes 0: memcmp checks up to n bytes depending on whether the memory contents differ. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176256 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_interceptors.cc
ib/asan/asan_rtl.cc
ib/asan/lit_tests/memcmp_strict_test.cc
|
d91046de8b90d78280ec378fce6f3da8cbfd786a |
28-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Enable allocator2 on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176255 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
13577fed9ac2ebe5e4800b8f83e3a80832907de2 |
28-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] bump kMidMemEnd to 0x4fffffffffULL since in rare cases prelink uses addresses higher than 0x3fffffffff git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176250 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/Linux/asan_prelink_test.cc
|
5c217b6a61cc7a577f5fa4063d5be97d8c3062f0 |
28-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Relax ThreadLister tests to allow possible pre-existing threads. Do proper mutex destruction. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176249 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
021ba5182db571f527fd4fbc5a3a6e96bd3fce74 |
28-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Lit tests for __attribute__((no_sanitize_memory)). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176248 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/lit_tests/no_sanitize_memory.cc
ib/msan/lit_tests/no_sanitize_memory_prop.cc
|
58c400c58019070045e548bb5173b22af092f314 |
28-Feb-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Holy macaroons, somebody made a copy of llvm/runtime/profile/GCDAProfiling.c, didn't delete the original, and now they've diverged. I have no idea what's going on. Apply my patch in r176173 to this one too, this one looks newer? git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176236 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
b9e1319f97a9d9c2d13090e162e66ebdfbb419dd |
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] if calloc returns a freshly-mmaped memory, don't clear it with memset. Speeds up calloc-intensive code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176185 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_noinst_test.cc
|
35a7faf1fbfac678136e79d53824672dafb7d13e |
27-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] don't include missing header on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176183 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
8f72f7cae84494d9bd0676b4a499e0f895460744 |
27-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[UBSan] Use common report decorator to print colorful diagnostics in UBSan, and be more consistent w/ Printf/RawWrite git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176182 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_report_decorator.h
ib/ubsan/ubsan_diag.cc
|
6fb47af2d2d305adbfc3d41bea589d1527a364a9 |
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
add Linux syscall wrappers and ThreadLister to sanitizer_common ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code. Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176179 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_linux.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_linux_test.cc
|
1d2ed3ab71a574aaa0f4cea21333ae2bb786c93a |
27-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] guard ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS definition with an #ifndef git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176175 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_test_utils.h
|
405056ccecb28f0c1babf23596d6b822d2b544ee |
26-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't die if external symbolizer is used on Mac, where it's not implemented yet git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176091 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
|
b5f952134cad10f8416ebeccf375da771e4b9ca9 |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] A low-level vector implementation to be used in leak checking code. Patch by Sergey Matveev git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176089 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
f155fccd1f26f771c9f7f265a4c30faebdfb214f |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] a bit stricter lint for CHECK vs CHECK_XX (these CHECK_XX really help debugging!) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176085 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/scripts/check_lint.sh
|
cf576c860a780a3f34ea17cb2d931e4532606217 |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] enable tsan-vs-gvn test since it is now fixed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176079 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/tsan-vs-gvn.cc
|
1b057b20db71ec6cc2bac460c8b2848f0889d47d |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the output for range accesses (memset, etc); improve the tests; more strict checking in memcmp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176078 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_mem_test.cc
ib/asan/tests/asan_test.cc
|
00b8a34250e9f6c1c0211c33f4fe4da15d0fb24a |
26-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use the new attribute syntax (no_address_safety_analysis => no_sanitize_address) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176077 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/default_options.cc
ib/asan/lit_tests/throw_call_test.cc
ib/sanitizer_common/tests/sanitizer_test_utils.h
|
040620c84740b602bed9d67afeab2772d90b1158 |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] one more fix for signed/unsigned mismatch in comparison git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176020 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
|
7907f1d0bd86e83677f8ae3bea7dc484546042cd |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix signed/unsigned compare warnings in sanitizer_stacktrace_test. Build sanitizer_common tests with -Werror as we use predictable just-built Clang for building them git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176014 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
|
8a6b5e551ab8a331f7e7bc4bfcd74926fbffa3f6 |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add interceptor for malloc_usable_size() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176013 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_stat.h
ib/tsan/tests/unit/tsan_mman_test.cc
|
55249d128eb72e58e102057751a8271310768b4c |
25-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] remove temporary build directory in 'make clean' command git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176012 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
a0b1e21d72429c3672115b3ddc85240e3b7ac88b |
23-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Runtime handlers for array indexing checks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175948 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Misc/bounds.cpp
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
|
0b487c02ed906e555fa473cea5afcd6363549373 |
22-Feb-2013 |
Reid Kleckner <reid@kleckner.net> |
[Sanitizer] Add a test for the fast unwinder Summary: The test sets up fake x86-style fp+retaddr frames, since that's all the unwinder works with. Reviewers: kcc CC: eugenis Differential Revision: http://llvm-reviews.chandlerc.com/D445 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175893 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_stacktrace_test.cc
|
79b2d17fbaed2afa1a5a8f7bda42e45322709636 |
22-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] MSanDR: initial commit. MSanDR is a DynamoRio-based tool that handles uninstrumented libraries and dynamically generated code for MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175883 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/msandr/CMakeLists.txt
ib/msandr/README.txt
ib/msandr/msandr.cc
|
33934fff43c5813394fe21e68b8d82b672013465 |
22-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] move the .preinit_array hack into a separate file (added used attribute) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175871 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_intercepted_functions.h
ib/asan/asan_preinit.cc
ib/asan/asan_rtl.cc
|
bc3a2d13e65b22f7920d2d963912e9af2e55fdc2 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit caused error reports in gTest. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175766 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
d4228010624f7c6fa69934add3f9da46cc6b6918 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make sure operator new/delete and friends are intercepted on OS X. Because the interceptors will reside in a dylib, not the main executable, we can't just declare them, but must use the interposition machinery. Fix the test expectations in large_func_test.cc affected by the change. This CL should make our Mac buildbots green. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175763 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_new_delete.cc
ib/asan/lit_tests/large_func_test.cc
|
ed3cb6b5f15ab375bbe6a90ccbe8d69bb1f36fe0 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Declare CreateThread as extern "C" to fix the Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175760 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
72bbfd4f3a442afde281476bc6bd41b3b2152a4e |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Revert the incorrect macro on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175745 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
c4f88e4e6732f3fec8976e2b56e453d20b047845 |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Put several function prototypes back under #ifdef _WIN32 to fix the Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175743 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
50a002ecad3f0a10c136496e5b6289bd3c71590e |
21-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Refactoring: nuke the redundant function declarations in asan_intercepted_functions.h that had been used on OS X only. The INTERCEPTOR() macro on OS X is now responsible for declaring the wrapped function, the wrapper and the pair of pointers to them in __DATA,__interposition section. Thus adding an interceptor requires editing a single file now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175740 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/interception/interception.h
|
372b267fadcaf73b9d9cee5c8050d3c10e94f74d |
21-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add MSan to Makefile-based build rules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175737 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/msan/Makefile.mk
ake/platform/clang_linux.mk
|
a84805f1ccb2b7d4b6c0ba384bd3541fa4eaf808 |
21-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] speedup by more than 2x handling of the small memset/memcpy/etc calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175728 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mapping.h
ib/asan/tests/asan_noinst_test.cc
|
20aed578bf010a91222aed0096d87e0d887a28e9 |
20-Feb-2013 |
Reid Kleckner <reid@kleckner.net> |
[Sanitizer] Try to fix infinite loop in frame pointer unwinder Using > instead of >= ensures that each frame deref makes progress and that we eventually terminate. Issue: https://code.google.com/p/address-sanitizer/issues/detail?id=162 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175661 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
4c3e573425e584867e12c3f5d3df524c20b06509 |
20-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] revert part of r175631 that looks like accidental commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175655 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
7c2a3bbabc7d3bcc66ad7a076bed9a4b86a3626d |
20-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete asan/dynamic dir and temporarily move the interposers declarations to asan_intercepted_functions.h Now that we have only one dependency on asan_intercepted_functions.h, we can unite that code with the interceptors declarations in asan_interceptors.cc and get rid of asan_intercepted_functions.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175631 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/Makefile.mk
ib/asan/asan_intercepted_functions.h
ib/asan/dynamic/Makefile.mk
ib/asan/dynamic/asan_interceptors_dynamic.cc
ib/asan/tests/asan_test.cc
|
9eab858dfd995cb0432efa18edbcd0e791114be9 |
20-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Make isoc99_*scanf intercepted on Linux only. Those are unavailable on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175629 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
a8e0989e1829e6d1eb898b899ff8dced795ab5b6 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] move preinit_test to Linux since on Mac __asan_init is called from ld-preload-ed runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175625 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/preinit_test.cc
ib/asan/lit_tests/preinit_test.cc
|
e1353430866fe112de0f52ab6281dbc47e40ef66 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] on linux, run __asan_init from .preinit_array (even earlier than before) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175623 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/preinit_test.cc
|
f882247088952deed954a19d745c2dd8871e2035 |
20-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use raw syscall instead of _exit() function on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175622 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_win.cc
|
97234eb4239b64c2f55f4dcec8c061d2b7f51505 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add a lit test for invoke-with-no-return instrumentation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175618 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/throw_invoke_test.cc
|
69b109a665247d424874253b412fe9b5253d1702 |
20-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175615 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/throw_call_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/scripts/check_lint.sh
|
a1b5c09e608933cb2a9edef1488f45f5a94c91a3 |
20-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add test throw_call_test (broken with -static-libstdc++) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175614 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/throw_call_test.cc
|
626e6fdd9c01c9b683c33656c2014ef9a2690e50 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix FileOps test on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175515 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
7f4df1a0e1e1b2ace94d4d78b03c222887dbb00c |
19-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] don't run the long double test if long double is the same as double git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175514 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
7fe5526c2cb2d88e3ab288aa601a874c47fedb69 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Slightly lower allocator test memory consumption. This way it fits on a random 1G device. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175513 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
36ea94dc39f0ed98663986f6c0409dfc0a5edeb5 |
19-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Allow ASan default runtime options be overriden at compile time by providing ASAN_DEFAULT_OPTIONS macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175512 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
|
1f45e2dcd6732377577ac33f8729b21f981417b4 |
19-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Allow runtime flags be separated by colon as well as space git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175511 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/tests/sanitizer_flags_test.cc
|
efbc43528892b0a30039f68633e0b4ed3bbd2dae |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Use slow stack unwinder in UMR reports. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175510 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
|
366984e3aa286f7b4fb45f5c9e703f2768c407ed |
19-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] instrument memory accesses with unusual sizes This patch makes asan instrument memory accesses with unusual sizes (e.g. 5 bytes or 10 bytes), e.g. long double or packed structures. Instrumentation is done with two 1-byte checks (first and last bytes) and if the error is found __asan_report_load_n(addr, real_size) or __asan_report_store_n(addr, real_size) is called. asan-rt part Also fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175508 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/lit_tests/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/Linux/interface_symbols_linux.c
ib/asan/tests/asan_test.cc
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
f35eae83757946decb312deab3f0fe155fe5d580 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix ReExec on linux. execle(argv[0], ...) is wrong, because argv[0] may contain a PATH-resolvable program name. Execute /proc/self/exe instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175504 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_linux.cc
|
b711ca6e040d0ac4adb79e688e1a59afcc871d20 |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Android build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175503 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
|
9358c58d0aaf1b20f17362af354d4c3c1309276a |
19-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add interceptors for localtime and friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175499 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/msan/CMakeLists.txt
ib/msan/msan_interceptors.cc
ib/msan/msan_platform_limits_posix.cc
ib/msan/msan_platform_limits_posix.h
ib/msan/tests/msan_test.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/sanitizer_platform_limits_posix.cc
ib/sanitizer_common/sanitizer_platform_limits_posix.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
ce44055cdde85554aa9d18f8a7166bf5df6f9bb3 |
19-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] use our own GetEnv instead of libc's getenv git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175498 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
|
d843fea3d6f7e7dcfcb6e2a98826b85e5106f189 |
18-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] enable asan_prelink_test when gold is the default linker (gold and bfd linker have different flag syntax) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175431 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/asan_prelink_test.cc
|
8e32db4efc90a4d136786b4bdda62363df99e12c |
18-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] added flag -d|--demangle to asan_symbolize.py, makes addr2line/llvm-symbolizer demangle the functions names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
0fa691b7ec97d8c3948a637d6263822ed4e738f7 |
18-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make temporary filename depend on user ID git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
180e988700858a838e00fe9406f170502c203b85 |
15-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make variables unsigned to silence warnings - attempt 2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175285 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
e6b91fdad54c4c9a711b5149d65ea6a6f368d9ab |
15-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make variable unsigned to silence the warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175284 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
fe984cc9d8aa86cf6d5aa802b223a588d6f14105 |
15-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=159 MaybeReexec() does now a tricky job to manage DYLD_INSERT_LIBRARIES in a safe way. Because we're using library interposition, it's critical for an instrumented app to be executed with the runtime library present in DYLD_INSERT_LIBRARIES list. Therefore if it's initially missing in that list, we append the runtime library name to the value of DYLD_INSERT_LIBRARIES and then exec() ourselves. On the other hand, some of the apps exec()ed by our program may not want to have ASan runtime library preloaded, so we remove the runtime library from the DYLD_INSERT_LIBRARIES if it's already there. Users may want to preload other libraries using DYLD_INSERT_LIBRARIES, so we preserve those. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175276 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/lit_tests/Darwin/unset-insert-libraries-on-exec.cc
|
e31eca900a1f8849af75100c2d92e838d79d0920 |
15-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make asan work with 7fff8000 offset and prelink When prelink is installed in the system, prelink-ed libraries map between 0x003000000000 and 0x004000000000 thus occupying the shadow Gap, so we need so split the address space even further, like this: || [0x10007fff8000, 0x7fffffffffff] || HighMem || || [0x02008fff7000, 0x10007fff7fff] || HighShadow || || [0x004000000000, 0x02008fff6fff] || ShadowGap3 || || [0x003000000000, 0x003fffffffff] || MidMem || || [0x00087fff8000, 0x002fffffffff] || ShadowGap2 || || [0x00067fff8000, 0x00087fff7fff] || MidShadow || || [0x00008fff7000, 0x00067fff7fff] || ShadowGap || || [0x00007fff8000, 0x00008fff6fff] || LowShadow || || [0x000000000000, 0x00007fff7fff] || LowMem || Do it only if necessary. Also added a bit of profiling code to make sure that the mapping code is efficient. Added a lit test to simulate prelink-ed libraries. Unfortunately, this test does not work with binutils-gold linker. If gold is the default linker the test silently passes. Also replaced __has_feature(address_sanitizer) with __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__) in two places. Patch partially by Jakub Jelinek. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175263 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_internal.h
ib/asan/asan_mapping.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/Linux/asan_prelink_test.cc
ib/sanitizer_common/sanitizer_internal_defs.h
|
eab061185ec0046d447b298a1dff84f028202a3c |
14-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Get full argv and envp on glibc. /proc/$PID/cmdline is clipped to 4Kb. Locate argv and envp on the main thread stack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175163 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
634b0734feae68b68106d52f6ef1c6893fff1381 |
14-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fixed the wrong placement of #include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175157 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc
|
c18e17980cf6e28e736432b780cd3ae91b6597be |
14-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove the 'alarm' script which isn't present on OS X by default. The test may hang now if a regression occurs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175155 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc
|
15190a6f0f086737f2fcffe16a58ed42939ef081 |
14-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix bug in suppression reading (suppressions from file were discarded) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175153 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
|
7b7801d0811e7091240ddbfdcff817791973ef6f |
14-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Raise argv limit for ReExec. We are still limited by /proc/*/cmdline size (4Kb max on Linux!). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175145 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
c74b2ccbc0cf40bb401ebf3758e8e964b22acb3a |
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use short path for sanitizer_common/tests/sanitizer_test_utils.h, add -I sanitizer_common/tests to asan/tests/CMakeLists.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175142 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_test_utils.h
|
fbeb826198c3c3797dcb56785db2e0a0a5c7a9af |
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix x32 build (H.J. Lu) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175140 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
|
8da17ea3bc3ba0a28844642921247a3b9a1a3bcd |
14-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] disable a failing test until it gets fixed. fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175137 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/tsan/lit_tests/tsan-vs-gvn.cc
|
45a8124a70fa720756c4c40d741b588172879bb7 |
13-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11, base-to-derived casts have undefined behavior if the object is not actually an instance of the derived type. Runtime library part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175079 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers_cxx.cc
|
eb5f427c10c5d23e520def5f921cbbed831526be |
13-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] When re-executing the process on OS X, make sure we update the existing DYLD_INSERT_LIBRARIES correctly. Previously ASan used to hang in an exec loop, because it failed to overwrite the env var value (see https://code.google.com/p/address-sanitizer/issues/detail?id=159). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc
ib/asan/lit_tests/SharedLibs/darwin-dummy-shared-lib-so.cc
|
eaa0190fc9a510a621d871becce0536950c5468d |
13-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not imitate memory write on malloc() (Go) better memory range access functions (put only 1 event to trace) (Go) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175056 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
606d3bc68a071c35acd0490678ce9ebc4c7e6332 |
13-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix fixed mapping for mac (ASAN_FLEXIBLE_MAPPING_AND_OFFSET=0) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175049 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
|
70c6e3fb6dfddb9c4d26ac133beb5f53b71e47d9 |
13-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[msan] don't check shadow inside interceptors if we are inside symbolizer; add weak function __msan_default_options that overrides default options git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175040 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_interceptors.cc
ib/msan/msan_interface_internal.h
ib/msan/msan_report.cc
|
867ac63fdc4d5aec1c1d66858937cf787af86105 |
13-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] simplify tsan-vs-gvn test since gvn vs tsan is now fixed; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175037 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface_internal.h
ib/tsan/lit_tests/tsan-vs-gvn.cc
|
c242446f7a7c6a0c1f1bf9ad403d6dac6f215f1c |
12-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Highlight caret in bold green, to match Clang diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175013 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_diag.cc
|
f4a1ea7e0130273039f6c76d97e852f28e572d7a |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Tests for scanf parser in allowGnuMalloc=false mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174971 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
7eed04c4dce69ad1e485edbf6dd963e176b52e0d |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allow zero buf pointer in getcwd() interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174970 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
c5b4e86e848758856433da2e876c473dd31db55c |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] More accurate scanf parsing without GNU extensions. In __isoc99_*scanf we don't have to worry about GNUisms, and can parse %a accurately. Patch by Jakub Jelinek. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174969 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
|
2cf585e94866c97528b0743b1e4c01f779fa500f |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add new __isoc99_*scanf to ASan intercepted functions list. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174965 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
86edb3b220ec3443cadd918609b3c05b8a6a1e7b |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Missing changes from r174960. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174962 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
4ae1adb49f34cf9a9ef854cf04348531608f0ead |
12-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Intercept __isoc99_*scanf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174960 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/scripts/check_lint.sh
|
ea0fd3c6f60a9e783dbfbb8a473ac60cd22eb07f |
12-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. compiler-rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174958 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface_internal.h
ib/asan/asan_mapping.h
|
43fb7587fdc23d763ba4da8698e7218e9c04a6a9 |
12-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[MSan] symbolize correct PC when printing Summary message git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174956 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_report.cc
|
44be70b186549d592c952a13aafe79bfeae89f81 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] clang-format pass over scanf code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174888 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
0527bf2e6aa5b35da8aa57e866287ab66af67c15 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] scanf: don't report stores that did not happen. Respect REAL(scanf) return value and don't report memory stores that could potentially happen, but did not. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174887 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
348bd12af55f560e0822e753788d8a51fa050c3f |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Remove an extra va_copy. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174883 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
|
0e43e9ea9a1d5453fe1c25a6ec3927b417a8f5b1 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Scanf parser improvements. Handle %a in cases when it is unambiguous. Handle %m. Patch by Jakub Jelinek. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174882 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
9af86761268fb0b0a1a5295370f68a503c8d38b5 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Lit tests for MemorySanitizer. Build system setup for MSan lit tests (build with freshly-built clang, run, check output) - a nearly exact copy from ASan. First 2 lit tests for MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174876 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/CMakeLists.txt
ib/msan/lit_tests/CMakeLists.txt
ib/msan/lit_tests/Unit/lit.cfg
ib/msan/lit_tests/Unit/lit.site.cfg.in
ib/msan/lit_tests/heap-origin.cc
ib/msan/lit_tests/lit.cfg
ib/msan/lit_tests/lit.site.cfg.in
ib/msan/lit_tests/stack-origin.cc
ib/msan/msan_report.cc
ib/msan/tests/CMakeLists.txt
ib/msan/tests/lit.cfg
ib/msan/tests/lit.site.cfg.in
|
9c0b286e747c4a5a08027261d0ca7ef25ede03ee |
11-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] added tsan-vs-gvn test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174875 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/tsan-vs-gvn.cc
|
70910beddc5362ce479d1953bbdc010d0b585124 |
11-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix line numbers in a sanitizer lit test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174861 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/use-after-free-right.cc
|
ed83584256249ee2c474fb18abf7df6aa73019b0 |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix off-by-one in AddrIsAtRight. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174710 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/lit_tests/use-after-free-right.cc
|
be59019d9069bdfe3621d80235776d55ed2af178 |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix lint. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174708 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
2b10d3944d911c07f2a10cf248300260ed67454a |
08-Feb-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Switch Windows to allocator v2, also fixing some build errors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174707 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_quarantine.h
ib/sanitizer_common/sanitizer_win.cc
|
400a946f7300de3db5c50585e3b0aff2ac3c6509 |
08-Feb-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Move functions using BitScan/clzl to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174706 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/sanitizer_common/sanitizer_common.h
|
4f06d0ba90aae87a21f3a7d75db985a01b8fb6d2 |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add 2 random tests for the scanf implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174705 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
c36c168f8f482f35f200fea57dd88a888bf062fb |
08-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Improve scanf interceptor This a rewrite of the scanf parser. The new implementation is pretty close to the spec, with a few shortcuts taken here and there. It is conservative, i.e. it gives up parsing if it does not understand some part of the format string, or runs into an ambiguous % spec. It does not handle some rarely used parts of the spec, like %n$ - for now. I'm also moving parser call to after the original *scanf function completes, so that we can find out the store size of %s directive by the use of strlen() on the target buffer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174704 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
304026d0c9aa51068fe36042243fbdd1c507619c |
08-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[CMake] set -mmacosx-version-min to 10.7 if compiler-rt is built with -stdlib=libc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174699 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/CompilerRTUtils.cmake
|
c8f5519892684eadc0cb1a7ef739905fa1ab4953 |
08-Feb-2013 |
Shih-wei Liao <sliao@google.com> |
Add strip and add missing slashes. Change-Id: Ibec63ae9da9845c9665a2e1688f3a70e416de632
ndroid.mk
|
e47115fa033f3e3bd906dabe8beebc2e29e722d0 |
07-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix suppress_java logic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174635 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
719cf0e5d7dafdf2758bb1e6324181dcb60bfd3c |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove the replace_cfallocator flag, which is used no more. See https://code.google.com/p/address-sanitizer/issues/detail?id=10 for the context. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174629 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
|
5d48617936d6415f2037a5e1b9d57f9077ee92ef |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Enable alloc_dealloc_mismatch by default on Darwin. Enable AddressSanitizer.AllocDeallocMismatch tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174628 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/tests/asan_test.cc
|
e1c8a83468ad42303b223a233ea680f47f82900d |
07-Feb-2013 |
Shih-wei Liao <sliao@google.com> |
Add aeabi_{d,f}cmp.S in Android.mk. Change-Id: I768688096d9626c3c84aec9582def2306d6364e3
ndroid.mk
|
ce2f1840c8a15318e6e8958a8e36bc1ceaccba75 |
07-Feb-2013 |
Zonr Chang <zonr.xchg@gmail.com> |
Implement aeabi_{f,d}cmp*. Special thanks to Anton for the review. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174596 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/aeabi_dcmp.S
ib/arm/aeabi_fcmp.S
ib/comparedf2.c
ib/comparesf2.c
|
ece62647281ee30b6bb01b0e052d58f41986a665 |
07-Feb-2013 |
Shih-wei Liao <sliao@google.com> |
Override generic ARM runtimes with VFP version. Change-Id: Ia83a2eb515c6215b5f05e8176c24658cc239e4dd
ndroid.mk
ib/arm/vfp_alias.S
|
843096231114f4d0424dab242aed99ab71aa2ba0 |
07-Feb-2013 |
Shih-wei Liao <sliao@google.com> |
Use MC assembler to compile assembly. Change-Id: Iaecb159a60e96ef3fc3ce2c3b5e7af0abff43400
ndroid.mk
|
ed4c034955e33b999b37f735feec8a7c315a6e3d |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Enable the new and delete wrappers on Darwin. Also fix large_func_test.cc, which got broken when we switched to allocator2: the OOB access was too far from the original allocation, so ASan decided to describe the next one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174626 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_new_delete.cc
ib/asan/lit_tests/large_func_test.cc
|
03f224835f46801a0e22cc2951d21b67304e0457 |
07-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept libc __res_iclose this is required to catch close of file descriptors created in getaddrinfo() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174624 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
6cf1e6d92200f61bf275ca433c88c60c934e3086 |
07-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174622 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
3661bae401ea7fb8d61f20466f194ef90d7bdaa2 |
07-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] always allocate 16-byte aligned chunks of memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174617 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
3c5ebf664496fb3857ff3e2737d9cb4c2d4b5e4d |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[sanitizer_common] Fix lint warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174616 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
aeedfd61099514b70b2b9f9f6bbc03b1581fda76 |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix a compilation warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174604 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
6a11cc1bc665f13a0fcafe4a6a84761216675af7 |
07-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Implement asan_mz_size(), asan_mz_force_lock() and asan_mz_force_unlock() for allocator2. Switch to allocator2 on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174603 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
|
fba76918950962438ed40f78365947bf9927b24c |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Build libcompiler_rt.so for on-device compilation and linking. Change-Id: Id4448ad8b24c430712fe5379528c36fe9b2980f1
ndroid.mk
|
7f489a3deb01ecca5038d02b71111bac313ee57f |
07-Feb-2013 |
Shih-wei Liao <sliao@google.com> |
Revert "Revert "Fix libcompiler-rt. libcompiler_rt is the official name."" This reverts commit 00f3125aaa7d8848824a2349f39521cbf7d33224.
ndroid.mk
|
00f3125aaa7d8848824a2349f39521cbf7d33224 |
07-Feb-2013 |
Shih-wei Liao <sliao@google.com> |
Revert "Fix libcompiler-rt. libcompiler_rt is the official name." This reverts commit d1ced4dd1254cbc2fdee6fc2f80af62f3982b5de.
ndroid.mk
|
d1ced4dd1254cbc2fdee6fc2f80af62f3982b5de |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Fix libcompiler-rt. libcompiler_rt is the official name. Rename libcompiler-rt to libcompiler_rt. Change-Id: I2a65b5734b5aa055985a1083799a599dcade158b
ndroid.mk
|
6fd582c993c8153daa34b4510c920db2c1c1c52e |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Use ARM VFP runtimes when possible. Change-Id: If4bf8cc38e1c12e2a3e1a44d7aa42993f0a547f6
ndroid.mk
|
c940ebf2b1fa793a290cdddc58a11bf046e7c169 |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Enable ARM VFP runtime only when VFP is supported. Change-Id: Iaf1403edac93958c28126d751fc756f08169558b
ndroid.mk
|
fe42f08172fc95bf182c63cb16f85a1ff29793e8 |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Include all __aeabi_* runtimes in compiler-rt. Change-Id: Idbc486374d791e26b841276fa9f7f58fa8e2b4ce
ndroid.mk
|
4d40231aa139331cbc0806bb1ff7475cd1dc9f04 |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Remove gcc_personality_v0.c which depends on libunwind. Change-Id: I565d8efa79cc54943eda36e79e66061b6bbeed8c
ndroid.mk
|
74d0540ceae99c550b00f75883a737f4a1de6351 |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] OFF_T on Mac is u64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174600 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
|
f5c93a0432511de0b74053fea6a0c0108f32398c |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Explicitly list mulodi4.c in libcompiler-rt. libcompiler-rt and libcompiler-rt-extras may not be disjoint sets. Therefore, list the runtimes separately. Change-Id: I00c0896112ed2d28ef9405d13e110e3f909e893f
ndroid.mk
|
cec0726037ef2716d4d131ae22764d00a4570bb7 |
27-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Skip apple_versioning.c since it is unused. Change-Id: If7615cb22756c69aacdcf95ec15c90bb25fdbaa2
ndroid.mk
|
2d740a3ff4c38f1b8d93357bece483939d65dd3f |
07-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] race_on_write test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174599 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/race_on_write.cc
|
eff744ddc87601937d03edf33c27edea0be0f3cc |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Exclude off64_t test on mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174598 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_type_test.cc
|
92ce51e144b35970b6468f002f035562cb33b4bd |
07-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include stddef.h for ptrdiff_t in interception type test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174597 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_type_test.cc
|
f1e4bceafeec4bfe2f501d6c6535da18d485bf08 |
07-Feb-2013 |
Zonr Chang <zonr.xchg@gmail.com> |
Implement aeabi_{f,d}cmp*. Special thanks to Anton for the review. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174596 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/aeabi_dcmp.S
ib/arm/aeabi_fcmp.S
ib/comparedf2.c
ib/comparesf2.c
|
1d333c5a34d896f239001e3fe69a660e40d15301 |
07-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[msan] add strip_path_prefix flag; print error summary; don't crash while printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174595 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_flags.h
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
|
cb8b91d6040f07bb42d3053bc4a44ff8e3e7f05f |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Add a missing header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174594 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_type_test.cc
|
65e5090c3ca13ebf1061a7043449d1b3561daa6a |
07-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix wrong size of OFF_T on 32-bit platforms. This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174593 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/CMakeLists.txt
ib/interception/interception.h
ib/interception/interception_type_test.cc
|
5ba301dfe9a39c02b3faeb0fa252473f1d6e742c |
06-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] skip multiple internal frames, if necessary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174516 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
427a89947a52bbaaa6adfaae7aa8e44ec588f43d |
06-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] fix the interceptor for siglongjmp. As we're using dylib interposition, we must intercept both siglongjmp and longjmp on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174510 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
2bf0d0332d3bb8b007e10ef14429279e12405262 |
06-Feb-2013 |
Alexander Potapenko <glider@google.com> |
Use 64-bit inodes in file operations. ASan is now built with -mmacosx-version-min=10.5, thus the default inode size is 32 bits. However the supported client code is going to target 10.6 and higher, where 64-bit inodes will be used. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174507 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
|
9dbba15ba91b55f87a25feb284e43ab7a9be31b3 |
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] improve FrameIsInternal git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174506 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/atomic_race.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
2f588f9d3417aa107ebbbd8830f97501023d3f40 |
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] print error summary line git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174505 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/mutex_destroy_locked.cc
ib/tsan/lit_tests/signal_errno.cc
ib/tsan/lit_tests/signal_malloc.cc
ib/tsan/lit_tests/simple_race.cc
ib/tsan/lit_tests/thread_leak3.c
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
2673fd8406197c42f16cede6d287f72169298c2e |
06-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] print a short one-line report summary after the full report. Currently, works only if symbolization happens in-process. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174501 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_interceptors.cc
ib/asan/asan_report.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
69563986ca570ce750111a82264d51ddbf4107ba |
05-Feb-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Delete the code related to static runtime on OS X. Nuke lib/interception/mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174383 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/Makefile.mk
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_mac.cc
ib/asan/dynamic/asan_interceptors_dynamic.cc
ib/interception/CMakeLists.txt
ib/interception/Makefile.mk
ib/interception/interception.h
ib/interception/interception_mac.cc
ib/interception/interception_mac.h
ib/interception/mach_override/LICENSE.TXT
ib/interception/mach_override/Makefile.mk
ib/interception/mach_override/README.txt
ib/interception/mach_override/mach_override.c
ib/interception/mach_override/mach_override.h
ib/tsan/rtl/Makefile.mk
|
f97a1fef66c59ee45e4a286be64c852d0e82275f |
05-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix Win/Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174376 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
589dcdaa520de1033a0f6112c9b67ab9eb7931af |
05-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix nonsensical reports of partial right OOB. In case of partial right OOB, ASan was reporting X is located 0 bytes to the right of [A, B) where X was actually inside [A, B). With this change, ASan will report B as the error address in such case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174373 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/lit_tests/partial_right.cc
ib/asan/lit_tests/strncpy-overflow.cc
|
cf533b6c24c662c9548c25946211f5e1c9d299f9 |
04-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix failing CHECK on windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174319 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
7c50ee7dd9f2d6a0ed75c27e05b08534908a905a |
04-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use proper casting in *stat functions on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174318 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
|
4c9317a7b61e136f832d2ede70f557963fd46bce |
04-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] extend internal libc with stat/fstat/lstat functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174316 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/sanitizer_libc_test.cc
ib/tsan/tests/unit/tsan_platform_test.cc
|
8ceeec4f343768b199e7c891865029360b7225dc |
04-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix compilation errors/bugs on Windows where long is 32-bit even in 64-bit mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174312 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_win.cc
|
52c70e5818727521b89f7fc95a2a383df8985ca6 |
04-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept bind/listen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174311 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
e85c83dcee3d35068e6670ab32545953d4330335 |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use u32 instead of mode_t, which is defined in Darwin headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174189 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
|
73700ac2a7ced591261ad11199d9d4a7112304bb |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove debug output from the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174188 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
ee7cc4454421a176d23442382afd9a01d36e7ad4 |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] make internal_open have the same interface as libc version git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174187 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/tests/unit/tsan_platform_test.cc
|
c05cbca0988c296068e0da1556bd6af7edd43c69 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: catch races on fd in more cases git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
fcc7c8c88ff87eeccdb7138c7479ab902fbc5b8f |
01-Feb-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] remove artifacts from gotsan build in 'make clean' command git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174180 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
3285866e45a8521c56ba6209daf3c9f91f844fd3 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: even if races between atomic and plain memory accesses are turned off (report_atomic_races=0), still report races between atomic accesses and free(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174175 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/atomic_free.cc
ib/tsan/lit_tests/atomic_free2.cc
ib/tsan/lit_tests/race_on_mutex2.c
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
0a07b354fe95d50911c620b42fc031868ef15cc1 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: say that the memory access is atomic in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174168 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/atomic_stack.cc
ib/tsan/lit_tests/race_on_mutex.c
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl_report.cc
|
cafed29d27a9a1700aa3c828329f9db8e7592a6b |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remember 2 stack frames for atomics (caller and atomic itself) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174167 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
ddbe2be9dc8b8eb7d40017c077e8392daf708510 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to not report races between atomic and plain memory accesses git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174165 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interface_atomic.cc
|
33a040af0f32bcf2e5ab25fa2c9b6a81d3a59092 |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: flip is_write bit in shadow to is_read this makes calculation of interesting predicates faster git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174164 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/tests/unit/tsan_shadow_test.cc
|
334553ec45d8982df45a6f5e656e068142ecde3f |
01-Feb-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect races between plain and atomic memory accesses git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174163 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
ib/tsan/lit_tests/atomic_norace.cc
ib/tsan/lit_tests/atomic_race.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_inl.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_update_shadow_word_inl.h
ib/tsan/tests/unit/tsan_shadow_test.cc
|
859778a4e2dffa4024fa3e13b105fd62eca44b1c |
31-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make the error messages from sanitizer_common contain the actual tool name git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/msan/msan.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/tsan/rtl/tsan_rtl.cc
|
c70fa28caaaec2134f2c2230821fcc0f0d7ac27e |
31-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174058 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
ib/asan/asan_allocator.cc
ib/asan/asan_allocator2.cc
ib/asan/asan_fake_stack.cc
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_interface_internal.h
ib/asan/asan_internal.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stats.cc
ib/asan/lit_tests/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/Linux/interface_symbols_linux.c
ib/asan/lit_tests/interface_test.cc
ib/asan/tests/asan_noinst_test.cc
|
6faa20f2441cd845d98cb390ae2bacca908537ee |
31-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to explicit thread contexts in Go (instead of monotonic goroutine ids) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174047 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/test.c
ib/tsan/go/tsan_go.cc
|
6bd82d398b0c1e66f957a8553a912c5aa54b9639 |
31-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not check for intersecting memory accesses in Go (all accesses are 1 byte) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174046 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_update_shadow_word_inl.h
|
89adb89cc56c84042cc67958369ab85f2e0ba6c5 |
30-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[build/clang_darwin] Fix the case reversal in r173465. - I got confused by the double negative, the test succends on 10.6, in which case we *do* want to perform the filter-out. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173977 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
fa5c41eddf77a3614da0f62044ebf741d86aeab7 |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: manually define FUTEX constants, because <linux/futes.h> header is broken on some linux distributions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173933 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
a55fbd57148fa92dd5dcf1c63846d1d23d328c9a |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix CPP_WEAK definition (it must be the other way around) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173932 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
|
216719b23134b9719bbf3e1de4a7d5d351c21fa8 |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include sanitizer_common headers when building interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173930 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/CMakeLists.txt
ib/interception/Makefile.mk
ib/interception/interception.h
ib/tsan/rtl/Makefile.mk
|
e437e9e2172415e0ce91202a7e5a139a07853df9 |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add change missed in r173926 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173929 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/lit.site.cfg.in
|
250f221ae0dee295098da8aa631977b6c2ebc99b |
30-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Further split private and public sanitizer headers. And make msan_interface.h C-compatible. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173928 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
nclude/sanitizer/msan_interface.h
ib/asan/asan_flags.h
ib/interception/interception.h
ib/msan/msan_interface_internal.h
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_stackdepot.h
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_interface_ann.h
|
48ecaf475c7084125ec1985f0ad7efc1b4b8306e |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to match the behavior of llvm unittests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173926 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/lit.common.unit.cfg
ib/msan/tests/lit.site.cfg.in
ib/tsan/lit_tests/Unit/lit.site.cfg.in
|
eb4690e214a6689e937fe2af1d5d291ed3082321 |
30-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove an extra #ifdef. __has_feature is always defined at this point. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173920 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
|
7c984ca2fc88e2cd82b30c5b3ef361af2a1f2062 |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: introduce a helped macro CPP_WEAK (Go linker does not support weak symbols) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173917 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_rtl.cc
|
22881ec8c8a3c01f9b993b186040444b0b5caa50 |
30-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add OnFinalize() callback for frontends git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173915 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
c44219cd5479a80ebb2b59779a41936d807f8840 |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[TSan] relax output tests a bit to make them pass in gcc build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173913 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/free_race2.c
ib/tsan/lit_tests/race_on_heap.cc
ib/tsan/lit_tests/signal_malloc.cc
|
ba5e99668e3030cc5bab357a04271a1bdbac209c |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] update style checker script and fix namespace style warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173910 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/stack-frame-demangle.cc
ib/msan/msan_interface_internal.h
ib/msan/msan_linux.cc
ib/msan/msan_platform_limits_posix.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_lfstack.h
ib/sanitizer_common/sanitizer_quarantine.h
ib/sanitizer_common/scripts/check_lint.sh
ib/sanitizer_common/tests/sanitizer_common_test.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_md5.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_vector.h
ib/tsan/tests/rtl/tsan_test_util_linux.cc
|
eb41768d814383b007b3cf8effb61fe0b1c68236 |
29-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[tsan] Fix checks for siginfo_t in tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173815 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/signal_errno.cc
ib/tsan/lit_tests/signal_malloc.cc
|
12c46937db2a5ab9237ce314c3f3a83636e8a575 |
29-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Cleanup public interface header. Moved everything users are not supposed to use to a private interface header. Documented all public interfaces. Made them safe to use even if built without MemorySanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173800 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_interface_internal.h
ib/msan/tests/CMakeLists.txt
ib/msan/tests/msan_test.cc
ib/msan/tests/msandr_test_so.cc
ib/msan/tests/msandr_test_so.h
|
793e7610934531fa014aa2c0721d7901bdbae548 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: dump stack on internal assert failure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173799 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
31c05ea4d508a476403ba30c1f60ef6190eb46b6 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support for inprocess symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173797 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
4e81d0e82a4a327987644a57b6103052a974824f |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remember when we are inside of symbolizer code (required for inprocess symbolizer) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173796 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_symbolize.cc
|
a180078ee0120c049f9fb495f930053f80f105aa |
29-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173795 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
bc2b5bada0204be28c362b6838b6a820bf5d578a |
29-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Copy sanitizer headers to the build tree. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173794 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
518908037a5438758ffc7e166176b3b28e8bef78 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173786 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/rlimit_mmap_test.cc
|
c8490e2a09cd415cc58fc8f3b63bebddce61c82d |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix the message (tsan is not asan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173784 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
|
90a2467c0a0722dcc9443229b8805f0a878ccb56 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173783 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/tsan/rtl/tsan_symbolize.cc
|
61ba1b5df34614e0647f5f80d462f6485e817fa5 |
29-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add interceptor stubs for stat family of functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173782 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
43495a2bfb70206a8e569e1a643a320065427178 |
29-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix deallocation hook in allocator2: according to specification, dealloc hook should be called before deallocating memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173778 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
d91699339fd7e022aef0eaa8f401af0f8942068b |
29-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Do allocate memory even for zero-size allocation requests. Explain why we have to do this in comments. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173776 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_test.cc
|
53becd87b874cda5f3ae29e00538fb41d336dbb9 |
28-Jan-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Use the correct order of NOINLINE vs ret type to fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173694 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
887a5feeb59a515e2fc291ceb8451dc569936124 |
28-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] A runtime call to support custom allocators. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173687 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
ib/msan/msan_interceptors.cc
|
f1d9fddaf2611dcb655dbf38d2b3e7e1171ac9e9 |
28-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove icmp tests that require exact shadow propagation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173686 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
a3ab1a7da70a5ef111257ba8887920c1fdcd7be5 |
28-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix a bug in allocator-v2 which could lead to SEGV on realloc(malloc(0), 4) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173681 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_test.cc
|
a74424e1489c13e1b5ac901460beba9a250559fb |
28-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: simplify build rules for compiler-rt unit tests. This fixes warnings in Ninja build tree. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173677 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
|
b478260a75516f350f733dccb07cf10e443f9967 |
28-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a crash in asan stats printing (initialize the allocator in __asan_init) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173676 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_rtl.cc
|
95f630ae40cef78fb03b18110eff43bcf8d1c040 |
28-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] two more internal flags for asan-rt: print_stats (0) and print_legend (1) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173671 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
|
f6acafcaf557fa8f89794ac08597a854475dfc73 |
28-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[CMake] Fix compiler-rt tests after r173617 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173668 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
ib/asan/tests/CMakeLists.txt
ib/msan/tests/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
|
1db6274ece7105cb6048783c12b74d26301089c1 |
27-Jan-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
AddCompilerRT.cmake: Try to unbreak since r173617. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173619 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
|
0136e1642d2fbfb6ed09169fcf748fe4667156d5 |
13-Jan-2013 |
Tim Northover <Tim.Northover@arm.com> |
Correct name of __aeabi_f2lz. Patch contributed by Andrew Turner. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172365 91177308-0d34-0410-b5e6-96231b3b80d8
ib/fixsfdi.c
|
139a106d12a5789561b3244bb34704eb618e4ffe |
26-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Merge lib/Android.mk into Android.mk. Refine Android.mk. Tested and got the same results. Change-Id: I9cfc1ff703116f8a1a8ad94c6b5c63ebfaea937a
ndroid.mk
ib/Android.mk
|
1113f2eaec0611a198ddf4ca0738bbbd50851f01 |
26-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Fix comments for libcompiler-rt-extras. Change-Id: I7fb59120849b436673e115e701b91e7409cdb038
ib/Android.mk
|
7ce46daf86200776204e6ba3ae4fef4ff71808c4 |
25-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[build/clang_darwin] Don't try to run sw_vers if we don't have it. - Also, fix the test this is guarding, which was backwards. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173465 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
9a22a3dab8a3284af86203843a41e2b35e617b09 |
25-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Tests for ICmp handling. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173456 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
3c2999e340a57a663f1b507006becfc49b368473 |
25-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] More fixes to scanf interceptor: stub support for %s, support for %[...] directive git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173451 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
b2efe13f3a0fb9af55cce39a497d951567e78816 |
25-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] improve the calloc overflow check (spotted by samsonov@) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173443 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/sanitizer_allocator.cc
|
65199f1b253c4bfb225805629217acb8f0b1e185 |
25-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix calloc overflow in asan/tsan/msan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173441 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_noinst_test.cc
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/tests/unit/tsan_mman_test.cc
|
6503100c43c8951f436698b47362cdc8c2ec0a69 |
25-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix errors in scanf interceptors: add support for %c and fix cases like %5d git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173440 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
1acfa02e08e6d3316c80f52255cbb7d9e3164128 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: return the old fake numbers from malloc stats (some code already depends on them) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173348 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
|
7885514bf3321b6a027178ff60ac96122c8f7640 |
24-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use stub InternalSymbolizer on platforms where we don't have weak hooks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173347 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
|
e5e3a13b43beee99a0d3ec888a0be170a53af934 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suppress reports using both stacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173346 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
c2b9f1c1d54e857e56462e65155381faddf398df |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow a front-end to provide default suppressions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173345 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
ib/tsan/tests/unit/tsan_suppressions_test.cc
|
110081903bc75de62cf2af9fdf742e7e4b778734 |
24-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add skeleton for InternalSymbolizer that can be used by providing callbacks __sanitizer_symbolize_{code,data} git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173344 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
|
af5bd2ee59a9f7bea74f43fccc6ea48979b7a4b0 |
24-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] run-time tests for adaptive redzones git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173336 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_globals_test.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test_utils.h
|
327c60a02a944fc9e3603d2cc6822af9517135d0 |
24-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] fix compilation on Mac by adding a missing pwrite parameter. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173333 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
bdd844cb41718c27ef727a99a236191bc29a3df8 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement malloc stats querying git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173332 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/tests/unit/tsan_mman_test.cc
|
f0c846b8ef61a5f4bc664c463d643bb8dedc3768 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix pwrite interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173328 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
45e7bcc50eccc9ffe6aa3af65c12b47df20ca731 |
24-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: also test asan during presubmit checks, because sanitizer_common changes can affect it git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173327 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/check_cmake.sh
|
9e6d3b3a9fa14a4f64df83303d562451b88ae11b |
23-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Allow waitpid while in __msan_init(). This is used in symbolizer init. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173263 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
ed847e39a3f993e52fd0a290d08cadf723951ea3 |
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] increase the minimal mmap size in allocator to 2^16; fix the asan Mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173261 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
ib/sanitizer_common/sanitizer_allocator.h
|
e5ab9688b623a5a0150c7eae1ec1caaf06d44758 |
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173260 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_mapping.h
ib/asan/asan_rtl.cc
ib/asan/tests/asan_noinst_test.cc
|
12530820a4d45e799cdbb83e7b3b1e8ef111650c |
23-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add stubs for malloc introspection (similar to what we have in asan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173255 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
|
b8f515ca6788906c1c4fe679aaf9e8ff22f27546 |
23-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173253 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
|
a3b0e5e4f9f48b2ed0baee10c0236eda7c21c660 |
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] simplify the code that poisons global redzones, add some more tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173251 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_mapping.h
ib/asan/asan_report.cc
ib/asan/tests/asan_globals_test.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
|
95d058800ebe11a9fda03b10455500aa4a5b3edb |
23-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] gethostbyname interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173249 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
|
9c6243ca4cafa13c52ca26ca9d05ae893e7c1cb3 |
22-Jan-2013 |
Stephen Hines <srhines@google.com> |
Merge "Improve dependency tracking for compiler-rt."
|
6c3ad94d321cd35345248041a1c132ed00201358 |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove the trap handler code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173161 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_linux.cc
|
e36d0067390988b4f0334ff291f0652587fbe19b |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Follow -msan-keep-going in reports from interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173158 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
e9c10e2e770a054766e6f510ae623e656b8f1c3e |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix linkage type of __msan_track_origins. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173157 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
|
02f4a942bff84f1266571740456dd9baa230d87b |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Simplify test code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173155 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
2efa1420ffc6b42c22b57de2bdf577d6390e137e |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Test handling of volatile bitfields. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173154 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
11929000ec2919192b3be457f5a44c71ed55215e |
22-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Stop using volatile assignments as undef checks in MSan tests. A runtime call is used instead. MSan will stop adding shadow checks on volatile stores soon. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173152 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/msan_test.cc
|
6fcbff5c19dc37c978322e050fba0f1c3bb84bf6 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Disable the new/delete implementations for OSX See https://code.google.com/p/address-sanitizer/issues/detail?id=131 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173149 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_new_delete.cc
|
bea4205c7324f71153a6224665bdc04909ceda10 |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: add output test for -fsanitize-address-zero-based-shadow option on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173146 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/zero-base-shadow.cc
|
bc459cccc292df02314302890a4330840865982f |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove the declarations of pthread_workqueue_t and pthread_workitem_handle_t, which are used no more. Kudos to Jeremy Huddleston Sequoia <jeremyhu@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173143 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
3b9e668d6056cf7fb791e630d931ebaaf59b4981 |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: use Clang -fsanitize-blacklist flag in unit tests (instead of -mllvm) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173142 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
7da5ab2c05bf63d99273f0f033ad544c09432c92 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix the path to ASan interface in interface_symbols_linux.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173140 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/interface_symbols_linux.c
|
53c3f18447bef0a3b96c66e83564aedadc504a57 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Moved interface_symbols.c to lit_tests/Linux. We already have Darwin-specific version of this test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173136 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/interface_symbols_linux.c
ib/asan/lit_tests/interface_symbols.c
|
eba4803ab538007a63d149faf92afc00f73c5128 |
22-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Use dylib interposition to hook memory allocation in the dynamic runtime. This CL drastically simplifies the way we're hooking the memory allocation routines in ASan on Mac by using dylib interposition to replace the main malloc_zone_* functions. This allows us to avoid replacing the default CFAllocator and drop the CF dependency at all. Committing this patch will result in the static runtime being broken. A follow-up CL will switch ASan to use the dynamic runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173134 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_intercepted_functions.h
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
ib/asan/dynamic/asan_interceptors_dynamic.cc
ib/asan/lit_tests/Darwin/interface_symbols_darwin.c
ib/asan/lit_tests/Darwin/lit.local.cfg
ib/asan/lit_tests/Linux/malloc_delete_mismatch.cc
ib/asan/lit_tests/heap-overflow.cc
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/malloc_delete_mismatch.cc
ib/asan/lit_tests/strncpy-overflow.cc
ib/asan/lit_tests/use-after-free.cc
|
c92a42161d8c513c01fd1bcaf60387f50cc4981f |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: simplify build rules for unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173133 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
5e5be21cc6165ae16a3002f0c3bace10c493491b |
22-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: disable flexible mapping and offset on Android. It doesn't work for dynamic ASan runtime there git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173132 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
|
8fb1264341c079eda3e10480fb807a0f52bb8b19 |
22-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] split asan_test.cc even more git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173131 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_str_test.cc
ib/asan/tests/asan_test.cc
|
6cbfae439b81221d2250ffe0331958f130259755 |
22-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] split asan_test.cc more git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173130 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_mem_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
|
38db30686c5962f8b5c877e29c6669d72198d42b |
22-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] split asan_test.cc to speedup parallel build (most important if building with a debug clang, which takes a couple of minutes on this large file with templates). More splits to follow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173129 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_oob_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
|
7c98f2da68cc52708ca80555cbf6a03f613a535b |
10-Jan-2013 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for merge to r171906. lib/asan/Android.mk lib/asan/tests/asan_test.cc - std::sort instead of sort ! Change-Id: I732e257ca465fdff13f706bd0090ca747ea91a1b
ib/asan/Android.mk
ib/asan/tests/asan_test.cc
|
db16931e4f0aa3ffcb5bf4a203905c8bd5654751 |
21-Jan-2013 |
Stephen Hines <srhines@google.com> |
Merge remote-tracking branch 'upstream/master' into merge-llvm
|
44997c354c7cdb5257d9a41c837b12a6133f2d6b |
21-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix linux build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173049 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
8c745fc58d8aca66db1170b1cdbbc0a7743c20a0 |
21-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Move Mac-specific tests to asan_mac_test.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173048 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_mac_test.cc
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_mac_test_helpers.mm
ib/asan/tests/asan_test.cc
|
d0b1d4605b05b744480f0ca54f996578ca216cf8 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: generalize checking for target availability and add initial support for PowerPC native arch. With this patch, building LLVM on PowerPC native arch produces a working ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173044 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
|
5fffb9f49cd7b1237a0bfed0faebf16ef5cdeec1 |
21-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Disable scanf interceptor on windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173037 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
87b52b910037447eccb92546b24b5e06181a1545 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r173021: build tests with zero-based shadow on Android only, fix condition in checking for shadow gap in asan_mapping.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173026 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_noinst_test.cc
|
dcfa17de16e168060d94a9071b282a15a1cad0e6 |
21-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Define va_copy on win32. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173025 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
|
750ef8f4861de855cfb5eacad767248e22dc04f6 |
21-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix thread_name.cc test to work with older versions of libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173023 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/thread_name.cc
|
ee485d42c43635f874e3197f636280a6b0f8c545 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: build unit tests with -fsanitize-address-zero-base-shadow on Linux and Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173021 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_mapping.h
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_noinst_test.cc
|
6935071be08d83963a0eaf2377f3fffb8b56f328 |
21-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Move *scanf declarations out of mac-only section. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173020 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
583336e293ed718109ab2fe0dc4197be9cba6c52 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: build runtime flexible mapping and offset in configure+make build as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173016 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
ake/platform/clang_linux.mk
|
a0a69a4129fc963702b7f96a00838f104a6b3636 |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: use dynamic lookup when building dynamic ASan runtime on Mac, because shadow mapping and offset are defined in the instrumented modules instead of runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173015 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
|
2aed04090856609cdf510b69dd0a1d81b3980b5f |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: build runtime library with ASAN_FLEXIBLE_MAPPING_AND_OFFSET=1 as shadow mapping/offset are always emitted by the LLVM backend now git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173013 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
|
2aad7c137771f6f7a734390e09c94a13120d054a |
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: add functions creating universal runtime libraries for several architectures on OS X and use them in ASan and UBSan build rules git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173011 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/AddCompilerRT.cmake
ib/asan/CMakeLists.txt
ib/ubsan/CMakeLists.txt
|
5162314d9538766717b8b6cf3d4a32e88c34bb57 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Add add_compiler_rt_osx_object_library to create universal libraries on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172979 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/AddCompilerRT.cmake
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
7eca152ea59510d51b01b764fc96852a34e9d6bc |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: use add_compiler_rt_static_runtime to build TSan and MSan runtimes. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172978 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/CMakeLists.txt
ib/tsan/rtl/CMakeLists.txt
|
e16af95daecd44b32940fe910fac2deee3220ac1 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Add add_compiler_rt_static_runtime function and use it to build generic compiler-rt libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172977 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/AddCompilerRT.cmake
ib/CMakeLists.txt
|
250929e797085ddd4ba54fe9872dc25c1647d0a4 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Temporary disable test added in r172828 as it seems to be flaky on the buildbots git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172976 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/log_path_fork_test.cc
ib/asan/lit_tests/log_path_fork_test.cc.disabled
|
9b42f5207c6e99e8f94b790bb4d5a04cdcc1c755 |
20-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r172828: use InternalScopedBuffer in favor of large stack buffers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172975 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
|
97ac43c7cf39e8ad2719b4f395093e7415280577 |
19-Jan-2013 |
Stephen Hines <srhines@google.com> |
Improve dependency tracking for compiler-rt. Change-Id: Ic6751ce9d692f79f984b9bb94246f5c096853316
ndroid.mk
ib/Android.mk
ib/asan/Android.mk
|
53b9203fa772b4325e83be533499328752f2b788 |
18-Jan-2013 |
Stephen Hines <srhines@google.com> |
Define __ARM_EABI__ when working with an ARM target. Change-Id: I861e2774ecb6b05e003b53b7b0014351a0261c16
ndroid.mk
|
72cab375c96b8de5be0cb7d39cdd3e16411782b2 |
18-Jan-2013 |
Tim Murray <timmurray@google.com> |
add aebi_(u)ldivmod to build Change-Id: Id7ee8345cea11723bcefd6d837943979c4119817
ndroid.mk
|
ff86a5f55b46a3a74ba57abbaba9b1274d35a18c |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix a typo from r172289 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172830 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
43b4b9c18a7a588a60b9d976391ad8e2f5f9a309 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: Generalize build rules for different arches for sanitizer_common, asan, ubsan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172829 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
ib/ubsan/CMakeLists.txt
|
dedba5d6b0664218b1b1109f024a1ab151642776 |
18-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix the log_path option to use different log files for parent and child processes after fork(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172828 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/log_path_fork_test.cc
ib/sanitizer_common/sanitizer_common.cc
|
cfa8132a50b375811dc03518aebf9e0b0bb6ae07 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Workaround broken mktemp on certain platforms. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172827 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
392c50d4a56557a51a353509c665188aef115f74 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: create AddCompilerRT module and implement convenience add_compiler_rt_object_library function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172826 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/AddCompilerRT.cmake
make/Modules/CompilerRTUnittests.cmake
make/Modules/CompilerRTUtils.cmake
ib/asan/tests/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/msan/tests/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
|
d6bc93e1f1f9eb1d3cd1ce88891dc5fe28d051f9 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Enable cpplint for .inc files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172825 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/scripts/check_lint.sh
|
82a9080eaff95d69b270cd863e9df63e3b4e59ad |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172817 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
ib/tsan/rtl/tsan_interceptors.cc
|
34421184bc0abb332069b4a75409d16b75b16622 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake: start to generalize rules for non-x86 architectures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172816 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
0ed0f439ae4cec9bb62cf3be61c37596a4ed7087 |
18-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] kill some dead code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172815 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
ib/asan/asan_globals.cc
ib/asan/asan_rtl.cc
|
4f32c0beaa83ffbb84db23d2e6205bee57c39ce1 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Rename 2 files *.h->*.inc as appropriate. Also add a missing include. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172814 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/sanitizer_common/sanitizer_common_interceptors.inc
ib/sanitizer_common/sanitizer_common_interceptors_scanf.h
ib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
ib/tsan/rtl/tsan_interceptors.cc
|
2f3aef010fdeadfe7ec995dc534544acb5f357fb |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
CMake variables renaming: X86_64->x86_64 I386->i386 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172812 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/msan/CMakeLists.txt
ib/msan/tests/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
ib/tsan/rtl/CMakeLists.txt
ib/tsan/tests/CMakeLists.txt
ib/ubsan/CMakeLists.txt
|
843d662b11b50b5f4974d485ccd43f3c509cad14 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Remove an unused variable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172811 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
|
fc4fcf5c6f964f2da6e9875a820eac90399d1deb |
18-Jan-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix compilation on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172810 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
bee7415a86d9437659d09f034c346794bf15c2ab |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Fix Mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172809 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/msan/msan_interceptors.cc
|
541cfb10f5daa17e48eb42365a74233cd551c545 |
18-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix two off-by-one errors that seem to affect only PowerPC because only there the stack top may be equal to the address space top. Noted by Andreas Schwab in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55975#c11 . Also make swapcontext interceptor a bit more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172807 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_thread.cc
|
996c4f2fa53cce8f9d7b517073f38569460de505 |
18-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Common *scanf interceptors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172805 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/interception/interception.h
ib/msan/msan_interceptors.cc
ib/msan/tests/msan_test.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/sanitizer_common/sanitizer_common_interceptors_scanf.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
f1f3182967339d8a2af473e94d39340f464c70cd |
18-Jan-2013 |
Alexander Potapenko <glider@google.com> |
Remove references to pthread_workqueue_additem_np(), which isn't in the official libdispatch API. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172802 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
ca2849c2819b5c7a8771a1e8bc449cf8f5ef6527 |
18-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fixes for Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172800 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
|
c20b321d49f0eff60f1394d56e623d8ca94f24d7 |
18-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] reapply r172719, r172721-172723, r172725, and also fix the warning on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172791 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/lit_tests/thread_name.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
29b37ea8907bc99bf86fab89bf8dc93a520ebac4 |
17-Jan-2013 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Revert r172719, r172721-172723, and r172725. The r172719 patch broke the build on Mac, the others depended on it. compiler-rt/lib/asan/asan_interceptors.cc:78:13: error: unused function 'SetThreadName' [-Werror,-Wunused-function] static void SetThreadName(const char *name) { Orignal headlines: [asan] attempting to fix the Mac build [asan] restructure read/pread/pread64 tests [sanitizer] move write/pwrite/pwrite64 interceptors to common [msan] start using common interceptors in msan [tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172763 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/lit_tests/race_on_write.cc
ib/tsan/lit_tests/thread_name.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
23709c9ad9ac7c45de288f5260403426bf932db7 |
17-Jan-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Have ReExec read environment from /proc/self/environ It is possible for ReExec to be called before the C standard library has initialised itself sufficiently for execv to work properly. Fix this by parsing the environment ourselves and using execve. Differential Revision: http://llvm-reviews.chandlerc.com/D304 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172748 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
18af39e73d651f1903f2d46ac51b3842b378763f |
17-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Add SANITIZER_INTERFACE_ATTRIBUTE to __ubsan_vptr_type_cache Missed this one previously. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172730 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_type_hash.h
|
57db4bae483e7268dd7fc5bc42b0e55564014048 |
17-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] minor changes to swapcontext handling: don't clear shadow memory if context stack is too large git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172727 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_win.cc
|
0fc2f6935568db9252272bd9c00895255d7f78b9 |
17-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: Allow __asan_get_allocated_size(malloc(0)) to be 0 or 1 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172726 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
|
9289ff13180a35241d3326be3a8e1edf6f45dc9b |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] attempting to fix the Mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172725 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/sanitizer_common/sanitizer_common_interceptors.h
|
c39ea447d6632314d6e0198b3559830298df5155 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] restructure read/pread/pread64 tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172723 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
153ba3f41d8f6ad1641ae76cfdf01445cec9db89 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] move write/pwrite/pwrite64 interceptors to common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172722 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/lit_tests/race_on_write.cc
ib/tsan/rtl/tsan_interceptors.cc
|
14ea1d5351c132f96bcbe23595019377db60588e |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[msan] start using common interceptors in msan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172721 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
|
e03345ba3da0450f7ff1410de6a2a00fd304089d |
17-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] More interceptors. strtod and friends, dladdr, getrusage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172720 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/msan_platform_limits_posix.cc
ib/msan/msan_platform_limits_posix.h
ib/msan/tests/CMakeLists.txt
ib/msan/tests/msan_test.cc
|
0223e7dece2c215ed07e2100e1739fa5bf4d8210 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172719 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
ib/tsan/lit_tests/thread_name.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
220ba2f6f98d44e1e8a88b4dee8ed456cf54ff33 |
17-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix __asan_get_ownership(p) and __asan_get_allocated_size(p) for the p = malloc(0) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172717 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_noinst_test.cc
|
7be1cc87ba99036519437518ec8eb9231916241b |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan] add write_range/read_range hooks to common interceptors called from tsan (to find races on read/pread/etc) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172714 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/race_on_read.cc
ib/tsan/rtl/tsan_interceptors.cc
|
c8033193376c3326478a345c4ae6633d4d2862c6 |
17-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] a bit more unification for interceptors (merge read/pread/pread64 in asan and tsan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172713 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/tsan/lit_tests/thread_name.cc
ib/tsan/rtl/tsan_interceptors.cc
|
ad9d802b1564f3fcb7b05f0e00e8dce928b99bbc |
17-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix a bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172712 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_lfstack.h
|
f09086c028f37c9a8cf2582d4b4e922b16470a69 |
17-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix a bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172710 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_lfstack.h
|
0c7f61c7f0a6981a1722aea325500ce80dc08a04 |
16-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix ARM build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172613 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
e1760eadf00d1cd84c5b314d1b42f6614dff2ed6 |
16-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: fix the memalign handling (clear the first word of allocated chunk in case there is an old memalign magic) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172603 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
e2399c731b6599f7d608bf5dbbd0b92e1d71fd31 |
15-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] enable asan_allocator2 by default on Linux. Will enable it on other platforms and remove the old one later, after additional testing. The new allocator is much faster and uses less memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172531 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
281ba4f28aecdf1c350c164768894c7f3962b9ff |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix standalone malloc implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172529 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_testlib.cc
|
40265e87a8823589b4af7c3d64fa4194ad91de33 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix the constant for new allocator cache git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172526 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
b10a5621daa804f3a2b18fbe75d5fed2a4aeadd3 |
15-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] hide PR_SET_NAME under an ifdef (for older kernels) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172523 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
db1b58a0a513fed750bf1bf4eac5544ee4c35565 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: correct non-temporal prefetch for memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172522 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
ce8674f1b8ff975f5fbb8cddc7b704d102c34a01 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: faster thead-local cache for memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172521 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
5490b286555098330d9370148c153904d6046d31 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172520 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_testlib.cc
|
8b29217930dc4f8730cfecbdcb1c7041e1ea735a |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix bugs in the testlib git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172519 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_testlib.cc
|
084e445f0d5db096baf8f8d56078e57be581fe90 |
15-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: rename the file (it's not 64-bit specific anymore) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172518 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
ib/sanitizer_common/tests/sanitizer_allocator_testlib.cc
|
2173dc70641466e166b5f9485bdb3a26eaa2ba1f |
14-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Use __sanitizer::atomic_exchange(), prefer shared impl. Specify weaker memory order in case we optimize for it in the future, presently still doing same __sync_lock_test_and_set() as before. Change suggested by Alexey Samsonov, thanks! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_value.h
|
48ddbef1d051875b2d0b204e8d78300b58d80a85 |
14-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Move large part of asan_test_utils.h to sanitizer_common. Move my_rand() to the common header. This lets us avoid the use of rand_r in sanitizer_common tests. There is no rand_r on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172421 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/sanitizer_common/tests/sanitizer_test_utils.h
|
639acd06b6436ab30ab934a9111b6d1348e92855 |
14-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fix-up copypasto from r172410 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172419 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
|
53833ea8d697c9a92719ab630e605ab590f46193 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172415 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
539f5e75b637d1ad92735b05fe89b34174cfe33c |
14-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Build rules for sanitizer_common tests on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172410 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
|
0d02d75ca1e34217cb762ec2b5cc13a88993ba94 |
14-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Remove thread-locals from sanitizer_common tests. Not supported on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172408 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/sanitizer_common/tests/sanitizer_list_test.cc
|
29e09223b9d4f53f1be528d6a572b66034c26611 |
14-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: Disable alloc/dealloc mismatch test on Android. It's not supposed to work there git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172398 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
f7de01fc97aea34f94cb76ed33692c2534a1a607 |
14-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] use the slow CFI-based unwinder when reporting an error. Still use the fast unwinder for malloc/free. Linux-x86-only for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172397 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
8ef9ac9a6a9866c2119fb74fa1ca212dc53a46cf |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: mmap shadow memory before allocating memory (otherwise other threads can access non yet allocated shadow) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172395 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
8f0e311767b783db4a15139dddfe7a924fa3724e |
14-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: Disable alloc/dealloc-mismatch checker on Mac for now (it produces weird false positives on googletest) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172394 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/tests/asan_test.cc
|
fb917e9069ea44f7103f50c658be84a8f66de56c |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: describe stack and TLS addresses git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172393 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/mutex_destroy_locked.cc
ib/tsan/lit_tests/stack_race.cc
ib/tsan/lit_tests/stack_race2.cc
ib/tsan/lit_tests/tls_race.cc
ib/tsan/lit_tests/tls_race2.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
1b2f0306ef6cac2a4c42a80b467a92e9e62b3e5a |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: enable allocator version 1 by default git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172392 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
d618867d19e4d278e8040e1529f50287c6a4eea5 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix memory allocator statistics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172390 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/sanitizer_common/sanitizer_allocator.h
|
c0dbb80bf0eac2771da6faefa5c22155ed4fd33b |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172389 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
b48224c8d19cac76f2af1eba158b9ae26ed1608a |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: faster memory allocator 1. Increase size classes from 32k to 128k 2. Use lock-free stack in central cache 3. Use blocking mutex when allocate new memory with mmap git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172388 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_lfstack.h
|
d164ed175a61529589938b3db3cab076a19acf67 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix cmake warning (unused private field) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172387 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
1a3503b1c6c707705bf2ebc33343da0b04e3a26d |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add the FIXME git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172386 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_clang.h
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
48526014de78e21f7ed027a60670016bc7f5d292 |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix compilation errors in mutex git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172385 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_mutex.h
|
3ede807f3a02bdbcebf3e635bf2aeacf1c0082bd |
14-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] add more frames to standalone_malloc_test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172383 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/standalone_malloc_test.cc
|
31dc66f6492773e974d32bde84d5d2df9c35a82b |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: add missing file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172381 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_mutex_test.cc
|
f4f51f2cc6fa936f0c65577f82e6b62989d546ee |
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: move blocking mutex from asan to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172380 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_linux.cc
ib/asan/asan_lock.h
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/sanitizer_win.cc
ib/sanitizer_common/tests/CMakeLists.txt
ib/tsan/Makefile.old
ib/tsan/rtl/Makefile.old
|
4785a776d09fb36bb2b162c3be40cd7ca017fce0 |
13-Jan-2013 |
Tim Northover <Tim.Northover@arm.com> |
Implement __aeabi_lcmp and ulcmp Patch contributed by Andrew Turner. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172366 91177308-0d34-0410-b5e6-96231b3b80d8
ib/cmpdi2.c
ib/ucmpdi2.c
|
edd477b676fa061cd795f411e0b452b3cb3c6940 |
13-Jan-2013 |
Tim Northover <Tim.Northover@arm.com> |
Correct name of __aeabi_f2lz. Patch contributed by Andrew Turner. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172365 91177308-0d34-0410-b5e6-96231b3b80d8
ib/fixsfdi.c
|
219f1741dad7b8ea07851ac1d96d3b0a99198d44 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix FIXME on windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172226 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_win.cc
|
a343ca04767218fd05dd9557ed4d180b55b7fb11 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: faster memory allocator replace lists with arrays git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172217 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
b1bd208bfa496391085056b1709542b80dcfb21e |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: add memory prefetch to quarantine recycle git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172216 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
f99b94e19022f473b8de15a793801fd5deb5ba7e |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: add memory prefetch to quarantine recycle git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172215 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_quarantine.h
|
09575a176caef64cf43f3eac8e197ee4f55572bd |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: improve allocator benchmark git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172213 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/standalone_malloc_test.cc
|
6a2979405346d2916a11c220c222e56eac6ea907 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: weaken memory ordering, it's expensive in current implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172210 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
abb1febb6046fbc5fc30c7872dd06b27d0fb51f9 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: improve the benchmark git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172209 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/standalone_malloc_test.cc
|
e3c35c7e30ce24b76f1e67eb049cf9e84c9b89d8 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix format string in CHECK git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172203 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
|
f79419553c6a636a4304cd40bda3e6d581e6137e |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: prevent inlining of cold function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172197 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_quarantine.h
|
9327e78387122fbb04e3126f2fff721ed784aa51 |
11-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fid asan_allocator2 build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172194 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
ce17384b74b0dda2e246ce1dedf29b5d46df9c60 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: always pass allocator cache to Allocate() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172193 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
|
a61ec8172611a75d80e86355352c7b2dd3cb8125 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: faster quarantine git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172192 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/sanitizer_quarantine.h
|
175e6407c9d5f8bd0f36abd9c020e3888134ebd3 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compiler warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172191 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
312de6a1ac31d295d5ae592084e605b03661acdb |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix bug in list implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172187 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_list.h
ib/sanitizer_common/tests/sanitizer_list_test.cc
|
8ad3576df9cc1e8fe3c14da7576670686b51e4e6 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: set ASAN_ALLOCATOR_VERSION=1 back git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
9fc0df892cab8735e7de0e86e995a3202c42cf82 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan: Refactor asan memory quarantine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172183 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_quarantine.h
|
5a1f23310cc4a1debae8741653defe620518e612 |
11-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: symbolize global variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172181 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/tsan/go/tsan_go.cc
ib/tsan/lit_tests/global_race.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_symbolize.cc
ib/tsan/rtl/tsan_symbolize.h
|
c193953bf3993760a0be8ae20cf716795d2102cd |
10-Jan-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
UBSan: use %p not 0x%zx when printing pointers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172129 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_diag.cc
|
a44110995241d30a886d711cbc33f65269b170ea |
10-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Move attribute specifier to fix build with gcc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172078 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_handlers.h
ib/ubsan/ubsan_handlers_cxx.h
|
800344cb2d3a71f4c05ac2d330224720292c29df |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] better statistics for the large allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172069 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_linux.cc
ib/sanitizer_common/sanitizer_allocator.h
|
0b9218ab2b68401673c5d6225c9833bd58003ed4 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the non-cmake build (2-nd attempt) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172068 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/standalone_malloc_test.cc
|
3bf34d62f2e9458321f9a3392426e862e1bd1148 |
10-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: fix comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172064 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
1045df665c7b314991fbdbe0eadd11b003574a04 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the non-cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172063 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/standalone_malloc_test.cc
|
a62440a464092ece8c068b57214ad3d13ec39b4b |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add standalone_malloc_test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172061 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/standalone_malloc_test.cc
|
f5d4273457ca3d26e6cf658b266cd61062a65101 |
10-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add check for invalid fd git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172060 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
b8a59a0e030d0aacf4df1fe8f7fb4e6f82bab654 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] don't fail the test if prctl(PR_SET_NAME) is not supported git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
99bf1d71c634ab0ed39d7614fd8f8f2c2201e111 |
10-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Set program exit code in keep-going mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172057 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_linux.cc
ib/msan/msan_report.cc
|
e16adbc3b6307d8be592dffda8c3720702d39cfa |
10-Jan-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add soname to the dynamic runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172055 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
b3ef8a4521954d1ca5e728446c389e1f8cc01fc4 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: do less work under the quarantine lock; make the strcasecmp test more resistant to the contents of unaddressable memory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172048 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_test.cc
|
7125bb35fb2351040534a194c9c1aa8cb71cfb19 |
10-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] better protect the tests from memset/memcpy inlining, explicitly include unistd.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172045 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
90ad168560fa07fcc21c88d5710a05f851ecafcf |
10-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Give entry methods default (not hidden) visibility. Fixes using ubsan on shared libraries in linux, for example. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172041 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_handlers.h
ib/ubsan/ubsan_handlers_cxx.h
|
a597258803f870d859e2e8b18bbb4fabf4d5a3f8 |
09-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect races on fd passed to epoll_ctl git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171981 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_fd.h
ib/tsan/rtl/tsan_interceptors.cc
|
5e10443518154a9d68d299ef65a0a99ed42193b7 |
09-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make the slow unwinder a bit more robust. The unittests pass with fast_unwind_on_fatal=0, but I still observe some differences between the two unwinders git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171973 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
b1d1ef27db5b6c7788cda3dfd5deb6037dd4a3b8 |
09-Jan-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Satisfy lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171970 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
0cf7eefe0e7cafd357961e91e2efb7f7f363bf19 |
09-Jan-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Unbreak the 32-bit RTL build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171968 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
f17b3822b22751f09549ab563cc5ca61d072b2e8 |
09-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when user defines own fopen/fileno git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171967 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/user_fopen.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
bb30741133d0053d242e9aef869c6d19e18cbcea |
09-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when user defines own fopen/fileno git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171958 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/user_fopen.cc
ib/tsan/lit_tests/user_malloc.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
a6a69d6bfc868d85cdf9e81171071f9076fa2499 |
09-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Drop use of __atomic_exchange_n for now to fix build for some. Need a more reliable way to check for support of this intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171955 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_value.h
|
2af552f98f980178db37eed28a609b6bf55f6df8 |
09-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Add deduplication functionality, always enabled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171948 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Misc/deduplication.cpp
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers_cxx.cc
ib/ubsan/ubsan_value.h
|
01247b76902f2329f6edf4b9b8e95fc1be06c400 |
07-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Check for appropriate types on compound assignment overflow diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171802 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/no-recover.cpp
ib/ubsan/lit_tests/Integer/uadd-overflow.cpp
|
a1e12a69d84c089b289e59bac350160d2eca92f5 |
01-Jan-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Update the copyright coredits -- Happy new year 2013! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171342 91177308-0d34-0410-b5e6-96231b3b80d8
ICENSE.TXT
|
f359dea95de4a17287d11052e9b552100c152287 |
31-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow. Fixed version of r171273. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171278 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/ubsan_handlers.cc
|
9202515bf430858117d117d98136a865feb1a281 |
31-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r171273 which doesn't actually compile. Original commit message: [ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171277 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/ubsan_handlers.cc
|
7ba7f0d7f2df4a55e376b0477fc3268a82588bf3 |
31-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171273 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/ubsan_handlers.cc
|
7324b65a1ae320b6f179470ce5bae26d4b14f268 |
30-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Update test now that check recovery is default and has driver flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171265 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Integer/no-recover.cpp
|
13ddcf695e10bed51faceff49469e1c83d64b51c |
29-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make LargeOOBInMemset test resistant to clever compiler optimizations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171223 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
17a7c6763224300f6740b5e7fae274734afec675 |
29-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a new interface function __asan_describe_address, useful for running asan-ified binary under a debugger (e.g. gdb) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171217 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
|
c0d37b35439897aea821319a669832b16848cb65 |
28-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a build warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171200 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
681e775893cc85c5f0c7dd48e30494323fff1580 |
28-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] one more change missed at r171198 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171199 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
|
eb2809311c94b73c269ccef8d68ae368642e5754 |
28-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement more strict checking for memset/etc parameters. Instead of checking the first and the last byte, we check the entire shadow region. This costs ~10 slowdown for the instrumented functions. Motivated by a nasty memset-buffer-overflow-by-140-bytes in chrome which was reported as a use-after-free or not at all git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171198 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_rtl.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
a6d4cf7c4be9b81793ea6be63c4b92d9c162a66c |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use macro instead of raw __attribute__ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171188 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
|
89efdc5f601988a96413585da55dfd9ffc396509 |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Blacklist test: Rename blacklisted function. Make this test work for custom TSan testing script. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171186 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
ib/tsan/lit_tests/Helpers/blacklist.txt
ib/tsan/lit_tests/blacklist.cc
ib/tsan/lit_tests/test_output.sh
|
7e3d21fac4e6407b04f9948309f86adc609720ab |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add lit test for -fsanitize-blacklist= flag git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171185 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/Helpers/blacklist.txt
ib/tsan/lit_tests/Helpers/lit.local.cfg
ib/tsan/lit_tests/blacklist.cc
|
55425eb7ad3f18a1f740e0e445bc79a012429766 |
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171181 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/global-overflow.cc
ib/asan/lit_tests/heap-overflow.cc
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/null_deref.cc
ib/asan/lit_tests/sanity_check_pure_c.c
ib/asan/lit_tests/shared-lib-test.cc
ib/asan/lit_tests/stack-overflow.cc
ib/asan/lit_tests/strncpy-overflow.cc
ib/tsan/lit_tests/mutexset1.cc
ib/tsan/lit_tests/mutexset2.cc
ib/tsan/lit_tests/mutexset3.cc
ib/tsan/lit_tests/mutexset4.cc
ib/tsan/lit_tests/mutexset5.cc
ib/tsan/lit_tests/mutexset6.cc
ib/tsan/lit_tests/signal_malloc.cc
|
4b48f4563ca25d8915155acc5837e195cf0e5c57 |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add statistics to the allocator; fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171161 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_stats.cc
ib/msan/msan.cc
ib/msan/msan_report.cc
ib/sanitizer_common/sanitizer_allocator.h
|
d7d7b5f39cf5bbc36403afb0a94d473519c7ab78 |
27-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
Define COMPILER_RT_CAN_EXECUTE_TESTS variable on platforms where we can produce working binaries and use it in build rules for sanitizers tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171160 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/lit_tests/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/msan/tests/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
ib/tsan/lit_tests/CMakeLists.txt
ib/ubsan/lit_tests/CMakeLists.txt
|
4b8fb65802eb47564fbbd4dee1d3e40d892837fe |
27-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Explicitly link unit tests with libstdc++. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171151 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/CMakeLists.txt
|
478b4932f7af7c7a35c07399f2b977efe236453d |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] enable alloc_dealloc_mismatch by default git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171147 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
42383abd153b1843fa2695542065fa956ebb41ad |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] relax asan/lit_tests/malloc_delete_mismatch.cc to make it pass on Mac 10.7 (where extra frames creep in between malloc and main) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171145 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/malloc_delete_mismatch.cc
|
a54aec8ca2e372b1a841d605d53cab5e336aeb03 |
27-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] when unmapping a chunk of user memory, apply madvise(MADV_DONTNEED) to the corresponding chunk of shadow memory. Also update sanitizer_allocator64_testlib.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171144 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.h
|
9c92748b8fa3b833924138a6ae1e653972c9de3b |
26-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Teach ASan to print demangled function name when describing stack frame git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171112 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/lit_tests/stack-frame-demangle.cc
|
709a33e1cf20eb7f00653fe32dc07714b3f2c633 |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: do not align the requested size to the redzone size (saves a bit more memory) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171111 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_malloc_linux.cc
ib/asan/tests/asan_test.cc
|
c35314a119aba6d5e7fa0a06024f9cb1c49e6f5f |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: implement adaptive redzones. Now with asan_allocator2 allocations <= 48 bytes have 16 byte redzone, allocations of 48-96 bytes -- have 32 bytes redzone, etc (max redzone is 2048). If ASAN_OPTIONS=redzone=n is set, it changes the minimal redzone size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171107 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_rtl.cc
ib/asan/tests/asan_test.cc
|
c209ba663c30e2e578fa64811ba9efb537f51669 |
26-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] MSan, New Year Tree style. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171106 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_report.cc
|
db010dae23962ab6089ad1e97af176b7215cb35c |
26-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Refactor report printing. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171105 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/CMakeLists.txt
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_report.cc
|
806c491ee17ed34c6385e84e416be15ed9521f3c |
26-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] attempt to fix InterlockedCompareExchangePointer intrinsic on MSVC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171104 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
4c9ddc143839c9f4b79152737cd2869c99e8e86d |
26-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Check for conflicting memory mappings. Check for conflicting memory mappings before attempting to map shadow. Helps avoid segfault on Linux with disabled ASLR. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171100 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.cc
ib/msan/msan_linux.cc
|
9e3bd38388a7c182db57f6e3fc0943e6d12f012e |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: by default use the StackDepot to store the stack traces instead of storing them in the redzones git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171099 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/sanitizer_common/sanitizer_stackdepot.cc
ib/sanitizer_common/sanitizer_stackdepot.h
|
111a0716d714aa2597e333d160cf1f271695bab7 |
26-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: store the user requested size in just 32 bits (larger sizes use metadata). This allows to put one more 32-bit field into the chunk header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171089 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
|
7b719dfce8178bdfbcd8a24893153ef82ab70be5 |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Improve recvfrom interceptor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171071 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/msan/msan_platform_limits_posix.cc
ib/msan/msan_platform_limits_posix.h
|
4b943e94dd50130f19e32ffb9f6e697d45951a85 |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add MSan unit tests to check-msan and check-all. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171065 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/tests/CMakeLists.txt
ib/msan/tests/lit.cfg
ib/msan/tests/lit.site.cfg.in
|
0231c50f42e735739041f3b4b4ce17e1742bed69 |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
MemorySanitizer unit tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171062 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/CompilerRTLink.cmake
ib/msan/CMakeLists.txt
ib/msan/tests/CMakeLists.txt
ib/msan/tests/msan_test.cc
ib/msan/tests/msandr_test_so.cc
ib/msan/tests/msandr_test_so.h
|
97edeb3e6270b05cb3ece0d5b6f0ea1f0ba1398a |
25-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Fix header comments. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan.h
ib/msan/msan_flags.h
ib/msan/msan_platform_limits_posix.h
|
f1877cf0a314f407ac535ab1606fdac4f9b05026 |
25-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test for right OOB with special large sizes. Fix this test in asan_allocator2. More test tweaking for allocator2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171058 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_allocator.h
|
81088ebf34c3ef1b8ac3a9789d3896c7b9a93003 |
25-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix tests to consistently use internal functions (otherwise it leads to false positives) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171057 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_common_test.cc
ib/sanitizer_common/tests/sanitizer_flags_test.cc
|
bb5d0575f9b1100a326f125c7cd8224938af5693 |
25-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] increase the maximum size class of the fast allocator. This should save quite a bit of memory in tsan/msan (and later in asan). This also puts more stress on the large allocator. Add a couple of checks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171055 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
491d34b7b75c42ac746ce90cda5a124bda038383 |
25-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix the code that searches for heap memory block metadata (the old code won't work with new allocator) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171054 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
|
e52810d7144ca35bbaeca0b28d138b386ab90243 |
25-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] properly define ASAN_LOW_MEMORY. Due to a mistake it has been always true causing redzone and quarantine sizes to be smaller than it was some time before (and out of sync with the documentation). Also make one test less greedy git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171052 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/tests/asan_noinst_test.cc
|
68d3a1bae35be595faf7d9f028a268f390501029 |
24-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix gcc warnings, enable one tests under asan_allocator2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171036 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
b8c363d3087128a05b18bbcf5ce0942607e34396 |
24-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] make LargeMmapAllocator::GetBlockBegin faster by not using a linked list git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171035 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
bd88c187a9eaed794b9098aaf147f9dada8c5131 |
24-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: work around FileCheck feature that it does not accept empty input git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171034 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_close_norace.cc
ib/tsan/lit_tests/fd_dup_norace.cc
ib/tsan/lit_tests/fd_pipe_norace.cc
ib/tsan/lit_tests/fd_socket_connect_norace.cc
ib/tsan/lit_tests/fd_socket_norace.cc
ib/tsan/lit_tests/fd_socketpair_norace.cc
ib/tsan/lit_tests/ignore_race.cc
ib/tsan/lit_tests/java_alloc.cc
ib/tsan/lit_tests/java_lock.cc
ib/tsan/lit_tests/java_lock_move.cc
ib/tsan/lit_tests/java_rwlock.cc
ib/tsan/lit_tests/test_output.sh
|
421841f28b599a55442d1feafbca0bece5078729 |
24-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove static reference to glibc internal _dl_get_tls_static_info() (this breaks RPM packages) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171033 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
038820fbab7e77c546b2c37bf674824980320f18 |
24-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] rework the size class map in the sanitizer allocator: make the differences between size classes more uniform. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171031 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
b843c1fcc203accc4f37a784cb067904b3e79abe |
24-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more defensive file descriptor verification to prevent assertion failures on code like "write(-1, ...)" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171030 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_alloc.cc
ib/tsan/rtl/tsan_interceptors.cc
|
cab6133c5d7478e96882cb54467e29b3716c0d89 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2 fix two asserts that happen on full chrome: a) memalign called with 0 size and large alignment and b) malloc called after TSD has been destructed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170900 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
|
032e833059a673a21facc8e726b5c0c9d1a13d2e |
21-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] CMake build rules for unittests: depend on headers when compiling a file with custom clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170897 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
|
fc2bebfdc285342fd00b57c2547cf85357ed3991 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add java malloc stress test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170896 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_alloc.cc
|
aaf72105312691e623c7cb05333a7f0e698f62f8 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] mmap less on every size class to make the allocator more friendly to small programs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170895 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
830ca04ee29e1c28f0188b6091ae1fa7c8871551 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add java rwlock test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170894 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_rwlock.cc
|
5ba3fec47c5d55d12caf83728f93ea5de8af799c |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a test for java memory move git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170893 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_race_move.cc
|
429ccc808d255b82f3924250028eb4747d7a84cc |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move common part of java tests into a separate header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170892 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java.h
ib/tsan/lit_tests/java_lock.cc
ib/tsan/lit_tests/java_lock_move.cc
ib/tsan/lit_tests/java_race.cc
|
c3d708b5e27a8c952c44155df46a2c56d2aafb5d |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Java memory move operations and add the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170891 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_lock_move.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_sync.h
|
dae1251f196f9694d428a04f14987b06112ae52c |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: less debug output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170889 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
e11c5c5a8cd6e448ddf3c69f783eb655cf4aab01 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: better memory stats git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170888 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_stats.cc
|
9050e30ec68383ef9a722cd2a2458a8a33e55644 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update mutex lock table for java git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170885 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_lock.cc
|
f4e4f9393ed1cf9cbefaafc6ea8fd9b89fea4bcf |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update mutex table for java git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170884 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
ef86724015d7882c2d3e614e0f72bffe10cb762b |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: java: move shadow memory on GC compaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170882 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_java.cc
|
25a972873bd4c2143ea85324a47a9573a1d430c8 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a high-level comment to tsan_interface_java.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170881 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_java.h
|
03ef193f5310f62989285d88cd0e54e05f927769 |
21-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix another FileCheck pattern to be c++filt-proof. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170878 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/malloc_delete_mismatch.cc
|
4dc30820d34372c419fd44dda2bdb6383a480ce7 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170877 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
4de5864fa631dbba52670dea2503b8540390f176 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable checks for limited address space and unlimited stack for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170876 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
32b8991f961e585ccfe1710f5402a14b4e44cecc |
21-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Don't implicitly add object files to the list of dependencies when building compiler_rt unittests. Fix sanitizer_common and asan build rules accordingly. This also fixes check-sanitizer command on Ninja. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170870 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/CompilerRTUnittests.cmake
ib/asan/tests/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
|
fe6d91684bcda766593800f6307233f1a33d31f6 |
21-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170869 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_mac.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_new_delete.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/deep_stack_uaf.cc
ib/asan/lit_tests/malloc_delete_mismatch.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
|
d37c272621befc2f3b17c9e581ed970fbfbfae64 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add lit test with statically linker libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170866 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/static_init6.cc
|
fa429bd7600da45075f16b6f6dc5e8c57e61b2c6 |
21-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use clang in cmake build + add -Werror git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170844 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/check_cmake.sh
|
be9796d7148b89f20ca04ffdf3fa98ac84bd1141 |
21-Dec-2012 |
Richard Relph <Richard.Relph@amd.com> |
Clean up some warnings that become errors. Seen in Xcode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170843 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_test.cc
|
21cc85db95b8fa85a9ff7a403c8a24e345d73baf |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: java interface implementation skeleton git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170707 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
|
e01f96be0daecec81f41b46377508885d83bb584 |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove duplicate entry in shadow byte legend git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170701 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
f85c06ca511747eba94ea8439581c6355980cdba |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix CMake build rules for sanitizer_common tests to respect universal static libraries on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170698 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/CMakeLists.txt
|
b34cf49e723cf28a27ce3a785da937d82c6484b9 |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: implement memalign git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170697 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/tests/asan_noinst_test.cc
|
49ca997ce324b816688f584d417f271e7c7fcd9b |
20-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[*san] Create unittests output directory, if it does not exist. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170696 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/CompilerRTUnittests.cmake
|
98263a15a58069934433b07439a594b2c178e7d9 |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add cmake build and tests into presubmit script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170695 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/check_cmake.sh
|
0414b25ab6bd328b96bd48a70382954f30894edf |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Modify CMake build rules for sanitizer_common unit tests: build them with fresh Clang for both 32- and 64-bits (if possible) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170691 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
ib/sanitizer_common/tests/CMakeLists.txt
|
1894f4a6827c55122fc24a931766c29705ec0bfb |
20-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Make the FileCheck pattern more c++filt-resistant. This test didn't pass for me locally because of "T0's stack" being converted to "T0'short stack" by c++filt. Strange enough this doesn't show up on our bots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170690 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/use-after-scope-inlined.cc
|
1d4b96decf8bdf9d07f17a851d64d6b0e57bd4e8 |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170689 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/CMakeLists.txt
|
c311105fd64219bb96b6467c3707ebda355be87b |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add memalign tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170687 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
73bad81febb2a872627c03e579beea1da4b49294 |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a flag poison_heap to allow better allocator benchmarking, implemenet malloc_stats() on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170685 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_flags.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_rtl.cc
|
e78b620d10b4c59871480a130c10588a124d05f4 |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add java interface implementation stub git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170681 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/java_race.cc
ib/tsan/rtl/tsan_interface_java.cc
ib/tsan/rtl/tsan_interface_java.h
|
376bab8add6be88f649ef1a9127c7d39e76e5f7b |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: make all remaining tests pass. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170680 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_thread_registry.cc
ib/asan/tests/asan_noinst_test.cc
|
5d6963b766ed5dd2fcb14dc547ca1ece852ef61e |
20-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add Java interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170679 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_java.h
|
0b770b48e4ae053a7d0610e1c682405afba58fda |
20-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add ASAN_PCRE_DOTALL to two new multi-line regexps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170677 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
2f66ab25cbb000289b79bca042b4136d92331b44 |
20-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't use -fsanitize=address linker flag for unit tests on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170670 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
ab6374326389ff649ad857842b45488721c949db |
20-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Move C++ name demangling support from ubsan into sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170666 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_itanium.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/ubsan/ubsan_diag.cc
|
c47a45154543b5eba68c9473d3ed807927027cf3 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] explicitly link with dynamic ASan runtime when building unittests on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170552 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
bf231869c38e1d635c974781357f6ac3de65fb79 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Support building both 32- and 64-bit unit tests if we can target both architectures git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170549 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/tests/CMakeLists.txt
|
e3091193af47f4932b42ba1773416dfeb3aa2e87 |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: add mmap/munmap stats git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170548 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_stats.h
ib/asan/asan_thread_registry.cc
|
8925b71d67f03065e1c3871c4474e91bcb88f999 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make sure Android unittests depend on ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170543 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
02dcc63dde3106c24999040768a5eb52f99fedda |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
Significantly change the way we build ASan unittests in CMake build tree. Now just-built Clang is used to: 1) compile instrumented sources (as before); 2) compile non-instrumented sources; 3) compile our own instrumented version of googletest; 4) link it all together using -fsanitize=address flag (instead of trying to copy linker behavior in CMake build rules). This makes ASan unittests pretty much self-consistent and independent of other LLVM libraries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170541 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/CompilerRTCompile.cmake
make/Modules/CompilerRTUnittests.cmake
ib/asan/tests/CMakeLists.txt
|
37a14418e494d3dfb27cd6bddcd9855df2c80ff5 |
19-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Change the boilerplate check in the libdispatch tests to fix them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170531 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
9514a53d7b56be6302c666291b21c0387f7ceca8 |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] print the shadow bytes in different colors and also output the shadow byte legend git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170520 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
1e3657c26f281fe6dd43d867e60271c72bb71798 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] build only gtest-all.o when building TSan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170519 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
e6867ac8d2d2ecb631d39c5dd94ccb4801d64094 |
19-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add lint check back into presubmit script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170515 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
c5df5fba6028ff2777bd21d2ba855ffae3ec52e3 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add missing header on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170514 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
2592d766401edb3d36676f1f522592f1d5fb2b07 |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: improve FindHeapChunkByAddress to find memory chunks to the left of a given address. Almost all tests pass with the new allocator now, only 6 are left to fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170511 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_allocator.h
|
2bac661ab19b8657f42c5bc4f2abd03dd75e51c2 |
19-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement internal_isatty on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170507 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
b75c67b495ca13801cc629b2c2c9dd0010e54739 |
19-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix -Wgnu warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170499 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/rtl/Makefile.old
ib/tsan/rtl/tsan_interceptors.cc
|
b1f21c69e02d99944c66e0520d07d8c14d99756f |
19-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] one more stability fix in 64-bit allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170498 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
da1f82bcbe50b28d11e93eacdcd529e9f0e2ef38 |
18-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix LargeMmapAllocator::GetBlockBegin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170434 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
4554b7a7b345cd50ff8138b3cda8dd1135b965fa |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept fork() to prevent false race reports on fd's git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170433 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_fd.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_sync.cc
|
11edbbbbf96c11da65bb6e9a2dde303f4bdfde7d |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: warn about reports from signal handlers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170430 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
45d4324bf5b0ec282f0a8f96312233e09a882502 |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add signalfd() and inotify_init() interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_fd.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
e3178e8fab67e77165978006928228f9be2ce30d |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add io_sync flag that controls amount of IO synchronization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170427 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
|
0b1137574d93882f1e1ba4f463139345cec7afce |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove TSAN_OPTIONS from the script The runtime skips atexit sleep if there are no threads now, so it must be fast w/o it. Allows to specify own TSAN_OPTIONS for the tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170426 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/test_output.sh
|
d2f08ffcb97726452f4ba11c199a1e06dc2a7e54 |
18-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Expose StackTrace::GetPreviousInstructionPc() to get PC of call instruction from return address git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
ib/tsan/rtl/tsan_interceptors.cc
ib/ubsan/ubsan_diag.cc
|
0ad23f7f860e27b8b9a889be665cfaea830503ce |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Demangle class names, and be more informative when a reinterpret_cast has got us to the wrong offset within an object. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170423 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_diag.h
ib/ubsan/ubsan_handlers_cxx.cc
ib/ubsan/ubsan_type_hash.cc
ib/ubsan/ubsan_type_hash.h
|
58f54555c2528f863e211a0679c2c423cfa55fb2 |
18-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add some colors to asan output if printing to tty (following ubsan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170418 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/sanitizer_common/sanitizer_report_decorator.h
|
c2234cd922bbd94e276e0bebb08004d63cbc5cf2 |
18-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: describe "file descriptor" location git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170417 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_location.cc
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_fd.h
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl_report.cc
|
25ee97fe8ada76755c8bd1087fac9cc3cd03b28c |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: When diagnosing something wrong somewhere in memory, emit a note pointing at the bad location and a snippet of nearby memory values. This is strictly best-effort; reading these bytes to display the note could lead to a seg fault, and that's explicitly OK. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170415 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_diag.h
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers_cxx.cc
ib/ubsan/ubsan_type_hash.cc
ib/ubsan/ubsan_type_hash.h
|
01e9a38b8cfe8967efb259978b754c3a9f0c380c |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Don't escape %s in printf usage message; it's not written by printf. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170413 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
5f1164955fb28a9bcb826abc195aa2119feb0f97 |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: if the frontend didn't provide us with a source location, try to work one out from the return address. Currently, we can only resolve this address to a file and line number if we have an external symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170407 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Misc/bool.cpp
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_diag.h
ib/ubsan/ubsan_handlers.cc
|
fe0b77be4057ba90a0321107cc5d0f603f297bfa |
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Rein ubsan's vptr sanitizer back a bit. Per core issue 453, binding a reference to an object outside its lifetime does not have undefined behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170388 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
|
da3503782901d30bd6e48885055b51b38cf5126c |
17-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: say what thread had created a thread in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170346 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/race_on_heap.cc
ib/tsan/lit_tests/race_with_finished_thread.cc
ib/tsan/lit_tests/simple_stack.c
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
a93c02c74f6350b4ca6358978d8175ebb6ac3604 |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: implement malloc_usable_size and fix 32-bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170339 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
c523d17b22924aec8d7cf2dc1f68155c02043074 |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_allocator2: don't use TLS and fix calloc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170329 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
|
d4d2594c02c9fdf40072fa36446eef200abdf8e5 |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_alocator2: implement quarantine and Reallocate git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170315 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
c88059cf6e0b47951413107ae8d7a0caabe661fc |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement AsanChunkFifoList via IntrusiveList<AsanChunk> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170313 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
|
0a504ec7c360ecfaad8db8607862bc69ed77abfa |
17-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] asan_alocator2: implement free() stacks and actually make malloc/free stacks work git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170310 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
d9b740452db50b47ca16abdc0f5e4bc2abf3afa9 |
15-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix a bug that has crept into the sanitizer allocator and caused SEGV on allocations between 1Mb and 2Mb, improve the test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170274 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
ed513f69b8017a69214509105e7ec59fec77b468 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: synchronize connect->accept calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170235 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_socket_connect_norace.cc
ib/tsan/lit_tests/signal_errno.cc
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_fd.h
ib/tsan/rtl/tsan_interceptors.cc
|
68acb909db275a9d4fb16b37fab4c42b72671abb |
14-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove extra typename git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170208 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
785425a53261bb52ffcd972a3655a539dbe3731e |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add test for errno spoiling in signal handler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170207 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/signal_errno.cc
|
9fc1f27f55a4bb3d54858cfd3c32d0bb11002db2 |
14-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add AllocatorLeakTest git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170206 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
2c69c86b64adfa499e1eaac7c55c7fba462267bb |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add test for malloc/free in signal handler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170205 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/signal_malloc.cc
|
1586b079fe167a4ac5bd0365d97f707bfaa8221e |
14-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add MemorySanitizer.cpp to the lint script. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170204 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
b6bb60b0fa39efee537cc34bc200edc976df0bc4 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170202 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
1503e9b9ca92e78f2a16e32717cdd5156606400c |
14-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more asan_allocator2 code: record the allocation stack trace, implement calloc/etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170193 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
|
4fce4495502a3668cc4e99164ffcaea92e534d48 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170191 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
bc9940eedb51dd43d844a4c46e17bc89f872781f |
14-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more asan_allocator2 code: actually un/poison shadow on malloc/free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170190 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_poisoning.cc
ib/sanitizer_common/sanitizer_common.h
|
8028c713085dd36688950f5c7c4342dc126ef206 |
14-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use INTERCEPT_FUNCTION(foo) instead of CHECK(INTERCEPT_FUNCTION(foo)) - this check may fail on Linux if user program defines its own version of library function foo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170189 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
|
68902f431172d101f3c6322d96a99d705a37ad95 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: disable allocator tests in debug build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170187 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
ca661f51dbccc8b8bdeb308751f3b160501f7954 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: comment out debug output in test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170186 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
ff6e6c339a7d4ad735e17782999fd3f954e2fe8a |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add sanity test for Go runtime into presubmit test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170185 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/go/buildgo.sh
|
983518e360a179d92bdbddebe05a87db3c6cc3c0 |
14-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add socketpair() interceptor and test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_socketpair_norace.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
9af645316cdb5e75033a7894e85009791ded7e4b |
13-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compilation with -pedantic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170131 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.h
|
49d616ec42ab420ce3ebcbe846b21e3729adf5ac |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] pop the internal stack frames in SlowUnwindStack, extend the test to check this git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170124 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/lit_tests/Linux/malloc-in-qsort.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
75f7503ad2b3c145711ae13a0990f1ecfb2ed411 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] disable lint check for line length in ASan output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170123 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
06abe7fa574012ada5c0474f60eb6398e0c1a808 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] extend overflow-in-qsort.cc to check both unwind kinds. One more test for SlowUnwind. Move both to Linux dir (no slow unwind on Mac) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170122 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/malloc-in-qsort.cc
ib/asan/lit_tests/Linux/overflow-in-qsort.cc
ib/asan/lit_tests/overflow-in-qsort.cc
|
2201cc4385c85d6ec3ad32b71dcd9c22b27beec6 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Allow leading underscore in function name to please output tests on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170121 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/overflow-in-qsort.cc
|
570c2a0e0a00a2a80ad3403139dddad2bfe75122 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't print memory stats on CheckFailed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170120 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
52c06849f842ae3893c7520b7a45ba21e95a4f30 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix win build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170119 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_win.cc
|
a1ff0d114ecec5811b9eff28586b3ab902028d30 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170118 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
a30c8f9eac981dcf137e84226810b760e35c7be1 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to allow using the slow CFI-based unwinder git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170117 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_flags.h
ib/asan/asan_interceptors.cc
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_new_delete.cc
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
d62237995d0fc50697e375ea50f015e996162884 |
13-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: completely disable deadlock detector for Go seems to cause some weird stack overflow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170116 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mutex.cc
|
74737d595c4e3638b980bd88b0492247ae4318fa |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add new header - sanitizer_platform_interceptors.h, which should define whether or not given function should be intercepted on a given platform. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170115 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/sanitizer_common/sanitizer_platform_interceptors.h
|
8ffd87791a5376d44edfa288cbf469702edbfa22 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] one more macro for 'read' interception git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170114 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/sanitizer_common/sanitizer_common_interceptors.h
|
6535c31c66569df262791f0b56852c496977c977 |
13-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support MapThreadTrace() on all platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170113 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
|
c333dffb81f1d85483d657c254c17f636ab192c5 |
13-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] more macro for conditional interception of pread functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170112 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
|
308dd557f002c747500fdd2603a35c9675461491 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add asan/lit_tests/overflow-in-qsort.cc (not fully working yet) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170111 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/overflow-in-qsort.cc
|
e3eb65257f3c93d180670d880138896ad8713afe |
13-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan unit tests for -fsanitize=bool and -fsanitize=enum. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170109 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Misc/bool.cpp
ib/ubsan/lit_tests/Misc/enum.cpp
|
f2d77d03b75733139c9f0896162bbc7a6fc38385 |
13-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Add -fsanitize=bool and -fsanitize=enum, which check for loads of bit-patterns which are not valid values for enumerated or boolean types. These checks are the ubsan analogue of !range metadata. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170107 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
|
6afa1b0406f5cce7256d4f8717bfe394a16999b5 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] replace size_t with SIZE_T in interceptors (same for ssize_t, off_t and off64_t). This is done to avoid confusion and to make the code work with compilers that define size_t w/o any includes (MSVC) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170103 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/interception/interception.h
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
|
8c58aa78f8f9baa2bf310462ef466db87e70293d |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170101 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
9bfe78f7d4f9af3cdacb4d34bd7b4fead27dcda5 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] introduce MmapFixedOrDie and use it in SizeClassAllocator64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170099 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
b1cc4e448f35515e737ac4969aaa04f3fa3af10a |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the Android build (pread64 interceptor again) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170098 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/sanitizer_common/sanitizer_common_interceptors.h
|
567ad078d73babb2c8addfbebb1ddd6cd0085c53 |
13-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] change the way SizeClassAllocator64 allocated memory from the system: instead of one huge mmap(NORESERVE) it does one huge mprotect and then does small on-demand mmaps. This allows us to call OnMap callbacks which are required to poison newly allocated memory in asan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170097 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
ada9ba14325df9e206f454c50bd1b55ea9ecdbb9 |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix test expectations for strcat/strncat. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169987 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
214621f7663896987dc509561c762460226c68c2 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] add OnMap/OnUmap callbacks to the allocator interface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169985 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator2.cc
ib/asan/asan_intercepted_functions.h
ib/msan/msan_allocator.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/tsan/rtl/tsan_rtl.h
|
d0fa1c1d51f423f90421fe401e2f39f7fa356ec7 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169982 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/CMakeLists.txt
|
703e4e4a133aa6585361a2c6130cfc2874efff75 |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explain why pthread_cond_init() interceptor is commented out git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169975 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
ef8dfd8dffbf4385baf24e5aaea6c2cc7c6c936a |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Enhance OOB tests to check for access type (read or write). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169974 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
84cc1ca0b3a0b5004c4d21cf481773aba0971eb2 |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add comment to tsan_fd.h file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169973 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.h
|
2ca12220769c11d490ace922c4f8b8ce5c3ee0d0 |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fixed a compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169972 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
fb8ca8143896ef012d9e2bcb20ff3e4cfed93092 |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169971 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_fd.cc
ib/tsan/rtl/tsan_fd.h
|
c78839f0288e5af16101b5fd3b455e1a88cc1c5e |
12-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more precise handling of IO synchronization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169970 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_dup_norace.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
1f5e23e3204961456d4c7a9b45060597d4ff69af |
12-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] fix compilation on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169969 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/sanitizer_common/sanitizer_common_interceptors.h
|
6e6a7cfe0aac66eeefdf36dec78d7c536bff3c90 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix android build and lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169968 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
|
2da893af8c863909644b61db9f73ef0499569808 |
12-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Remove an extra semicolon. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169967 91177308-0d34-0410-b5e6-96231b3b80d8
ib/msan/msan_platform_limits_posix.cc
|
8530e2b953f0b34ecd267a6aba5f155d5c08c5c8 |
12-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add sanitizer_common/sanitizer_common_interceptors.h with pread/pread64/read interceptors. Use it in asan. Add asan tests for pread/etc. Add FIXME to tsan/msan interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169966 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
ib/msan/msan_interceptors.cc
ib/sanitizer_common/sanitizer_common_interceptors.h
ib/tsan/rtl/tsan_interceptors.cc
|
84a996fc1057ffea9213608c47a54c3d3d3aed02 |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more code for asan_allocator2: basic Allocate/Deallocate code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169864 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_common.h
|
1ff4b7bc50732994e0f5481db90ae0278ceb7d86 |
11-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add MemorySanitizer runtime to check_lint.sh. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169861 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
5cb0ca83bcae67c4ba026f2498c4da69b44d8142 |
11-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] Add a missing file from r169858. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169860 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/msan_interface.h
|
78c56c3c407d2c92825c86e6af7a0230d6019a1c |
11-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[msan] MemorySanitizer runtime. Initial commit of the MemorySanitizer runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169858 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/msan/CMakeLists.txt
ib/msan/msan.cc
ib/msan/msan.h
ib/msan/msan_allocator.cc
ib/msan/msan_flags.h
ib/msan/msan_interceptors.cc
ib/msan/msan_linux.cc
ib/msan/msan_new_delete.cc
ib/msan/msan_platform_limits_posix.cc
ib/msan/msan_platform_limits_posix.h
|
8416e2110049d4f53f790b2486c6f1add6729ea4 |
11-Dec-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
ASan: fix lint problems introduced git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169857 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
d923f2bf44ba4a839a39042ba661ff7ee931897a |
11-Dec-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Hopefully fix the Windows build (2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169856 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
4e773526d9f0c7040345468e51bef8f9b3079f45 |
11-Dec-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Hopefully fix the Windows build by not including intrin.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169855 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
|
321e1254d3bf8d67232aaff133961573fa0e3ec4 |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more sceleton code for asan_allocator2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169836 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
ib/sanitizer_common/sanitizer_common.cc
|
956ad47e14ba7a7935dc1ff2d96e02023acf8d4d |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169828 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
|
a390ece58317a25ef26866cef6753df4b06a3e65 |
11-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make ThreadNamesTest more flexible git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169822 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
c75d8483e27528349620ccf4e997a72029a7ea17 |
10-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Typo fix in memcpy() and memmove() interceptors: ASAN_WRITE_RANGE and ASAN_READ_RANGE were swapped. This has been spotted by Anna Zaks (ganna@apple.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169736 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
2679f1904dc5d5eb2ce82014116764c5f5131a2b |
10-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move FakeStack into a separate file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169734 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_fake_stack.cc
|
8b0a7ce34660ef5b02d21dddb7d45d502539e9fd |
10-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] introduce asan_allocator2.cc, which will have the replacement for asan allocator (now, just a bit of boilerplate) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169733 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_allocator2.cc
|
25742574510cfb41b97e32f63f107fbb9b328d13 |
10-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Add a libsanitizer API __sanitizer_sandbox_on_notify(void* reserved), which should be used by the client programs to notify the tools that sandboxing is about to be turned on. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169732 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
|
694fe46661a138d0eede348f3645ce37025b6ff4 |
10-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: exclude flaky test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169729 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/tests/rtl/tsan_string.cc
|
69d3276170a055a3b8f087d7243314f8d8d07237 |
08-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: fix interface-symbols test on Mac by explicitly listing all weak functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169660 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/interface_symbols.c
|
b6dbb59e97474ce4eb76d7a530bd82a58bf92e50 |
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: use new option -fsanitize-blacklist in output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169646 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/blacklist.cc
ib/asan/lit_tests/initialization-blacklist.cc
|
6a08d29b2020004b801ca69d8aea5872a7e67d72 |
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: change the strategy we use for installing malloc/free/symbolization hooks on Linux: don't provide a default no-op implementations for hooks in runtime, and optionally call hooks if they are provided by the user. Don't force weak interface functions into runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169641 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/lit_tests/interface_symbols.c
|
063e4a54b2b4ccad8b9c40aa869a134c46804068 |
07-Dec-2012 |
David Blaikie <dblaikie@gmail.com> |
Unbreak the C++98 build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169636 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
68230a12bbd22c9402dd8f9af027fcb2e119f978 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: even more fd interceptors + fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169628 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
ba3ae356e0827bfdb17feaff53e17c3934470404 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more fd interceptors + bug fixes + tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169621 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_close_norace.cc
ib/tsan/lit_tests/fd_pipe_race.cc
ib/tsan/lit_tests/fd_socket_norace.cc
ib/tsan/lit_tests/fd_stdout_race.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
67f5c81639ab0ba0d7d9048b7206b424b577c90b |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint, remove debug prints git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169620 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
1877e086eae86c38382c3d3fd2eae03a0d90990a |
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: intercept prctl on Linux only git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169616 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
|
01e96987f557524a351b9f2229e7c920cdb96aad |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix pipe interceptors and add 2 tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169607 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/fd_pipe_norace.cc
ib/tsan/lit_tests/fd_pipe_race.cc
ib/tsan/rtl/tsan_interceptors.cc
|
1ec519c604021162de8bdb8d433fbad1c5033200 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169606 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
ddeb2c354235818494d86827e88a0c2fa44bebcc |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add pipe interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169602 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
716e2f25123bf9b20fbc6b582803a3929b78b96d |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] intercept prctl(PR_SET_NAME) and set the thread name. Output the thread names (if non-empty) in asan reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169601 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_report.cc
ib/asan/asan_thread.h
ib/asan/tests/asan_test.cc
|
3f4e6d9b75fb3f7f2674a31008738cfda9cda9ed |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactoring is preparation to more precise fd synchronization handling git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169600 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
dddb18b7be36fe1843c8b98a8d9d7614aef5ce8d |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just for linux so far (using prctl(PR_GET_NAME)) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169598 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
81ac0e21c56eb92ad5503a693c0e07b0d7f7d304 |
07-Dec-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Switch to r83 of cpplint. Ubuntu Precise compatibility. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169597 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
0bb6e5ddbb11565dfe0a71b0936f0dd76251ea78 |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] try not to use libc mem* functions in sanitizer_common tests (conflicts with our own interceptors) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169595 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
19313d90bf76ad7567f6c2400ab5b5d40ab892c3 |
07-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] fix the build on ancient gcc which has stricter rules about what can be put on TLS. Long term, we absolutely must build the run-times with the fresh target clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169593 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
63a22f073dcdfbabc492ca4c9eb06d0571915570 |
07-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: deflake output tests (by increasing sleeps) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169592 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/ignore_race.cc
ib/tsan/lit_tests/memcpy_race.cc
ib/tsan/lit_tests/mop_with_offset.cc
ib/tsan/lit_tests/mop_with_offset2.cc
ib/tsan/lit_tests/mutex_destroy_locked.cc
ib/tsan/lit_tests/mutexset1.cc
ib/tsan/lit_tests/mutexset2.cc
ib/tsan/lit_tests/mutexset3.cc
ib/tsan/lit_tests/mutexset4.cc
ib/tsan/lit_tests/mutexset5.cc
ib/tsan/lit_tests/mutexset6.cc
ib/tsan/lit_tests/mutexset7.cc
ib/tsan/lit_tests/race_on_barrier.c
ib/tsan/lit_tests/race_on_mutex.c
ib/tsan/lit_tests/race_with_finished_thread.cc
ib/tsan/lit_tests/simple_stack.c
ib/tsan/lit_tests/simple_stack2.cc
ib/tsan/lit_tests/sleep_sync.cc
ib/tsan/lit_tests/sleep_sync2.cc
ib/tsan/lit_tests/thread_name.cc
ib/tsan/lit_tests/write_in_reader_lock.cc
|
c2acedf651bca6d26f2ea30337756ca7129d24f7 |
07-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
arcconfig for compiler-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169575 91177308-0d34-0410-b5e6-96231b3b80d8
arcconfig
|
72cdb6786dd641c75bbf0f1788d6a75434212fad |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] POD-ify the allocator cache git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169514 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
3617ad70f3ade71b944b35fa3faaadfb97700dea |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warning and make output tests more robust git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169511 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/tsan/lit_tests/ignore_race.cc
ib/tsan/lit_tests/mutexset1.cc
ib/tsan/lit_tests/mutexset2.cc
ib/tsan/lit_tests/mutexset3.cc
ib/tsan/lit_tests/mutexset4.cc
ib/tsan/lit_tests/mutexset5.cc
ib/tsan/lit_tests/mutexset6.cc
ib/tsan/lit_tests/mutexset7.cc
|
e280ce59d37a67bee14da56a22e205d6562530b0 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] one more test for 32-bit allocator + minor code simplification git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169507 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
674d05c15d3cfcd2e9f0e9fde47d25cd69af924b |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] add BulkAllocate to the 32-bit allocator (and a test) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169506 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
365e733a51252d689c49e87f006e40b8c4216e40 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] refactor allocator's BulkAllocate (move to AllocatorFreeList) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169503 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
|
e10e3e57b5e9d2fe39dd33ddf2b5fba514913300 |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add new file to cmake git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169502 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/CMakeLists.txt
|
aaaba79d2b40002c1052af0aebfd4d32779b5da6 |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add some more functions for java filtering git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169501 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
8a41bdc963afdf3c2e14aad64a7cd3291fefd8cf |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] add GetBlockBegin to the 32-bit allocator (+test) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169499 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
784935d1bbc301eaf92fd9f7d3a551eb65edcd15 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] one more test for 32-bit allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169497 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
45595ba6b77b54b8212389cba6b95dc634122145 |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/msan] new 32-bit allocator, basic functionality so far git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169496 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
8166bdaa2c92569ce467be7587ae1cc00200a422 |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add 'free' to java nonsense reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169494 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
ad9da372f962495b3487685232d09390be841b1c |
06-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add mutexsets to reports With this change reports say what mutexes the threads hold around the racy memory accesses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169493 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/ignore_race.cc
ib/tsan/lit_tests/memcpy_race.cc
ib/tsan/lit_tests/mop_with_offset.cc
ib/tsan/lit_tests/mop_with_offset2.cc
ib/tsan/lit_tests/mutexset1.cc
ib/tsan/lit_tests/mutexset2.cc
ib/tsan/lit_tests/mutexset3.cc
ib/tsan/lit_tests/mutexset4.cc
ib/tsan/lit_tests/mutexset5.cc
ib/tsan/lit_tests/mutexset6.cc
ib/tsan/lit_tests/mutexset7.cc
ib/tsan/lit_tests/race_on_heap.cc
ib/tsan/lit_tests/race_on_mutex.c
ib/tsan/lit_tests/race_with_finished_thread.cc
ib/tsan/lit_tests/simple_stack.c
ib/tsan/lit_tests/simple_stack2.cc
ib/tsan/lit_tests/thread_name.cc
ib/tsan/lit_tests/write_in_reader_lock.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_mutexset.cc
ib/tsan/rtl/tsan_mutexset.h
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
ib/tsan/rtl/tsan_trace.h
ib/tsan/tests/unit/tsan_mutexset_test.cc
ib/tsan/tests/unit/tsan_sync_test.cc
|
2dae63aea3589fded1ef17b5a6c7f0c9352559a2 |
06-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169485 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
|
cc7525951f401d61e2467f1ebc1b133205516a6c |
06-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add MmapAlignedOrDie git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169474 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
5a15541fc2bbe46a5ce0cd802b5c1055f2ffb14e |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] drop the extension from asan tests (as the extension may be different) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169392 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
da60d62281c1ddb08bdf71a0ac7f5a81fceea7a6 |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] undo the debug printf git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169381 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
37e6af28435fea112a68d7f1b86b99d24f967b04 |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix memory barriers in atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169379 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
1ffeded71b960d8a0f018a46a0035203b1484a7a |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: provide own implementation of __cxa_guard_xxx functions that way we allow static linking of libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169376 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
36decbf426ea75eef9ce6f6f43b74a66e66795d3 |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unnecesary include file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169370 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interceptors.h
|
286dd3f8afe6700e5dd9b0bdb7afd23121c98c12 |
05-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169369 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
72166ca99c2f8898a7a540e60aac3959cbd959bf |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] get rid of *allocator64* files, moving everything to *allocator* files. This will help with the 32-bit allocator implementation and testing git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169368 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/tsan/rtl/tsan_rtl.h
|
da6ce04d96c7fd87d8bcf6a254510393572830ff |
05-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] make the 64-bit allocator build (but not work) in 32-bit mode to simplify the code and test structure and allow further refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169361 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
7385f8b8b8723064910cf9737dc929e90aeac548 |
05-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Fix a use-after-unmap bug in /proc/self/maps caching. The cached buffer was occasionally deleted in the MemoryMappingLayout destructor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169335 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
aecf2e5756c6a0de7c146bef67a6e338c7017d55 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output thread names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169279 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/thread_name.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
503a3af431c3c676fe14a1fade8e901bb95fa7a5 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add a compile-time error for 64-bit-only support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169275 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
|
634f0476879e4509f8520f0f1542a27e0a10ccda |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make atomic operations atomic again git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169273 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_interface_atomic.cc
|
8937d72020c3a6b1eb95a7c43ae20def843d3411 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] test the allocator with CompactSizeClassMap git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169270 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
82de9426176ac5ca7d36922648b3dbccabd35834 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor interface refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169267 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/tsan/rtl/tsan_rtl.h
|
acc2e304d43d9ea0e76ff34a1c586fa63bc3a8d1 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix nand operation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169266 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
258c24b96762f37d625ae94f5152704067d1369c |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add __attribute__((visibility("default"))) to interface functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169265 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_ann.h
ib/tsan/rtl/tsan_interface_atomic.h
|
cd815adbd3e3792ab2468ed2b1e126d5cc829aaa |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] refactor the allocator tests to allow testing other flavours of the allocator (add templates) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169264 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
0415ac00935795a70d87ae662ccad58ea0704537 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix trace handling when trace is reused between threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169259 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
43811a14504f1ff473b40c194a3e9054e2ea46a4 |
04-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] refactoring and comment changes in sanitizer_common/sanitizer_allocator{,64}.h. No functionality change git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169234 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.h
ib/sanitizer_common/sanitizer_allocator64.h
|
91ac008b435b879bb366bcf9516c53f2d07c30b1 |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better error message if we fail to intercept some function currently the message is SIGSEGV git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169231 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interceptors.h
|
6422c32996ec2d65b2ebc77dda36b613dbd1571a |
04-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: check if PWD env var is absent On some programs I see: failed to open suppressions file '<null>/testing/tsan/v2/tsan.supp' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169230 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
|
2fbf620369f5f1b7200f7ebfe5938e75cb6fbeb2 |
04-Dec-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Do not build the interceptors that use ObjC blocks if the compiler does not support blocks. Need to define MISSING_BLOCKS_SUPPORT in this case at buildtime. Patch by Jack Howarth <howarth@bromo.med.uc.edu> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169206 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_mac.cc
ib/asan/dynamic/asan_interceptors_dynamic.cc
|
d4b5db8cb8a7a13bb5cc1d4ce53e8e088303c854 |
04-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
ASan: add new interface functions - __asan_(un)poison_stack_memory. Calls to these functions are inserted by the instrumentation pass in use-after-scope mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169201 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_poisoning.cc
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/lit_tests/use-after-scope-inlined.cc
ib/asan/tests/asan_test_utils.h
|
ad91267d45fef531c1082ab7974e4cc78aba5280 |
03-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Use a struct to hold the /proc/self/maps buffer on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169155 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_procmaps.h
|
68aad43bee8b49d41dec72cb4b4eb34cdcd80e9c |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] two more bits for __sparc__ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169141 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
|
9c3929e3a0517305bf10698a05282fa0c8d1b5e2 |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add CompactSizeClassMap as an alternative (more compact) size class map. Not used yet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169128 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
864f5131db7ccd3fc8344dc2bcdebf66c03a900e |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] remove unused InternalAllocBlock as part of larger refactoring git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169123 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
433c219f8772c35dc4e6bd32bb4131dbc07fdfd6 |
03-Dec-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: describe global vars (module+offset for now) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169122 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_symbolize.cc
|
e2770623379f403ea8c0247cac9ce8c75167a886 |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] EXPECT_EQ => ASSERT_EQ around pthread_create/pthread_join calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169121 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test_utils.h
|
2697687059e64a4f1319dc23a0a3ca59982d53f6 |
03-Dec-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] in asan tests, check all return values of pthread_create/pthread_join. Also add the ASAN_AVOID_EXPENSIVE_TESTS macro to guard the test that creates too many threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169118 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_config.h
ib/asan/tests/asan_test_utils.h
|
a82a5d360b19080f2b1beae374c12d4f26146450 |
02-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Refactor handlers to have separate entry points for aborting. If user specifies aborting after a recoverable failed check is appropriate, frontend should emit call to the _abort variant. Test this behavior with newly added -fsanitize-recover flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169113 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Integer/no-recover.cpp
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
ib/ubsan/ubsan_handlers_cxx.cc
ib/ubsan/ubsan_handlers_cxx.h
|
7cbd7e502e993320a3a1578179d336c268b80604 |
02-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Replace "fatal error" with "runtime error". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169112 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Float/cast-overflow.cpp
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/div-overflow.cpp
ib/ubsan/lit_tests/Integer/div-zero.cpp
ib/ubsan/lit_tests/Integer/incdec-overflow.cpp
ib/ubsan/lit_tests/Integer/mul-overflow.cpp
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/lit_tests/Integer/shift.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/Integer/uincdec-overflow.cpp
ib/ubsan/lit_tests/Integer/umul-overflow.cpp
ib/ubsan/lit_tests/Integer/usub-overflow.cpp
ib/ubsan/lit_tests/Misc/missing_return.cpp
ib/ubsan/lit_tests/Misc/unreachable.cpp
ib/ubsan/lit_tests/Misc/vla.c
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TypeCheck/null.cpp
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_handlers_cxx.cc
|
93da8b6a5e0ed2ca621897504c5d06449b3d7077 |
01-Dec-2012 |
Alexander Potapenko <glider@google.com> |
Add caching to the MemoryMappingLayout class on Linux. This is necessary for the cases when a sandbox prevents ASan from reading the mappings from /proc/self/maps. The mappings are currently being cached on each access to /proc/self/maps. In the future we'll need to add an API that allows the client to notify ASan about the sandbox. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169076 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_procmaps.h
|
c8f0a00ede42f83ac79ff63c347ca8ddcda77155 |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix int overflow and several instances where tid is used with ignore git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169029 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
|
543b94a5cd102c0795b44d78234d5458eed2c75e |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suppress weird race reports when JVM is embed into the process git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169019 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
07ba8ef44deb54baa9307298fbffe25ddb30c362 |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add __libc_memalign interceptor (used by dynamic loader to allocate tls for dlopen'ed modules) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169017 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
e1f9ed42bb01f6a1351f275a5e3e8031c353765d |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add sanity checks into memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169015 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
badab16503e025326a46a45da8faa6fd20e5fc3d |
30-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make asan_test.cc more gcc-friendly git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168992 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_config.h
ib/asan/tests/asan_test_utils.h
|
4cf06575e772d64907d4dc7d49f2ecc7830137f6 |
30-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] simplify break_optimization in tests (Jakub Jelinek) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168990 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_break_optimization.cc
ib/asan/tests/asan_test_utils.h
|
92733f94292cd36795238e1a6ed0a99a1dc0454d |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept mlock() because of the kernel bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168987 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
|
064c84731c1cf41dcd7195c9380170b9aa6887b6 |
30-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix bug that leads to spurious use-after-free reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168985 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
0a7062f2cbb01b348bbc09be21a577957a2c68c2 |
30-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Disable __int128 tests if the host Clang does not support it. These tests will still fail if compiler-rt was built with a compiler without __int128 support, but the host compiler has __int128 support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168955 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Float/cast-overflow.cpp
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/div-zero.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/Integer/usub-overflow.cpp
|
7cc4dc0a9d5d8c310ec72810c2e8090de5a8b5ff |
29-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use brand new -fsanitize= values for init-order/use-after-return ASan output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168951 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/initialization-blacklist.cc
ib/asan/lit_tests/initialization-bug.cc
ib/asan/lit_tests/initialization-nobug.cc
ib/asan/lit_tests/stack-use-after-return.cc
|
b989143d0be56496e8d5fcf75969af35a058792a |
29-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] disable BuiltinLongJmpTest on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168872 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
c3a5c173f228cbb15e332e6bbc17c76ebd55d7a8 |
29-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] enable BuiltinLongJmpTest git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168863 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
e656184a2e20c0293cf838885204216cdf1db168 |
29-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Don't assume that Clang provides __int128 unless it advertises that it does. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168857 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_value.h
|
d3ca78fdb296d2a51fc224da673ebfff508acf44 |
28-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add DISABLED_BuiltinLongJmpTest git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168793 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
6c0fbcae2f03eb78f82969bea61ccdbd2fb58e27 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explicitly say that failed to restore the stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168790 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
|
3fb70e333087ffac19517ad6559fcba9e43ac5ca |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: address several review comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168789 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl.h
|
cec6068bbbbfb84285c0856c196c48170924e215 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add log_path parameter (similar to asan) remove old log_fileno git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168788 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl.cc
|
d698edc4f74a17048eef3342a9fa42b3ebba802a |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: dynamic history size introduces history_size parameter that can be used to control trace size at startup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168786 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_trace.h
ib/tsan/tests/unit/tsan_shadow_test.cc
|
0d35d9d9b1ff686b53918f9fd36797f0911db663 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: change fast state layout in preparation to dynamic traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168784 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/tests/unit/tsan_shadow_test.cc
|
385542a2e83a4f37de4232d6c72097c1b7d6d44b |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: move traces from tls into dedicated storage at fixed address helps to reduce tls size (it's weird to have multi-MB tls) will help with dynamically adjustable trace size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168783 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/tsan/go/test.c
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_trace.h
ib/tsan/tests/unit/tsan_platform_test.cc
|
45bdb2ffb2878a6c22493af76256d5950dc0a6a2 |
28-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add description of memory layouts in different configs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168777 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
|
80af605afd0e92a2a128c81898f647207f384e08 |
27-Nov-2012 |
Will Dietz <wdietz2@illinois.edu> |
ubsan: Support unsigned overflows, and divide-by-zero int/float split. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168700 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Integer/div-zero.cpp
ib/ubsan/lit_tests/Integer/uadd-overflow.cpp
ib/ubsan/lit_tests/Integer/uincdec-overflow.cpp
ib/ubsan/lit_tests/Integer/umul-overflow.cpp
ib/ubsan/lit_tests/Integer/usub-overflow.cpp
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
|
62470003b9a51ec8235724d6cee3d5b1488a5a2e |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix macro mess git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168697 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.h
|
c11e1e0f1401a95d0803317c4cdb83be3938146a |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compilation for dead old compilers (why we are supporting them at all?..) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168693 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
|
3c50fdd31f89d51333bd8640b968c13102a72bbb |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add memory range access functions to public iface git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168692 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_interface_inl.h
|
63da509a995a3cac9bf5495b5cb94c527ff96ce1 |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add 128-bit atomic operations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168683 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
3c0c408fe5268058c1347b51235d564cc081e575 |
27-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor atomic operations implementation do the atomic operation under the sync object mutex make acquire/release sync atomic with the operation itself combine acquire and release into a single acq_rel operation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168682 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
c0973d683aca4dad4cefbb23bb0134f01f804016 |
26-Nov-2012 |
Nick Kledzik <kledzik@apple.com> |
Automatically create .dSYM for libcompiler_rt.dylib when using Apple's internal build system git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168625 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
ake/config.mk
ake/lib_info.mk
ake/options.mk
ake/platform/darwin_bni.mk
|
f5d526fc35524db0479828188e47c130ac09a038 |
26-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explicitly mark symbols referenced from assembly as hidden this allows to build tsan runtime as dynamic library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168589 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_amd64.S
|
bdec26d50b27e082d109acf99f7d713abc51435e |
26-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix Android build by not calling GetPageSizeCached in a test (no need for the page size anyway) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168585 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
|
02b45d2aec154cb392cd6eb85e8dd16ed255351f |
26-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add atomic nand operation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168584 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
4424e912ec98a0019cde224d6ed346f5bbefd091 |
25-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: faster memory reset for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168567 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
|
e89f1846d58550f919a0ef9081b11d4b0405019d |
24-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168537 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mapping.h
ib/asan/asan_rtl.cc
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
ib/tsan/rtl/tsan_platform.h
|
fc575e52636c803262fc24bacf63a95f731b1314 |
23-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add failure memory order to atomic compare exchange functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168518 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
|
f67ec2b6e8d2ae328c27de0b026eea2d6667836e |
23-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of some of the uses of kPageSize. The intent is to get rid of it completely to support platforms with multiple possible page sizes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168517 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_interceptors.cc
|
11e985f7e13fb41f55be82496dbfbf22e769ac4d |
23-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move swapcontext_test to Linux-specific tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168513 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/swapcontext_test.cc
ib/asan/lit_tests/swapcontext_test.cc
|
f3950c6d6acf53fe60735f6d38715c1ea6df814b |
23-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] intercept swapcontext on Linux only git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168509 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
|
0870028410087e67a0049c76cb7c64f02c260d24 |
23-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add interceptor for swapcontext to fight with false positives in some of its use cases. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168508 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_report.cc
ib/asan/asan_win.cc
ib/asan/lit_tests/swapcontext_test.cc
|
6fa4cc3a81713a392b2f3e8e7d6ad411e4b3f421 |
23-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ensure than func entry/exit are inlined git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168506 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
80d46a2fbc0ae5086511a91119a6e28883b9f880 |
22-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix more bugs in signal handling git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168497 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
95f50b126cebecc0165fbf6e4c8209c640836271 |
22-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing \n in report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168496 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
|
f0f77a54a949966ce45171bc3a7f318f3ee7363a |
22-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better error message for OOM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168491 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
7104f9cc013b4e63e068b63ae8801a54658c3d08 |
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of kPageSizeBits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168426 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
|
6523fe2ad35426bf37f10cbb6b45ef65dcdb2769 |
21-Nov-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Allow PopStackFrames leave the stack empty. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168425 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
5af39e50366f1aacbebc284f572f08ad1ad07357 |
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_mac.cc
ib/asan/asan_mapping.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_placement_new.h
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
|
dc2a27ecd65079f1916f5ab53ec646f9a9e61349 |
21-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: explictly say when we fail to restore a stack trace git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168423 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
|
e52e2806f5eef9aa6a46fc81119f592ea22b0cbf |
21-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] replace while with internal_memset to make sure compiler won't replace it with library memset git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168422 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
0bf04eab1910cc8bf622c20ba08c339dc25e297e |
21-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix handling of signals (do not execute synchronous signals in recursive interceptors) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168421 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
10110f6539c5889109e7e2fa32973f1d5de8798c |
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] pop the two internal functions from the stack trace produced by _Unwind_Backtrace (Peter Bergner) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168369 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
08bfe4988de493dd3e61d02759b3f19c42f8fb78 |
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] better support for powerpc and sparc targets (thanks to H.J. Liu and David Miller) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168358 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
d7d4650dd754aafc874e3b8cd5ab5b38005c84ec |
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more support for powerpc, patch by Peter Bergner git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168356 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mapping.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
031633bef8dff03f4e8943a12e34856bd66bbc78 |
19-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use raw Exit() to kill the program in case ASan finds an error while reporting the error in the same thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168308 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
574618acc0c6e934c25379c59d074864a1fd2186 |
19-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168306 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/sanitizer_common/sanitizer_stacktrace.cc
|
84f5bacaf1021b9fb6fc2cf48abe5d4d416422ef |
19-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] change interface of GetAccumulatedStats() function to prevent Clang from inserting memcpy() call into runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168305 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stats.cc
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
9d0dbbaf33e5c2fe280f141e30be497d62b703a8 |
19-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] support PowerPC and SPARC in sanitizer_linux.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168301 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
af5a4c095bcd3664c7549e3a54872255a88eaa4b |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
ubsan: fix broken test case by using brand new [[@LINE]] FileCheck feature git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168170 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
|
5b16dba10c171bc74a3d55a61b4406377aecbab8 |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
UBSan: enable CMake build on Darwin. Fix two failing tests and disable the test which produces linker errors on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168169 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/ubsan/CMakeLists.txt
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/lit_tests/lit.cfg
|
94a04b1590ea7c096b2fd1d5eab06759b566712c |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
UBSan: fix support on Darwin in 'make' build system. Patch by Jean-Daniel Dupas. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168167 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
16da7947df767cf75874430d4ecfeeee218339bd |
16-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: sync with gcc r193553 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168151 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
b717f4d415cafbb8526bb33f737b9c07409a73bb |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use explicit ctor for BlockingCall git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168150 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
cc378d49b44fbfffcfc5566dddcf443521a985c8 |
16-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use llvm-symbolizer to run tsan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168146 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/CMakeLists.txt
ib/tsan/lit_tests/Unit/lit.cfg
ib/tsan/lit_tests/Unit/lit.site.cfg.in
ib/tsan/lit_tests/lit.cfg
|
bd9f4963dd50f2fe66ba47a74776dc2665f84d7d |
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unused parameter git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168060 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
993e2e0901168c1d44be2a4847c902ce9515d5ca |
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to 4 shadow cells by default (since that's what we use everywhere now) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
|
ee8ee2437b28ab8bf6f48af15b8b446fb5d55e90 |
15-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: eevn better handling of signals add interceptor for poll() in addition process signals in every atomic op in addition process signals in blocking libc functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168050 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
e406c8c47570659287e619e23479f9fb6640299e |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Revert r168040 and r168043 and take a cleaner solution suggested by Kostya: return the known frame name for fake stack instead of looking it up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168046 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_report.cc
ib/asan/asan_thread.cc
|
c78349f2167766d275ebb7e7113828c469ec7bf0 |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Minor fix: return to the last byte of the fake stack if we've raced by. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168043 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
|
036945d16d94ed6e83a85e243d7fe89687b9baf8 |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Poison the leftmost shadow byte with a special value so that we can find the beginning of the fake frame when reporting an use-after-return error. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=126 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168040 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_report.cc
ib/asan/asan_thread.cc
|
9db0aed8558aff3cd5413b5c21a90918efae8986 |
15-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[UBSan] Add support for building ubsan runtime library on Linux with 'make'. Compiler-rt part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168038 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
539dd2b3e0e3978cf00e630686a853f8cc6350ef |
15-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Add the "lea $imm(%rip),%rax" instruction to mach_override.c The need for this has been reported by Jack Howarth (howarth@bromo.med.uc.edu) who's porting ASan-Darwin to GCC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168032 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/mach_override/mach_override.c
|
8783d8345782c431f027566cddf8723fb88a40b9 |
14-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix typo from code review (thanks to Alexey Samsonov). This is also caught by the existing tests when building for i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167890 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/CMakeLists.txt
|
4a4ef702597471bff5e249b8ec9d94d265007895 |
14-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Support for building the ubsan runtime when using the autoconf build system on Darwin. Patch by Jean-Daniel Dupas, tweaked by Jonathan Sauer, simplified somewhat by me. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167889 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/stdio.h
ib/Makefile.mk
ib/ubsan/Makefile.mk
ib/ubsan/ubsan_value.h
ake/platform/clang_darwin.mk
|
f4932204d7cf89cc2402b1e30fb728cf84ff7b7f |
14-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fsanitize=undefined: Switch to using sanitizer_common for output. This gets us much closer to not depending on any system headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167888 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
ib/ubsan/CMakeLists.txt
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_handlers.cc
|
fb4f8e11cd69aa76731ba13dea56270359b5c8b7 |
14-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use #if defined __x86_64__ instead of #if __WORDSIZE == 64 in sanitizer_linux.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167883 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
a7bf04e398c79de110d672fbb27d09c6b50e9870 |
13-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unused const git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167835 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
|
ed77156ba3c5754b4cfe4ca1d6d5d7a4fdfb7835 |
13-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better function names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167834 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_update_shadow_word_inl.h
|
8c55a1ffa6edd1f48fd2ee6de8ff65c83b522834 |
13-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add output test for write under reader lock git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167833 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/write_in_reader_lock.cc
|
08adb1815b4958df88f904b9780a055b0d387294 |
13-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix stats collection git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167832 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
4aa1ac9bfd073610d423b57215843903f8384f32 |
13-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] now we don't need llvm_obj_root to access llvm-symbolizer tool git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167823 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
|
a22e7e980d407d84801d9d0e9320dafc16b94dd2 |
12-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] test blacklist functionality for global-init-order checker (r167725) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167727 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Helpers/initialization-blacklist-extra.cc
ib/asan/lit_tests/Helpers/initialization-blacklist.txt
ib/asan/lit_tests/initialization-blacklist.cc
|
79ad22ada4e8c47c70bc99c96060c7e452e505fe |
12-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Remove llvm-symbolizer from compiler-rt/utils/ This is the first (1/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167722 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/lit_tests/lit.cfg
tils/CMakeLists.txt
tils/llvm-symbolizer/CMakeLists.txt
tils/llvm-symbolizer/llvm-symbolizer.cpp
|
0555259b3dd49d304cb217fd1e8e467adcc7566d |
12-Nov-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Fix the golden stack for use-after-free.cc. The change has been caused by the switch to llvm-symbolizer, that prints inlined stack frames. This should fix PR 14251 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167721 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/use-after-free.cc
|
aad173b2f1dae9f88bbffd217ebd46ed1f020bcb |
09-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept gettimeofday() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167630 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
93b4cafd631b661b4b612ccdc0938f7f1e1c86d6 |
09-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanity checks for communication with external symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167617 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_rtl.cc
|
c43f2721a8cdad652b188d0e40f9f091ce35a48f |
09-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to new memory_order constants (ABI compatible) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167614 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
|
e337bf303dde9258bc7e2c87722a270fed96460b |
09-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add __tsan_atomicX_compare_exchange_val() function It's easier to call from compiler module. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167611 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
|
8c7e491c45842a13faedbead8250c8c98817455b |
09-Nov-2012 |
Alexander Potapenko <glider@google.com> |
Add a possible underscore before the wrappers to the output expectations for Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167610 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/strncpy-overflow.cc
ib/asan/lit_tests/use-after-free.cc
|
275ca01c181dd04ac504971e300ccc92d334a61d |
08-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Build all sanitizer runtime libraries with debug info (with -gline-tables-only, if it's available) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167584 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
1a9cd8ddea1985ab4941a8bd2f6e20822d1e9c1d |
08-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add range access functions for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167580 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
|
3aa15c1ad60ae6c63973a0982662f26449f661bc |
08-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] avoid including <new> header in ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167579 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_new_delete.cc
|
6f121a185372780b79bde6afcd40e2220e9d0066 |
08-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: change TSAN_OPTIONS->GORACE in build script as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167578 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
e43542a361e0388263b546292d30af81a5e5993c |
08-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] try to fix Windows bot - include stdlib.h for abort/_exit functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167577 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
79c9836f727cbaaf380ccb29e1ef62de83a2e810 |
08-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use GORACE env for options for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167575 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
|
54e0a9a391616bbd2a4f0fd2d01076291274cb98 |
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not sleep at exit if there are no other threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167533 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
8a326776e41dc68c810ba3719a24328de517d8f9 |
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to suppress all reports (useful for benchmarking) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167532 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
538f1ba8cb57cfa02d25f8f922feb00975e0a286 |
07-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more precise handling of finalizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167530 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
6b641c5e63be45a03f96346886d27c4b4135ddaf |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: slightly relax requirements for lazy shadow memory (can overlap and may not be properly aligned) it's problematic on windows where allocation granularity is much larger than page size git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167466 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
ib/tsan/go/test.c
ib/tsan/rtl/tsan_rtl.cc
|
a05fcc1e3e045097f2f1a20798cbe038bbb1d6a9 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: lazily allocate shadow for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167464 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/test.c
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_platform_windows.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
|
be1a4c4be86f7960dbeb7b44d3b13ce5b9b13b4e |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix debug output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167463 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
|
785a7c07c9bd2d4463b30a8539a716f020139551 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for failed mmap() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167462 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
|
65d601e996bd9721fca268da267380d95f93d82d |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compiler warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167458 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/static_init5.cc
|
17192a77e1296f0e2fe63088bf80778942121c92 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: windows platform support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167457 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_windows.cc
|
65c445c462f3f9f79c28ee2f3a8cf297176a55af |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update script to support windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167456 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
6da4354df86f535b479d45a4adbba31af4634f46 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add shadow mapping for windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167455 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
|
a6f123741bc4fb9793fe46ed3d7cc89f612c69fd |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing function for windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167454 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
|
6c51d6e82092ab1541a732a75c5017d2d8b93af0 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix constant types git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167453 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
|
33b2a94ded8473154553c71ef585b8b2522ce70f |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: windows: less includes, better diagnostics for failed VirtualAlloc(), implement sched_yield() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167452 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
1e99374ba2a4fdec2c0d14197a204b3f75e60565 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: don't release disabled clocks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167451 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
|
e2462f7461961925f7f20577352c01e867365d8b |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: define missing compier macros for windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167450 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
bb19294a1195fb320047bace7732f15e85ac4da5 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix non-msvc windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167449 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
97daee89b35f6141db09aee612f0f377f754092f |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tasn: improve sanitizer_internal_defs.h The file uses namespaces and extern "LANG", so it's kinda senseless to use #ifdef __cplusplus git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167448 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
bfa45e11e52081c55294355f36fa547f163dcc67 |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows build __declspec is not _WIN32, it's _MSC_VER git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167447 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
b1ed7fb74658fd98c5ab591b45b6e02112c0d69a |
06-Nov-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167446 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
f10a79a21002a38e6ebc4ed01dec31872f39aed6 |
06-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Update compiler-rt tests to match flag renaming/deprecation in Clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167434 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/interface_symbols.c
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/sanity_check_pure_c.c
ib/asan/lit_tests/sleep_before_dying.c
ib/asan/lit_tests/strip_path_prefix.c
ib/asan/tests/CMakeLists.txt
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/test_output.sh
ib/ubsan/lit_tests/Float/cast-overflow.cpp
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/div-overflow.cpp
ib/ubsan/lit_tests/Integer/div-zero.cpp
ib/ubsan/lit_tests/Integer/incdec-overflow.cpp
ib/ubsan/lit_tests/Integer/mul-overflow.cpp
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/lit_tests/Integer/shift.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/Misc/missing_return.cpp
ib/ubsan/lit_tests/Misc/unreachable.cpp
ib/ubsan/lit_tests/Misc/vla.c
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TypeCheck/null.cpp
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
|
84d57b4ce545d6c19effac01124749a9df0fd0a5 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add internal_isatty to sanitizer_libc and PrintsToTty to determine whether error reports are printed to terminal git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167298 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
40bd009d5253b3ccfad363230c2d8ac2e139f81f |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix printf unittest on 32-bit arch git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167297 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_printf_test.cc
|
a517641e8f4365fbc5e3cddf614ebc27efd69c35 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move unit test for Printf from tsan to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167296 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_printf_test.cc
ib/tsan/tests/unit/CMakeLists.txt
ib/tsan/tests/unit/tsan_printf_test.cc
|
b1fe3021eca0843e37878d224ee7f32e32f40d99 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167294 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
ib/tsan/rtl/CMakeLists.txt
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
f3457cb9c3e1ddbbea07ee97b22ca387687b72e0 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use kStderrFd constant instead of hardcoded 2 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167291 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_flags.cc
|
ac8564e7ce11e31b1d29e92dbbcfa1a5d36bc596 |
02-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: add __sanitizer_set_report_fd function to alter file descriptor for error reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167290 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/sanitizer_common/sanitizer_common.cc
|
ea0177e2b8bb5d1dbd22c7e2776f6299fa712799 |
30-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
Flag -ccc-clang-cxx was removed in r166986, remove it from compiler-rt lit configs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167010 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.cfg
ib/lit.common.cfg
ib/tsan/lit_tests/lit.cfg
|
2529922d03a76c90a512e0dd8381a42978349b69 |
29-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Consistently declare 'extern "C"' variable in namespace __ubsan. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166966 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_type_hash.cc
|
26a725f0b2fd30b98adae6353b432d0c955e10bd |
29-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Don't define an extern "C" variable in its first declaration, to appease a bogus gcc warning. Take this opportunity to move the declaration to the header, since it's part of the API of this file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166965 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_type_hash.cc
ib/ubsan/ubsan_type_hash.h
|
71a8273b3729ffaef40d178739f48dc38417d86a |
26-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Fix a compiler warning in internal_memmove. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166775 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
|
341588afadc46bf6f0dc7babd6d531209aba5202 |
26-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Fix the internal_memmove() implementation that used to skip src[0] if dst < src. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166774 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/sanitizer_libc_test.cc
|
f70848decb000cc0e4c05a27eed78865d2f38555 |
26-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't run hacky test for __asan_get_free_bytes() on 32-bits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166771 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
|
71578faf4eb8e61aefb3121e1945cc47f07cea0d |
26-Oct-2012 |
Alexander Potapenko <glider@google.com> |
In the dynamic runtime on Mac OS, do not call internal_strdup() before __asan_init(). This may result in a crash at startup. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=123. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166768 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
eda8bd0fc07df35c9ad7de5b698bb717b063e7af |
25-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior checking for appropriate vptr value: library side. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166660 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/CMakeLists.txt
ib/ubsan/lit_tests/TypeCheck/vptr.cpp
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers_cxx.cc
ib/ubsan/ubsan_handlers_cxx.h
ib/ubsan/ubsan_type_hash.cc
ib/ubsan/ubsan_type_hash.h
|
a69eb9a1a0b111a4776a9bd727f4d551ec308261 |
24-Oct-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Build ASan runtime for ARM/Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166559 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/lib_info.mk
ake/options.mk
ake/platform/clang_darwin.mk
ake/platform/clang_linux.mk
|
ec3a5a21fd261f5227b5ad0d76bc148c6d227297 |
24-Oct-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Rename ReplaceCFAllocator to MaybeReplaceCFAllocator. Replace the allocator only if the replace_cfallocator flag is set (in some cases it wasn't checked) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166550 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_mac.cc
|
3e8458ab54c7cbaec45e367b2da909c6f94b291c |
24-Oct-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Use internal_memmove() in both static and dynamic runtime libraries if asan_inited != 0. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166549 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
697a22bf050e81a6d94fdc0201a0c46215454e6a |
24-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Due to data races, ASan malloc stats are inaccurate, which may cause certain ASan interface functions returning negative values (casted to unsigned). Return a reasonable value if such a case is detected. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166548 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread_registry.cc
|
f8168925de9cd0758135d4084ce33e2843aae74f |
19-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add comment to blacklist file to test behavior introduced in r166283 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166284 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.ignore
|
7a89732b47eba572d5c27bd2ad846d99c87f574c |
19-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] instrumented asan unit tests should depend on blacklist file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166282 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
087a68b7719e102c2e6c426120b5cb55d0313460 |
19-Oct-2012 |
Bob Wilson <bob.wilson@apple.com> |
Fix comment typo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166246 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
08f6fe2e8565cf332acfe3197ad6bee38da03abb |
18-Oct-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Stop linking libstlport to ASan runtime. Change-Id: If2108bce1932f4d6a0f86e47fe19c55cb0bafdfb
ib/asan/Android.mk
|
dbe60352ef7240327f15f813140c9726854f6b85 |
18-Oct-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Disable new/delete interceptors on Android and make them visible elsewhere. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166180 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_new_delete.cc
|
d5951e6b869dc973dd442bf3c79dc9d852d404f7 |
18-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fall back to online symbolizer if user-provided callback failed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166177 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
49441816aa9a4c7bb27a41c880e56f01d9fd85d6 |
18-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Re-enable this test now that r166172 has hacked around the terrible limitations of the pass manager stack in the pass manager builder. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166173 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/force_inline_opt0.cc
|
079ed92654d44e30c620788a6acf70188f2272af |
17-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
build/clang_darwin: Don't try to build ARM contents on 10.6. - The cctools' ranlib on 10.6 has a bug and can't understand our ARM object files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166114 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
3ecda6189a53400da2e342bac5571bfa63022da3 |
17-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
build/make: There is no need to put timestamps into .dir files, and it just makes trees less comparable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166111 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
de55be3899b994731ba2d9e168281d608dab3048 |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] unit tests: Move main() to a separate file. Fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166104 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_main.cc
|
8d8626fc3dc12c6d1f5b4cf2d3968447b7eea265 |
17-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] added a test for a bug in asan at -O0 introduced by r165936 (making asan a FunctionPass). The test is not actually enabled for -O0 yet (since it fails) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166103 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/force_inline_opt0.cc
|
fa7e95da75c30b7111224e68cb4405357bdc0f4b |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix strchr/index tests for users who have 'char* strchr(char*,int)' instead of 'char* strchr(const char*, int)' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166101 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
|
1cffef3e39cad4eb33606afbebac78d6637361ac |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't use attribute no_address_safety_analysis if it's unknown to compiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166099 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
|
e98723f73d2a09b7305b7848238c64df56439cfb |
17-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] symbolizer: increase the maximal number of shared libraries to 16K git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166098 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
68e8acab81a43ccf849add9272a761dc6b73ee8d |
17-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix gcc warnings while building asan-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166093 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
|
e0c94cc6b2f84d3895ad7214cb8a830a9b9ff0c0 |
16-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Do not call ReplaceCFAllocator() before __CFInitialize(), otherwise crashes are possible on 10.8. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=122 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166029 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
4e0e50a2a208305d7635caf1a7a7c51a4a7e1cb9 |
16-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Commit a leftover file from r166026: Add MACOS_VERSION_MOUNTAIN_LION. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166028 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.h
|
679bf63dba568611bf1fe6397fd0c41d43ac041a |
16-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Add MACOS_VERSION_MOUNTAIN_LION. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166026 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
5759d92e99e2b7adcc46a8729f16023208dd8f37 |
16-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166006 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.cc
|
bd8969c11c1312a6ec28ff8c62dddefcfc59101a |
16-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Drop an x86_64 slice into cc_kext_ios5. - This doesn't get used, but it is a simple workaround for PR14013. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165987 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
7bba84ad33054a703634b090a846f6b35861e30d |
16-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
Un-revert r164907 and r164902 (+ follow-ups), 10.6 build fix to follow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165986 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
0cbb83bc4e99bd4d78f0875171b3451e4270bbda |
15-Oct-2012 |
Nico Weber <nicolasweber@gmx.de> |
Revert r164907 and r164902 (+ follow-ups). They broke building on 10.6. See PR14013. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165963 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
f1673e61768cb08d488a75584b61bfdf24ffdac1 |
15-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Implement internal_memmove. Use internal_memmove() and internal_memcpy() in the memcpy() and memmove() wrappers when building the dynamic runtime (OS X only), to work around a bug in resolver functions wrapping. See also http://code.google.com/p/address-sanitizer/issues/detail?id=116 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165939 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
|
ca9b5dd9922fb7f6e0ca06dbba7db7398b8997f1 |
15-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix more tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165934 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
69d8ede30a0ef32c74af7e4e795eb4b4e7fb1d36 |
15-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] change the asan output slightly to avoid user confusion: a) add ':' after 'AddressSanitizer' and b) changed 'crashed' to 'SEGV' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165932 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
ib/asan/lit_tests/deep_stack_uaf.cc
ib/asan/lit_tests/deep_tail_call.cc
ib/asan/lit_tests/deep_thread_stack.cc
ib/asan/lit_tests/initialization-bug.cc
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/memcmp_test.cc
ib/asan/lit_tests/null_deref.cc
ib/asan/lit_tests/shared-lib-test.cc
ib/asan/lit_tests/use-after-free.cc
|
0aad69a3918db4a3c251512984b7451e3c63dd53 |
15-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Provide a slightly more helpful diagnostic if -fcatch-undefined-behavior finds a problem with __int128 arithmetic but the runtime was not built with __int128 support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165913 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_value.cc
|
20c2fb3446d3a6d628adc5e177e5ef5c9cfc90c8 |
15-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Use a better test for __int128 support, which works on old GCC versions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165912 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_value.h
|
ba3fde65b900ce9d0ecdf034dfe3825eea810434 |
13-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Fix the bootstrap of CompilerRT with host compilers that don't support emulating 128-bit arithmetic on 32-bit x86 targets. This should get the bootstrap back for GCC 4.6 at least. Suggestions on better ways to do the detection here are welcome... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165863 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_value.cc
ib/ubsan/ubsan_value.h
|
58561700a4abad310911a24a867da49a14fae91e |
13-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: Runtime library support for trapping conversions to or from a floating-point type where the source value is not in the range of representable values of the destination type. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165844 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Float/cast-overflow.cpp
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_diag.h
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
ib/ubsan/ubsan_value.cc
ib/ubsan/ubsan_value.h
|
b04caf1385a4279a7b95d41c3ccefc61842c3633 |
10-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: handler for VLA bound which evaluates to a non-positive value. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165582 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/lit_tests/Misc/vla.c
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
|
ed81c21984efb8c1f96c82de1dd5dbcea5d7aa65 |
10-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: store the type name directly at the end of a type descriptor. 5% binary size reduction due to fewer relocations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165571 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ubsan/ubsan_value.h
|
6ebe45146a2d93eb010b9bb5ea34cb94c6900f83 |
09-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add a runtime diagnostics library for Clang's -fcatch-undefined-behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165533 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/ubsan/CMakeLists.txt
ib/ubsan/lit_tests/CMakeLists.txt
ib/ubsan/lit_tests/Integer/add-overflow.cpp
ib/ubsan/lit_tests/Integer/div-overflow.cpp
ib/ubsan/lit_tests/Integer/div-zero.cpp
ib/ubsan/lit_tests/Integer/incdec-overflow.cpp
ib/ubsan/lit_tests/Integer/mul-overflow.cpp
ib/ubsan/lit_tests/Integer/negate-overflow.cpp
ib/ubsan/lit_tests/Integer/shift.cpp
ib/ubsan/lit_tests/Integer/sub-overflow.cpp
ib/ubsan/lit_tests/Misc/missing_return.cpp
ib/ubsan/lit_tests/Misc/unreachable.cpp
ib/ubsan/lit_tests/TypeCheck/misaligned.cpp
ib/ubsan/lit_tests/TypeCheck/null.cpp
ib/ubsan/lit_tests/lit.cfg
ib/ubsan/lit_tests/lit.site.cfg.in
ib/ubsan/ubsan_diag.cc
ib/ubsan/ubsan_diag.h
ib/ubsan/ubsan_handlers.cc
ib/ubsan/ubsan_handlers.h
ib/ubsan/ubsan_value.cc
ib/ubsan/ubsan_value.h
|
48154ece07a13072d2ee72d6796e2604cf40545e |
09-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
Determine supported archs for compiler-rt libraries on Linux by trying to compile a simple executable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165504 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
ake/platform/clang_linux_test_input.c
|
35b661425ad452520544863f1b1afae961e6a92e |
09-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove unneeded returns after UNIMPLEMENTED macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165493 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/sanitizer_common/sanitizer_win.cc
|
45418d1ccb083cad3cb84e0b8184adfb85876fc5 |
09-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add UNREACHABLE(msg) macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165492 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
444a185d855bccf806f12572d3e8a01eee7c09bf |
08-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use llvm-symbolizer for ASan lit-style tests on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165391 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/global-overflow.cc
ib/asan/lit_tests/heap-overflow.cc
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/null_deref.cc
ib/asan/lit_tests/shared-lib-test.cc
ib/asan/lit_tests/stack-overflow.cc
ib/asan/lit_tests/strncpy-overflow.cc
ib/asan/lit_tests/use-after-free.cc
ib/asan/scripts/asan_symbolize.py
|
6544844e873b5335bac21855bdd5a26c3deae15d |
08-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
llvm-symbolizer for Mac: add support for reading DWARF from separate object file in resource directory generated by dsymutil. Fix minor symbol table lookup issues. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165389 91177308-0d34-0410-b5e6-96231b3b80d8
tils/llvm-symbolizer/llvm-symbolizer.cpp
|
b3b21231dd9dfeb34f5f302c879f2d11b6312080 |
07-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better message about found races for Go ThreadSanitizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165376 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
158c6ac3bb46753db217f9c2c73485811a3a1890 |
05-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: cache pc's that cause suppressions (this way we do not need to symbolize the reports) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165317 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
|
50f2e30497ba2a69ee5721e7235a296d7c13a495 |
05-Oct-2012 |
Alexander Potapenko <glider@google.com> |
If !asan_inited, call internal versions of libc functions where available. This is to remove unnecessary #if directives. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165307 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
1bf56b76cf08ab19800cf5a30849277bf1e084d4 |
04-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan for Go: support mallocs before __tsan_init() (required to support cgo code) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165229 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
|
e933c9fc831073560e8731ac5a5e8414549387b5 |
04-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Avoid calling __asan_init from memcpy(), memmove(), memset() during libSystem initialization. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=117. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165227 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
dd01c883c20f4ef5bed6e8fbde452a0ac9191c90 |
04-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't build 64-bit runtime on 32-bit Linux platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165222 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
529cfa05a7dd0cdbe97172045430243181e43522 |
04-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add atomic_fetch_sub() and atomic_signal_fence() functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165218 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
ib/tsan/rtl/tsan_stat.h
|
e8216fd93f6f8980965197a1779b6f54441255ca |
04-Oct-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] properly report mmap failure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165214 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/rlimit_mmap_test.cc
ib/sanitizer_common/sanitizer_posix.cc
|
11830e0e64047a80962626dbe3f53857833ab357 |
04-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
I'm getting these errors with r165159: /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:22:2: error: instruction requires: VFP2 vmov d6, r0, r1 ^ /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:23:2: error: instruction requires: VFP2 vmov d7, r2, r3 ^ /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:24:2: error: instruction requires: VFP2 vcmp.f64 d6, d7 ^ /Users/void/llvm/llvm-tot.src/projects/compiler-rt/lib/arm/eqdf2vfp.S:25:2: error: instruction requires: VFP2 vmrs apsr_nzcv, fpscr ^ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165191 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
f3656c15a797c7c9665e185de90c0964c246fe62 |
03-Oct-2012 |
Bob Wilson <bob.wilson@apple.com> |
Back out my temporary workaround for Apple buildbots. --- Reverse-merging r164909 into '.': U make/platform/clang_darwin.mk git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165159 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
3be338483aee033699cabfe47efe3e7c0b4c7a2b |
03-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Set ASAN_NEEDS_SEGV=0 on Android only. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165120 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
7ba89e5c1f7bd91a3c03d449b073c99c12f554eb |
03-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: prepare for migration to new memory_order enum values (ABI compatible) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165106 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
|
b36103f0fe91a8ca553b6bf67d9f96b91d95d9ee |
03-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
Build ASan runtime on Linux for both x86_64 and i386, same as we do with full compiler_rt and libprofile git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165096 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
8bf8b7943848973398be0c3ad99855e20da6d6fa |
02-Oct-2012 |
Alexander Potapenko <glider@google.com> |
Do not patch the instruction address when symbolizing the reports. Instead, print the correct address at runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165018 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_procmaps.h
|
73ed35f0b6cdc8ce8c23e839a3973212f448ef8d |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix line width git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165009 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
|
866334332ff8c2a1b7f3715224614b6b75a7578c |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Change __asan_set_on_error_callback to weak overridable __asan_on_error, so that ASan would call the latter even if it finds the error early (i.e. during module initialization) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165008 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/lit_tests/on_error_callback.cc
ib/asan/tests/asan_noinst_test.cc
|
3334e12d33261cb8f211f2f49f28ddfa027a40c3 |
02-Oct-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[*San]: handle EINTR. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165006 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_linux.cc
|
e0023f74ea88efee329f68391b70f8adc6b21617 |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165004 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
0ec37a6e84b37ef4785b9863e98d0339c5a10190 |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add extern C for __asan_symbolize on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165003 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_win.cc
|
1ca535700966cf5019dcc6684a62a734a7b96974 |
02-Oct-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165000 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_win.cc
ib/asan/lit_tests/symbolize_callback.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
|
d0a51c02157e8293ea365ad0d429ef8e73d115de |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: wait for pending reports before exit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164999 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
7dccf3f92a867f917ad19f9a6b37bcf93e64b35b |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output tid's in reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164998 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/tsan/go/tsan_go.cc
ib/tsan/lit_tests/race_on_heap.cc
ib/tsan/lit_tests/race_with_finished_thread.cc
ib/tsan/lit_tests/simple_stack.c
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
c9fa0924dbbb71b32a4ecc50f5dbce3a9c0cb199 |
02-Oct-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: run output tests in parallel git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164997 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/test_output.sh
|
41c6ac5a00fb011a2ba9a60766880536f3eecdec |
30-Sep-2012 |
Bob Wilson <bob.wilson@apple.com> |
Temporarily comment out some new arm variants to try to fix buildbots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164909 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
004c4340248841aefe5a23d1d20556ac801c871d |
30-Sep-2012 |
Bob Wilson <bob.wilson@apple.com> |
Add compiler-rt support for Swift. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164903 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/Makefile.mk
ib/arm/divsi3.S
ib/arm/udivsi3.S
ake/platform/clang_darwin.mk
ake/platform/darwin_bni.mk
|
7bc07eb5427224b34277a25b79bd354e5a6bb39c |
30-Sep-2012 |
Bob Wilson <bob.wilson@apple.com> |
Add support for iOS6. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164902 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
7da8503a90c7f84787aa1ba978e2223893fa7727 |
28-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix unit test headers. Add an option to change substitute asan_test_config.h file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164821 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_benchmarks_test.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_config.h
ib/asan/tests/asan_test_utils.h
|
855114a3d5e5a08c0e38ba8c9e4ec5313d8cbadb |
28-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use llvm-symbolizer (in offline mode) in ASan output tests on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164819 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/lit.site.cfg.in
|
9712af9ce7f5efc14cb11af2599fd065e7b7a3dd |
28-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Change defaults for Android target. This way building without -DASAN_* in CFLAGS produces working binaries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164816 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
678e5436c6c1ecbd0cf50ce80bc7a2afb904c0ef |
27-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Add a missing const qualifier. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164773 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
97dac9e9a15722f94724a9f61b29518698867ee8 |
27-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Quick fix data/bss detection in TSan. The old way breaks when a module's bss is adjacent to the [heap] vm area. Both ways are not very reliable, though. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164772 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
7eff311e3e969ae084aadba7d7812591e34d08ab |
27-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] move replacement for new/delete back into tsan_interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164764 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/CMakeLists.txt
ib/tsan/rtl/Makefile.old
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_new_delete.cc
ib/tsan/rtl/tsan_rtl.h
|
ce31aa700275ab17aa42db0d1d175abddc89eb2e |
26-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Fixed a number of gpylint warnings, added binary names filtering (useful for Chrome), minor fixes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164695 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
b2546c44c828a546a98c091c714b71b1c9966673 |
26-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Encapsulate the main loop into a class to allow reusing it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164694 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
6da31e480c0cbaa7e2002c6d97b316e19874205a |
26-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Set --use-symbol-table=true as Alexey has already resolved the FIXME. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164693 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
68bdcc4db8802c9a6f72d0e684a336ab92a3785b |
25-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fork external symbolizer before starting internal threads git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164600 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
b8cabab1509e7025ac57cd2429bc637edebdee8f |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] one more attempt to fix sleep_sync test: call sleep in the spawned thread so that sleep-synchronization will be detected even if child thread is started late. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164488 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/sleep_sync.cc
|
4f0ea398bdc99a4a32402057c23bbcc6d19a8eb4 |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Provide replacements for operators new/delete instead of declaring extern C functions with weirdly mangled names (same strategy is used in ASan). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164487 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/CMakeLists.txt
ib/tsan/rtl/Makefile.old
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interceptors.h
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_new_delete.cc
ib/tsan/rtl/tsan_rtl.h
|
b46941a1d23012491a7a8a52718cacbde3c19ba1 |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Apply some ASan-relevant pieces of patch by Ruben Van Boxem. In the same time, remove ASan from CMake build on Windows after conversation with Timur. We don't want to support building ASan on Windows until it is in a working state. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164486 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
nclude/sanitizer/common_interface_defs.h
ib/CMakeLists.txt
ib/asan/asan_malloc_win.cc
ib/interception/interception.h
ib/sanitizer_common/sanitizer_internal_defs.h
|
c6439621280cda29433eeed5abb62ed9833ba45a |
24-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] increase sleep time in test to ensure correct event ordering git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164483 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/sleep_sync.cc
|
b610ef8ded4b51b1fa75cca231de05586dd6bfb1 |
22-Sep-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[CMake][tsan] Compile .S files for tsan as C instead of CXX. Using CXX breaks if you add -stdlib=libc++ to CMAKE_CXX_FLAGS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164422 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/CMakeLists.txt
|
26ce094b819e51773eb1e0f9b80bfc70c44cf37d |
21-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] llvm-symbolizer: enable accessing symbol table (libObject is fixed in r164365) and replace string with std::string git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164367 91177308-0d34-0410-b5e6-96231b3b80d8
tils/llvm-symbolizer/llvm-symbolizer.cpp
|
47a953e75f0dd4ce91da5c6bb0e87490727a59e6 |
20-Sep-2012 |
Eric Christopher <echristo@apple.com> |
Both OpenBSD and Bitrig need to include machine/endian.h to get the _BYTE_ORDER define. Patch by David Hill. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164286 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_endianness.h
est/Unit/endianness.h
|
1c2a24e131a8f15a70586a0563afe7a6e4a68aa7 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Include ASan into CMake build only on Linux, Mac and Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164224 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
06dc82dd82af6b305173e55d35d98ab1e3abf6a8 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add tsan to cmake build of compiler-rt only on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164217 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
75317318a7173801a00494717b9408142fbcee5c |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make asan_symbolize script work if there is no llvm-symbolizer available git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164214 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
63e4df4356c9949d95ad0bb6b8fd5f56de2efd00 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix offline python symbolizer script to use llvm-symbolizer if possible git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164209 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
b0ddf227b25388ad836e560c00f0aec84026b0e5 |
19-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: fix headers and lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164205 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_globals_test.cc
ib/asan/tests/asan_test.cc
|
b2c8d695e8b569058b1a8f76e2d2b270d6bd1232 |
19-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix gcc4.2.1 warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164200 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
85a6dad26739fcd9742eae04b4a539e29889e937 |
19-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164198 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
|
58b017bb286a8f4413a9348d2c87c52de38cff6d |
18-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Intercept signal() and sigaction() within the dynamic runtime on Mac. Add a test that ensures that ASan does not allow to override the signal handlers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164118 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/dynamic/asan_interceptors_dynamic.cc
ib/asan/tests/asan_test.cc
|
0f4ae5d0e3223627ec60c9159f32bfa73038bce7 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one of TSan output tests that somewhy fails otherwise git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164116 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/sleep_sync.cc
ib/tsan/tests/rtl/tsan_test.cc
|
e64c3b6f05a65560df5e60742168d9a7e68a94eb |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc warnings in TSan tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164115 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/lit_tests/CMakeLists.txt
ib/tsan/tests/rtl/tsan_test.cc
ib/tsan/tests/rtl/tsan_test_util_linux.cc
ib/tsan/tests/unit/tsan_flags_test.cc
|
d92e5a0d4cb576d2038464681924ff54e4dc215e |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] llvm-symbolizer: turn off symbol table lookup by default while getSymbolAddress from libObject returns wrong values git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164113 91177308-0d34-0410-b5e6-96231b3b80d8
tils/llvm-symbolizer/llvm-symbolizer.cpp
|
5c153faa535f671dd0e8d40ab43397f2d3c6f6f5 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move printing descriptions of heap addresses in error report from allocator internals to asan_report.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164112 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_report.cc
|
c64b9994e45d04162a47f30343e4283c93464ab1 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] update lint checker script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164111 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
3168586f24f2d275e6fae167d9a4d98238004f43 |
18-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] port all output tests to lit and move them to lit_tests directory. This makes 'make check-tsan' command test both unit and output TSan tests. Old custom makefiles for running TSan tests are still functional as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164110 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/lit_tests/CMakeLists.txt
ib/tsan/lit_tests/free_race.c
ib/tsan/lit_tests/free_race2.c
ib/tsan/lit_tests/heap_race.cc
ib/tsan/lit_tests/lit.cfg
ib/tsan/lit_tests/lit.site.cfg.in
ib/tsan/lit_tests/memcpy_race.cc
ib/tsan/lit_tests/mop_with_offset.cc
ib/tsan/lit_tests/mop_with_offset2.cc
ib/tsan/lit_tests/mutex_destroy_locked.cc
ib/tsan/lit_tests/race_on_barrier.c
ib/tsan/lit_tests/race_on_barrier2.c
ib/tsan/lit_tests/race_on_heap.cc
ib/tsan/lit_tests/race_on_mutex.c
ib/tsan/lit_tests/race_with_finished_thread.cc
ib/tsan/lit_tests/simple_race.c
ib/tsan/lit_tests/simple_race.cc
ib/tsan/lit_tests/simple_stack.c
ib/tsan/lit_tests/simple_stack2.cc
ib/tsan/lit_tests/sleep_sync.cc
ib/tsan/lit_tests/sleep_sync2.cc
ib/tsan/lit_tests/static_init1.cc
ib/tsan/lit_tests/static_init2.cc
ib/tsan/lit_tests/static_init3.cc
ib/tsan/lit_tests/static_init4.cc
ib/tsan/lit_tests/static_init5.cc
ib/tsan/lit_tests/suppress_same_address.cc
ib/tsan/lit_tests/suppress_same_stacks.cc
ib/tsan/lit_tests/test_output.sh
ib/tsan/lit_tests/thread_leak.c
ib/tsan/lit_tests/thread_leak2.c
ib/tsan/lit_tests/thread_leak3.c
ib/tsan/lit_tests/tiny_race.c
ib/tsan/lit_tests/virtual_inheritance_compile_bug.cc
ib/tsan/lit_tests/vptr_benign_race.cc
ib/tsan/lit_tests/vptr_harmful_race.cc
ib/tsan/output_tests/free_race.c
ib/tsan/output_tests/free_race2.c
ib/tsan/output_tests/heap_race.cc
ib/tsan/output_tests/memcpy_race.cc
ib/tsan/output_tests/mop_with_offset.cc
ib/tsan/output_tests/mop_with_offset2.cc
ib/tsan/output_tests/mutex_destroy_locked.cc
ib/tsan/output_tests/race_on_barrier.c
ib/tsan/output_tests/race_on_barrier2.c
ib/tsan/output_tests/race_on_heap.cc
ib/tsan/output_tests/race_on_mutex.c
ib/tsan/output_tests/race_with_finished_thread.cc
ib/tsan/output_tests/simple_race.c
ib/tsan/output_tests/simple_race.cc
ib/tsan/output_tests/simple_stack.c
ib/tsan/output_tests/simple_stack2.cc
ib/tsan/output_tests/sleep_sync.cc
ib/tsan/output_tests/sleep_sync2.cc
ib/tsan/output_tests/static_init1.cc
ib/tsan/output_tests/static_init2.cc
ib/tsan/output_tests/static_init3.cc
ib/tsan/output_tests/static_init4.cc
ib/tsan/output_tests/static_init5.cc
ib/tsan/output_tests/suppress_same_address.cc
ib/tsan/output_tests/suppress_same_stacks.cc
ib/tsan/output_tests/test_output.sh
ib/tsan/output_tests/thread_leak.c
ib/tsan/output_tests/thread_leak2.c
ib/tsan/output_tests/thread_leak3.c
ib/tsan/output_tests/tiny_race.c
ib/tsan/output_tests/virtual_inheritance_compile_bug.cc
ib/tsan/output_tests/vptr_benign_race.cc
ib/tsan/output_tests/vptr_harmful_race.cc
|
53fec5d65c35f69656f30e16dbfa439d3860be68 |
18-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix the tsan allocator to handle any alignment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164107 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
9c994aae092ddbc786ceb27668f38571de926e5b |
17-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove debugging code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164052 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
7ad8ae259389e8652a5476681ac01185105c3d68 |
17-Sep-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Update linux stdio.h to support the recent additions to GCDAProfiling. Hopefully unbreaks compiler-rt build on linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164025 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/linux/usr/include/stdio.h
|
9159a592ea0cb258a6cfe2f13ae1d03a517a981a |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Actually delete moved dirs with tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164023 91177308-0d34-0410-b5e6-96231b3b80d8
|
f548ef8e3c6bce5a6b2bee48b8f942d2e27ebf92 |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single root for gtest-based tests. Support running these tests from lit via check-tsan command. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164022 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/CMakeLists.txt
ib/tsan/Makefile.old
ib/tsan/lit_tests/CMakeLists.txt
ib/tsan/lit_tests/Unit/lit.cfg
ib/tsan/lit_tests/Unit/lit.site.cfg.in
ib/tsan/rtl_tests/CMakeLists.txt
ib/tsan/rtl_tests/tsan_bench.cc
ib/tsan/rtl_tests/tsan_mop.cc
ib/tsan/rtl_tests/tsan_mutex.cc
ib/tsan/rtl_tests/tsan_posix.cc
ib/tsan/rtl_tests/tsan_string.cc
ib/tsan/rtl_tests/tsan_test.cc
ib/tsan/rtl_tests/tsan_test_util.h
ib/tsan/rtl_tests/tsan_test_util_linux.cc
ib/tsan/rtl_tests/tsan_thread.cc
ib/tsan/tests/CMakeLists.txt
ib/tsan/tests/rtl/CMakeLists.txt
ib/tsan/tests/rtl/tsan_bench.cc
ib/tsan/tests/rtl/tsan_mop.cc
ib/tsan/tests/rtl/tsan_mutex.cc
ib/tsan/tests/rtl/tsan_posix.cc
ib/tsan/tests/rtl/tsan_string.cc
ib/tsan/tests/rtl/tsan_test.cc
ib/tsan/tests/rtl/tsan_test_util.h
ib/tsan/tests/rtl/tsan_test_util_linux.cc
ib/tsan/tests/rtl/tsan_thread.cc
ib/tsan/tests/unit/CMakeLists.txt
ib/tsan/tests/unit/tsan_clock_test.cc
ib/tsan/tests/unit/tsan_flags_test.cc
ib/tsan/tests/unit/tsan_mman_test.cc
ib/tsan/tests/unit/tsan_mutex_test.cc
ib/tsan/tests/unit/tsan_platform_test.cc
ib/tsan/tests/unit/tsan_printf_test.cc
ib/tsan/tests/unit/tsan_shadow_test.cc
ib/tsan/tests/unit/tsan_stack_test.cc
ib/tsan/tests/unit/tsan_suppressions_test.cc
ib/tsan/tests/unit/tsan_sync_test.cc
ib/tsan/tests/unit/tsan_vector_test.cc
ib/tsan/unit_tests/CMakeLists.txt
ib/tsan/unit_tests/tsan_clock_test.cc
ib/tsan/unit_tests/tsan_flags_test.cc
ib/tsan/unit_tests/tsan_mman_test.cc
ib/tsan/unit_tests/tsan_mutex_test.cc
ib/tsan/unit_tests/tsan_platform_test.cc
ib/tsan/unit_tests/tsan_printf_test.cc
ib/tsan/unit_tests/tsan_shadow_test.cc
ib/tsan/unit_tests/tsan_stack_test.cc
ib/tsan/unit_tests/tsan_suppressions_test.cc
ib/tsan/unit_tests/tsan_sync_test.cc
ib/tsan/unit_tests/tsan_vector_test.cc
|
3b339c923b4eefa6a58a349c1a7a1d279612215e |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] If we detect an unlimited stack, try to re-exec with limited stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164021 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
d7e5bb4043adf4756e6f8cfe0f5a3165b185474d |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Hoist functions to get/set stack size and re-exec from memory-sanitizer branch to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164020 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
62e27098b97e5ef74931c536350123a3df9dec6d |
17-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] increase sleep time if ASan finds two bugs simultaneously to make sure full error report is printed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164018 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
9c6c5a26ec1e49f379515d2403b8b206bf2755c3 |
17-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase internal memory block limit 1GB->4GB git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164011 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
d0dc91869f197d2df69ceaecce0889931e18de67 |
17-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reserve msb in stack depot id's (required for msan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164010 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stackdepot.cc
ib/sanitizer_common/tests/sanitizer_stackdepot_test.cc
|
df11061d6df6e7018c34fc23274c40c36db4731a |
14-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163930 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
843f359862fb8370eacf8aed4e749c46a92b2e38 |
14-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Add support for reading the GCDA file and merging the arc information. With the advent of the __llvm_gcov_flush function, we need to be able to merge counts into the .gcda files in an intelligent manner. This involves reading the file if it exists, adding the counts together, and then writing the results. <rdar://problem/12185886> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163923 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/stdio.h
ib/profile/GCDAProfiling.c
|
6fbf24b26cab6a2e1cd9c4e2a57570a9c679afd2 |
14-Sep-2012 |
Stephen Hines <srhines@google.com> |
am 1f922a52: Merge up through LLVM r163557. * commit '1f922a5259510f70a12576e7a61eaa0033a02b16': Merge up through LLVM r163557.
|
067fb3013252c9bde4543b93ed87ae8bf2c912ec |
14-Sep-2012 |
Stephen Hines <srhines@google.com> |
am 56937189: Merge branch \'upstream\' into merge-2012_09_10 * commit '56937189e87949cca1964a399c8db3fd2ef0fa2d': (107 commits) build/clang_darwin: Add the ASAN dynamic library. - Now with spelling fix for -lstdc++. Revert r163415 in an attempt to bring back the buildbots. [asan] There is no __libc_malloc on Android. Allow to call strchr() from __asan_init(). Fixes PR13794. build/clang_darwin: Add the ASAN dynamic library. [asan] Use a relative include path instead of requiring build system involvement. build: Teach Makefile build system about asan/dynamic subdir. build: Add support for building dylibs. [asan] Suppress some bogus -Winvalid-noreturn diagnostics. tsan: ignore destruction of global mutexes (causes a lot of non-interesting reports) Remove the infinite recursion check for now, as we don't have __thread on Mac, and TSD is an overkill. Two minor changes: -- exit from infinite recursion in CHECK() -- print a verbose message if mapping of the shadow memory has failed. [asan] Raise quarantine size a bit with ASAN_LOW_MEMORY. [ASan] hack initialization-bug test so that it stably passes on both Linux and Mac: make the bug appear independent of the translation unit order [ASan] add Linux-specific test for initialization order that checks that we find a bug independently of translation units order [Sanitizer] add --demangle option to llvm-symbolizer (for now just assume that __cxa_demangle option is available) tsan: fix code style tsan: increase max shadow stack size + reduce memory consumption at the same time (by not memorizing full stacks in traces) tsan: fix Go build script Fix two compiler warnings: must use at least one argument for "..." in a variadic macros, signed vs. unsigned comparison. ...
|
78103db90782ca30593d7b1066b77792ca2f3459 |
14-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Remove some debugging code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163881 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
01167e89d77530d5d8507e1f0f1f2979a1497573 |
14-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the va_arg usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163879 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_printf.cc
|
81dfbb76f858fbc4084771fce4967ede04ed5f44 |
14-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add asan option log_path=PATH to let users redirect asan reports to a file PATH.PID instead of stderr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163872 91177308-0d34-0410-b5e6-96231b3b80d8
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/log-path_test.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_printf.cc
|
484db99999ebadcc62bd5ac5a702d1fdad391111 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] support building TSan unittests in CMake git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163797 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/CMakeLists.txt
ib/tsan/rtl_tests/CMakeLists.txt
ib/tsan/unit_tests/CMakeLists.txt
|
deb0dd86b99170abfdfb39520064c49b3e91b0cc |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix a typo in CMakeLists git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163796 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/CMakeLists.txt
|
9a46c3b7aeb3a800702b48dd5f8017b0ae7387c7 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use interface attribute for weak functions that may be overriden by user git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163795 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
79c682624f727408c1e56afc9d561fe0e03f4804 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add initial support for buidling ThreadSanitizer runtime library with CMake (currently the only supported platfrom is 64-bit Linux). This patch makes 'clang++ -fthread-sanitizer' work for both clang in the build tree and installed clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163789 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/tsan/CMakeLists.txt
ib/tsan/rtl/CMakeLists.txt
|
2135d8a7f4ba30fe35ed02d5e6ffd59a95b26219 |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix a bunch of warnings reported by pedantic gcc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163788 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_atomic.h
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_suppressions.h
ib/tsan/rtl/tsan_trace.h
|
1d34a48ea9fe3b133cf96ef5e84fee44d9b24c7f |
13-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] don't use -Werror as default compile flag for sanitizer runtimes - people may use too many distinct/old host compilers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163784 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
8019524fdba2eb50ea6fac5f07d938165ad1e065 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Pass -std=c99 when compiling mach_override.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163717 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/CMakeLists.txt
|
ca2cdd989076d091d8c4d4c277f8b47d9b5903ad |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Give more accurate malloc statistics to malloc_zone_statistics(). Fix a warning in macros instantiation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163716 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
ib/asan/asan_stats.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
ib/asan/tests/asan_test.cc
|
0fb4069dd0d0ef4c105105affea821f516a353a5 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Fix compiler warnings: remove __attribute__((visibility)) for static functions, use unsigned char instead of char. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163707 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/mach_override/mach_override.c
|
4ea14c2fa243684e1d7a017bd4f0d1e38801de0a |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] more macro/casting magic to suppress warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163706 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
ib/interception/interception_mac.h
|
76e842845c927e92c2c21c41ac51e364fa17528c |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix compiler warnings for unit test on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163704 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_test.cc
|
246ef3b045ba183ede4eb4635e31cd477aa91cf5 |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix compiler warnings (including void* arithmetic) in mach_override git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163698 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/mach_override/mach_override.c
|
c27279a4a08e0661f204c3e5dc65aafce79dec8a |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix interception macro for Android build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163692 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_linux.cc
ib/interception/interception.h
|
938c1ba136eb04ded2c982219edd689502094a54 |
12-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Initial support for malloc_zone_statistics. All counters are set to zero now. This is required to overcome a crash in mstats() (http://code.google.com/p/address-sanitizer/issues/detail?id=109) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163690 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
721460bdcbc29605381ee7658e6d0c233da0da8d |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Please Android build. Re-check the availability of -Wno-variadic-macros flag. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163688 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
b43d6a8ca10b9af8a903e8726003ae7767f9e823 |
12-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] first effort to start building ASan runtime with -Werror in CMake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163686 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/asan_interceptors.cc
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/CMakeLists.txt
|
b66bfd1e28776f0a350b9c197926c2c172678603 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] get rid of empty DEFAULT_CONVENTION in interception lib to remove empty macro arguments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163622 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
|
726fa673ede563a4785b5a44110b36071c4295b1 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] test 64-bit allocator only on suitable targets git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163615 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/CMakeLists.txt
|
223ff76d894fea012086da0413afbf219221d718 |
11-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Revert the lockf() support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163614 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
34fc56c43f60be0b85a0e3ce30658fd98951f0b8 |
11-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
CMake build rules for ASan Android runtime and tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163613 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
7e72e45e3b725ef29b82fd4386c6571d64f9b6cc |
11-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Fox a typo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163611 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
3f3ca96358ed02ef13c5cfd5d6bc4d33dd861c2a |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add new lit testsuite: check-sanitizer that runs unit tests for sanitizer_common runtime (shared between ASan and TSan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163610 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/tests/CMakeLists.txt
ib/sanitizer_common/tests/lit.cfg
ib/sanitizer_common/tests/lit.site.cfg.in
ib/sanitizer_common/tests/sanitizer_test_main.cc
|
d7ed1f09f316628b2d981a1d8c2cf0f5af30e90e |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix warnings reported by gcc. Update the list of targets to check lint for git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163608 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/scripts/check_lint.sh
ib/sanitizer_common/tests/sanitizer_stackdepot_test.cc
|
70a7095e37289746fd20595457d517faf66dc6a4 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[compiler-rt] Install support for CMake build of compiler-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163607 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
|
374520df0a4fde014380298d00bad4064de3e476 |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove custom Die/CheckFailed from allocator testlib git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163604 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
|
591616d323d73b7ea7cd8fea4eec46cedccda27e |
11-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan runtimes: implement tool-specific Die and CheckFailed functions via callbacks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163603 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
0ce948e0887e2c23c6510c32a639da9730bbce25 |
11-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Interceptors for lockf and lockf64, minor calloc() fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163602 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
1f922a5259510f70a12576e7a61eaa0033a02b16 |
11-Sep-2012 |
Stephen Hines <srhines@google.com> |
Merge up through LLVM r163557. Updated Android.mk source file for asan and fixed up test setup (thanks to Evgeniy for the starter patch). Change-Id: I4dcf13130505f4c1e2eed191a3b403ccab5e5e26
ib/asan/Android.mk
ib/asan/asan_android_stub.cc
|
56937189e87949cca1964a399c8db3fd2ef0fa2d |
11-Sep-2012 |
Stephen Hines <srhines@google.com> |
Merge branch 'upstream' into merge-2012_09_10 Conflicts: lib/sanitizer_common/sanitizer_allocator.cc Change-Id: Ic93702aa92d9d4d582b25b33dfc14f6176d6b8a8
|
cb9bd24e5f226b9a922098403cbd1589be39e605 |
11-Sep-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r163411 based on review discussion. In code review, it looked like these warnings do not actually fire with modern Clang or GCC. However, the pragma is flat out rejected by GCC in many configurations (-Werror) so it ended up causing more problems than it fixed. Daniel agreed with reverting this, but I think didn't have time to get to it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163583 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
78aedd464282595ba2c7bf83ddc4978117925217 |
10-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
build/clang_darwin: Add the ASAN dynamic library. - Now with spelling fix for -lstdc++. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163527 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
d2f2615acc34278a7c6c5e3d75c14266ce1ee513 |
10-Sep-2012 |
Chad Rosier <mcrosier@apple.com> |
Revert r163415 in an attempt to bring back the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163522 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
4a4719cc441e9c45031aca1a024b58fac5ed9edb |
10-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] There is no __libc_malloc on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163498 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
|
8d6e3f7d011970e35dadf831964260bcf6a4d8a9 |
10-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Allow to call strchr() from __asan_init(). Fixes PR13794. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163493 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
5b36c14401009924adc6088e3289effdb7ee6555 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
build/clang_darwin: Add the ASAN dynamic library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163415 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
0d02f1f1a076bd5931309f2cfc0422b477a4e7a2 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
[asan] Use a relative include path instead of requiring build system involvement. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163414 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/dynamic/asan_interceptors_dynamic.cc
|
38b7c1bd5dcbd669759a31b6c9fb6e8683432896 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
build: Teach Makefile build system about asan/dynamic subdir. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163413 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.mk
ib/asan/dynamic/Makefile.mk
|
8bc01cbd099b48d6c77d07e145d97104b43f4d38 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
build: Add support for building dylibs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163412 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/lib_info.mk
ake/options.mk
|
f4e21fb6369497a271373ef4530e33a40e607542 |
07-Sep-2012 |
Daniel Dunbar <daniel@zuster.org> |
[asan] Suppress some bogus -Winvalid-noreturn diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163411 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
0c2feef1067818db0ede4531a2e71c9b5595d57a |
07-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ignore destruction of global mutexes (causes a lot of non-interesting reports) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163400 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl_mutex.cc
|
8e23d275ec871c16b71f3a98cc475f0db8cb3863 |
07-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Remove the infinite recursion check for now, as we don't have __thread on Mac, and TSD is an overkill. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163393 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
5aabcb547a983653a754258d63e27e3790c564d3 |
07-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Two minor changes: -- exit from infinite recursion in CHECK() -- print a verbose message if mapping of the shadow memory has failed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163391 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
7315c26122cbdfee82f4dbadaedd5c1b85755503 |
07-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Raise quarantine size a bit with ASAN_LOW_MEMORY. Our tests expect that a 16M block will fit in the quarantine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163384 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
d79635960420cc24f2533a12ee221f51d8a98a81 |
07-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hack initialization-bug test so that it stably passes on both Linux and Mac: make the bug appear independent of the translation unit order git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163381 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Helpers/initialization-bug-extra2.cc
ib/asan/lit_tests/initialization-bug.cc
|
ef698124b4d1875bb793a4f1d885a3d2f1f538e1 |
07-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add Linux-specific test for initialization order that checks that we find a bug independently of translation units order git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163379 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/initialization-bug-any-order.cc
|
3bb7e52327bdfbfdf8b22073910cb7be0a0c06e8 |
07-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add --demangle option to llvm-symbolizer (for now just assume that __cxa_demangle option is available) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163376 91177308-0d34-0410-b5e6-96231b3b80d8
tils/llvm-symbolizer/llvm-symbolizer.cpp
|
03e23bba872d0745ac6b30ead66631277269ac3d |
06-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix code style git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163326 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
|
0ab628c61594eb80612e5389d9c33da0e0d70c66 |
06-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase max shadow stack size + reduce memory consumption at the same time (by not memorizing full stacks in traces) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163322 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_trace.h
ib/tsan/unit_tests/tsan_stack_test.cc
|
dd5a237b06a6fdd29e632a8a0966792a54664d00 |
06-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix Go build script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163320 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
78c7f57e2dd5240b0c2c8bfefd8a776c517f1e22 |
06-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Fix two compiler warnings: must use at least one argument for "..." in a variadic macros, signed vs. unsigned comparison. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163314 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_rtl.cc
|
e0e9eea99d7a81a15c4bb15ff2e5ebd92b50817b |
06-Sep-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Use __ANDROID__ guard in asan_test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163313 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
e9f5785228eb19e64719a1a3e258d12639479c8c |
06-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Use the return value of dladdr() to avoid Clang warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163311 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
6d924facc5c979a0d25f484cffcdb51c766ed551 |
06-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] increase max stack size to 256 (+test) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163308 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/lit_tests/deep_stack_uaf.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
6d8091d8f0a5f5edcd40f97022032257e2924c26 |
06-Sep-2012 |
Alexander Potapenko <glider@google.com> |
Add "movsbl %dh, %ecx" and "testb %r8, %r8" to mach_override. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=105 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163301 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/mach_override/mach_override.c
|
ba534e7fc561c4a61acbb1bbc03e0a02996c8e94 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] actually remove old makefile git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163300 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.disabled
|
8cc1f81b2cc1fa0d4cda4f4635d955aed04c09c8 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] add support for running external symbolizer other than addr2line (for testing purposes) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163297 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_symbolize.cc
|
03e699f8c6ae2edab70c9db0b0c1e1d40025fa71 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove unused field git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163296 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
5b1f0202cefdab3970b4d5372777d586ffa49dd3 |
06-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Nuke output_tests/ in favor of lit_tests/. Stop using Makefile.old. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163294 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.disabled
ib/asan/Makefile.old
ib/asan/README.txt
ib/asan/output_tests/clone_test.cc
ib/asan/output_tests/deep_tail_call.cc
ib/asan/output_tests/default_options.cc
ib/asan/output_tests/dlclose-test-so.cc
ib/asan/output_tests/dlclose-test.cc
ib/asan/output_tests/global-overflow.cc
ib/asan/output_tests/heap-overflow.cc
ib/asan/output_tests/interception_failure_test-linux.cc
ib/asan/output_tests/interception_malloc_test-linux.cc
ib/asan/output_tests/interception_test-linux.cc
ib/asan/output_tests/large_func_test.cc
ib/asan/output_tests/memcmp_test.cc
ib/asan/output_tests/null_deref.cc
ib/asan/output_tests/shared-lib-test-so.cc
ib/asan/output_tests/shared-lib-test.cc
ib/asan/output_tests/stack-overflow.cc
ib/asan/output_tests/stack-use-after-return.cc.disabled
ib/asan/output_tests/strncpy-overflow.cc
ib/asan/output_tests/test_output.sh
ib/asan/output_tests/use-after-free.c
ib/asan/output_tests/use-after-free.cc
|
7780e768b8ef57754cfd8ee30975df98ae8d9871 |
06-Sep-2012 |
Stephen Hines <srhines@google.com> |
am 6490f0d0: Fix up compiler-rt for upstream merge to r162279. * commit '6490f0d0b9a761083016aa469c9cce72b341b0a4': Fix up compiler-rt for upstream merge to r162279.
|
3968fa442add1bcc82d6a97de209f1dd4784d30d |
06-Sep-2012 |
Stephen Hines <srhines@google.com> |
am 58948471: Merge branch \'upstream\' into merge_2 * commit '58948471cbd30eca1336a27687093f08b7f44bdd': (208 commits) [asan] fix mac build [asan] run-time part of the initialization order checker. Patch by Reid Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine. [Sanitizer] implement internal_strcspn [asan] update asan-rt to match the interface change in LLVm (r162268) [Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It is defined analogous to similar class in tsan and should replace it. [asan] fix lint Dynamic interceptors for dispatch_async and dispatch_after. Minor refactoring: reduce code duplication by introducing a macro for dispatch_sync_f, dispatch_async_f, dispatch_barrier_async_f bodies. Fix a leftover #if defined(DYNAMIC_MAC_WRAPPERS). tsan: proper handling of linker initialized mutexes tsan: Non-executable stack for hand-coded assembly Intercept siglongjmp and _longjmp under "#if ASAN_INTERCEPT_*" Fix lint warnings. Commit the source and CMake changes that will allow to build ASan runtime as a shared library on Mac OS. This will provide an alternative to mach_override. tsan: improve Go report format + fix build tsan: add flag to disable reporting of destruction of locked mutexes (some programs use that on a regular basis) tsan: better diagnostics for destroy of a locked mutex + a test tsan: support for linker initializer mutexes with static storage duration tsan: fix COMPAT shadow mapping once again tsan: implement RWLOCK annotations ...
|
ff392a44a9af183de5adc8893ddd11ac77625d56 |
06-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] increase the maximal size of malloc/free stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163291 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
d1b8f588d6b712b6ff2b3d58c73d71614f520122 |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement readlink as syscall on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163213 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_win.cc
|
4a78b1e4685f34aa8a53287c51e4215880e554e0 |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Hack ASan lit config to allow running lit on tests manually git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163209 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/lit.cfg
|
5f799c78e5b1bd8105bab77a0935f27ee808dc97 |
05-Sep-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] added tests for asan-initialization-order, patch by Reid Watson git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163207 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Helpers/blacklist-extra.cc
ib/asan/lit_tests/Helpers/initialization-bug-extra.cc
ib/asan/lit_tests/Helpers/initialization-nobug-extra.cc
ib/asan/lit_tests/Helpers/lit.local.cfg
ib/asan/lit_tests/blacklist.cc
ib/asan/lit_tests/initialization-bug.cc
ib/asan/lit_tests/initialization-nobug.cc
ib/sanitizer_common/scripts/check_lint.sh
|
0f7d4a4ad69ad20053d8b78c611853e778bd465a |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hoist more compile flags to SANITIZER_COMMON_CFLAGS var and add the rest of flags/defs from old Makefile to CMake git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163204 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
656e4eef01b935e7d356e697e0f3ef4c99be2fbf |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add CMake support for building ASan benchmarks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163201 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
71b42c9740e6f73da607aaa539affb5c4807231c |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add print_full_thread_history runtime option (on by default) that prints all full thread creation paths for threads involved in ASan error report git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163200 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_flags.h
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
ib/asan/asan_thread.h
ib/asan/lit_tests/deep_thread_stack.cc
|
1dc4cf7e253aefa3ce3bd4a1d349a13647e8b2ea |
05-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove implicit conversion of InternalScopedBuffer<T> to T* git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163197 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
38e853db8353285da16416885da42219fee701c4 |
04-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Support for reading inlined frames from llvm-symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163140 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
c5fee8e40d369e93ab91011c18347395167ff132 |
04-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[compiler-rt] Recurse into 'utils' directory in CMake build of compiler-rt, enable build of llvm-symbolizer binary (currently for one target only) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163138 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
tils/CMakeLists.txt
tils/llvm-symbolizer/CMakeLists.txt
tils/llvm-symbolizer/llvm-symbolizer.cpp
|
92656f8f1210b12c993efe898f39f883a634f1fb |
04-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] llvm-symbolizer util: make it more conforming to LLVM code style, and support fetching inlining info git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163133 91177308-0d34-0410-b5e6-96231b3b80d8
tils/llvm-symbolizer/llvm-symbolizer.cc
tils/llvm-symbolizer/llvm-symbolizer.cpp
|
aaac6e206453574d0130f2ae8d743f630d0c0a42 |
02-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not crash with obscure message if a user passes invalid arguments to malloc/free/memset/etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163092 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
41e8153c4a29b28bc7c80d35bc1d43438acdd4e7 |
02-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: insert cfi directives into assembly (not fully working for now, though) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163090 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_amd64.S
|
0542644830da123babea42f58416487be467c72d |
02-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more robust current thread stack restoration git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163089 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
1da1056127d1dbcacdd035eb4149257848f7c4df |
01-Sep-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for mutex misuse git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163060 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
9adce675d5978dc8c584bafe724208bbab4ae72a |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crash when users pass insane mutex addresses in dynamic annotations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163016 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_mutex.cc
|
848531192777acecf79747dc7c1ffeedf5c1da9f |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add "as if synchronized via sleep" feature git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163006 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/race_on_heap.cc
ib/tsan/output_tests/sleep_sync.cc
ib/tsan/output_tests/sleep_sync2.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_stat.h
|
1b1de03d493b5d4950988924ee4ad900b6c78008 |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows build (2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162997 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
0d9c08d74cb5e697c5e3ad7ddfb9f5a414d249df |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix windows build (1) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162996 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
c00e30a77a2993bed741c00628b1e034ce01e44d |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: slightly optimize mutex unlock git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162995 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_mutex.cc
|
7643a5077a01f56766e2e417d1346e8340710081 |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more precise handling of atomic_store(memory_order_release) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162994 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
|
84112a3553bfe10dd4c9e20567495804a15f4545 |
31-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve stack depot git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162993 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stackdepot.cc
|
c79c21fb56b9df72d1d9f6623e936976193d2cf6 |
31-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] locate the auxilary space for tsan's Allocator64 after the main region, not before. This simplifies the shadow mappings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162991 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
98ea50788e8167dcd779ad43fc65103c52e0aa5c |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix overloaded operator error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162990 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
2132d13689a455e96d1f62056bf88d338e1ae945 |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[compiler-rt] fixup for r162988 - remove accidentally commited file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162989 91177308-0d34-0410-b5e6-96231b3b80d8
tils/llvm-symbolizer/CMakeLists.txt
|
8790f0a7f39d61a806c7339abd45bb83c15ee042 |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[compiler-rt] Move draft code for llvm-symbolizer to compiler-rt/utils/llvm-symbolizer after chandlerc's suggestion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162988 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/llvm-symbolizer/llvm-symbolizer.cc
tils/llvm-symbolizer/CMakeLists.txt
tils/llvm-symbolizer/llvm-symbolizer.cc
|
2acf5562bfd787c1667297c593ddfc0e35b91489 |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove some calls to libc malloc from symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162987 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
678b2fe068a1ef87317ca0199cf24379a0f94e6e |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Resolve fixme: break dependency of sanitizer_common tests on TSan RTL git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162984 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_flags_test.cc
|
02aa242ba4452b2a45d7d099ac4700378be6c9c5 |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make lint checking a standalone script in sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162982 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/scripts/check_lint.sh
|
184fdd7837ca5b4f2c8cfd2ba1fb1e32f3a5ffbe |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove lint checkers from our old makefiles in favor of buildbot git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162981 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/README.txt
ib/tsan/Makefile.old
|
ada92363bd7624a7bc76ba8da3b1ef264a2e830e |
31-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Fix style warinings in output test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162980 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/race_on_heap.cc
|
5092682c3a6902e460a6e439cf48b3dc7d48dc65 |
30-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
Whitespace/lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162909 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_thread.h
ib/asan/tests/asan_test_utils.h
ib/tsan/output_tests/simple_stack2.cc
ib/tsan/output_tests/static_init2.cc
ib/tsan/output_tests/static_init4.cc
ib/tsan/output_tests/static_init5.cc
ib/tsan/output_tests/virtual_inheritance_compile_bug.cc
|
af31087cc618ad94702207558f421ef56bc55dfb |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: speed up allocator64 GetBlockBegin() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162908 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
9d6f5a88618689a145eb30674db22dbfa894c8ad |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: simplify TSAN_HISTORY_SIZE code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162905 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_trace.h
|
ff35f1d82b4f145b3477ef27a7a2e7b63c486988 |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use stack depot to describe heap blocks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162902 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/sanitizer_stackdepot.cc
ib/sanitizer_common/sanitizer_stackdepot.h
ib/sanitizer_common/tests/sanitizer_stackdepot_test.cc
ib/tsan/output_tests/race_on_heap.cc
ib/tsan/output_tests/race_on_mutex.c
ib/tsan/output_tests/simple_stack.c
ib/tsan/output_tests/simple_stack2.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
1b37017f0216d0b8f3ae3a7dea8b3cc20d74db25 |
30-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: first version of "stack depot" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162897 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/sanitizer_stackdepot.cc
ib/sanitizer_common/sanitizer_stackdepot.h
ib/sanitizer_common/tests/sanitizer_stackdepot_test.cc
|
62825675e6b4f3d8459f745fe68ae30f236f82a5 |
29-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix flakiness of Linux-specific clone_test: waitpid should better be provided with __WCLONE option, otherwise it didn't wait for the subprocess, returned -1, and we went crushing the subprocess stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162842 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/clone_test.cc
|
2122f705fcad0316b5ff9d5e1e9260fd18191e1f |
29-Aug-2012 |
Alexander Potapenko <glider@google.com> |
For invalid pointers passed to free_common check whether they are actually skewed to hold an additional CFAllocatorRef. If so, fix the pointer and pass it to asan_free. See http://code.google.com/p/address-sanitizer/issues/detail?id=70 for more background. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162839 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
4fa111ccf225648a3de447a7a1ed6420b3c4b3af |
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap inseted of InternalAlloc in InternalScopedBuffer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162834 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_stacktrace.cc
|
5f0297b5176f6937c59c0180282ba1eee48a1c28 |
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix tsan's Makefile.old -- our build bot still uses it (hopefully, will soon migrate to cmake completely) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162832 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/rtl/Makefile.old
|
a60844da5bbaaa60e546f3e2bd14a1763965ef65 |
29-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix asan's Makefile.old -- our build bot still uses it (hopefully, will soon migrate to cmake completely) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162831 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
d865fecddccebf898ceed24d096fc58fb29a6e57 |
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Relocate the external headers provided by ASan and the common sanitizer library. These headers are intended to be available to user code when built with AddressSanitizer (or one of the other sanitizer's in the future) to interface with the runtime library. As such, they form stable external C interfaces, and the headers shouldn't be located within the implementation. I've pulled them out into what seem like fairly obvious locations and names, but I'm wide open to further bikeshedding of these names and locations. I've updated the code and the build system to cope with the new locations, both CMake and Makefile. Please let me know if this breaks anyone's build. The eventual goal is to install these headers along side the Clang builtin headers when we build the ASan runtime and install it. My current thinking is to locate them at: <prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h <prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h <prefix>/lib/clang/X.Y/include/sanitizer/... But maybe others have different suggestions? Fixing the style of the #include between these headers at least unblocks experimentation with installing them as they now should work when installed in these locations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162822 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
nclude/sanitizer/asan_interface.h
nclude/sanitizer/common_interface_defs.h
ib/asan/asan_allocator.cc
ib/asan/asan_flags.h
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_interface.h
ib/asan/asan_poisoning.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stats.cc
ib/asan/lit_tests/interface_symbols.c
ib/asan/output_tests/test_output.sh
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/sanitizer_interface_defs.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.h
ake/config.mk
|
60ab090deed8213613643729a7921ef0915ac704 |
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Some flag cleanup for the sanitizer runtimes. This hoists most of the CFLAGS into a common variable. It also adds detection for -Wno-c99-extensions and uses it to silence a pile of warnings. Finally, it switches to the proper flag -rdynamic. With this, the cmake build is warning free on my bootstrap Linux build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162809 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
80acccf4647c3482c3e3e6ae21e757ba580a5956 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] one more fix for windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162762 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/sanitizer_common/sanitizer_internal_defs.h
|
9ada1f376498647c8035f52b36d98bdf0f6363e6 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the cmake build (hopefully) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162760 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
c7be4077b90cae43f8e6d2d4de66ae64111dd715 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] actually doing 'svn add' helps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162759 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_stacktrace.cc
ib/sanitizer_common/sanitizer_stacktrace.h
|
69f2174b3bdee7fe6c6911778147fc7e35d57693 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162758 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_win.cc
|
1b5ea8fbbef73f5d9b41dbb26a21b9a0f4d1445e |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] actually move StackTrace to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162757 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_internal_defs.h
|
cc347222d55967fdb775429a8a0a3a5d795b8b50 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] even more refactoring to move StackTrace to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162754 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_report.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_thread.h
|
2b939c3abc8b7713ef28000bd768ca6d77445f45 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more refactoring to move StackTrace to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162752 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
|
8757a68c78f76fca32d3f2256fa70a7b550aa9e1 |
28-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] CMake build: share more compile flags between instrumented and non-instrumented tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162750 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
4c2ddda9ac80f94782b2b040208831233db578af |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] some renaming before we move StackTrace into sanitizer_common (part 2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162748 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
c3390df6670cb166119b961eb27a033fb9073496 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] some renaming before we move StackTrace into sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162747 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_win.cc
ib/asan/tests/asan_noinst_test.cc
|
283c296b64bc55deec9698260b3427a9b050a925 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of AsanPrintf in favor of Printf from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162746 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_malloc_mac.cc
ib/asan/asan_printf.cc
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_printf.cc
|
2c29212c42d457ade0bbd1d01de92195dd9ce925 |
28-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] improve SetErrorReportCallbackTest to actually catch missing functionality in __asan_set_error_report_callback git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162745 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/tests/asan_noinst_test.cc
|
3ec16c550ab6b440f5fb76c607c78291eca163d1 |
28-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Allow to create stub MemoryMappingLayout on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162742 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_procmaps.h
|
f7fa68f5efbd32acd36987ab55305a3abc037636 |
28-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] One more method stub for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162739 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_procmaps.h
|
d883c8007ea8b5ffad10d82a66b1bb262e109705 |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] align allocation sizes in low level allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162676 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/tests/sanitizer_flags_test.cc
|
b10027729a3b809469f6b6ad40407ca453d6f54a |
27-Aug-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
CMake build rules for ASan/Android runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162675 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
985aaaaf208f43e4b47625e21e9ebc434c5462e3 |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] One more try to fix Windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162674 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_win.cc
|
947fbd1a073fcd38988c1ec131452e99bb0313f8 |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use low-level allocator in flag parsing to avoid calling malloc() before ASan/TSan initialization is done git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162673 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_flags.cc
|
e1f5dac9296df08ff83ae5fca51ce4da995b55cf |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rename ProcessMaps to MemoryMappingLayout and fix Windows build by providing stub implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162671 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/tsan/rtl/tsan_platform_linux.cc
|
1069b9a6845a95e3482f9ee68d8e5b3e970fa11c |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add missing build dependency on sanitizer_common headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162670 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.mk
|
3891ce634380845d337cd865e559f4abbdc8ebdb |
27-Aug-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
A few tweaks for building ASanRT against Android NDK. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162666 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_mapping.h
ib/asan/asan_new_delete.cc
ib/asan/asan_thread_registry.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
70e177e29c6f9ac987b65a79f6b4f3ebdabc75cc |
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move low-level (mmap-based) allocator to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162663 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_thread_registry.cc
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
|
ae46cd0e92794f3b18f49f94c081e414fb7e1367 |
24-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve memory allocator a bit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162561 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
f5b925fde9c855eab4fbc71354e79cc777ed19ec |
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Revert the erroneous changes made to Makefile.old in r162547 Remove a spare newline from asan_rtl.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162548 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_rtl.cc
|
eb8c46e419f4c6f01d1b1a0d1b96cc51a61ecbc3 |
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
If the program is linked to a dynamic ASan runtime which is not present in DYLD_INSERT_LIBRARIES (which, in turn, is required for our interceptors to take effect), re-exec the program with DYLD_INSERT_LIBRARIES set. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162547 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_flags.h
ib/asan/asan_interceptors.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
1e2525d0ec9ac64e583b57316ea30cecce591fb1 |
24-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Add add_clang_runtime_shared_library() CMake function and use it to put the shared ASan runtime in the appropriate place. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162546 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
|
6490f0d0b9a761083016aa469c9cce72b341b0a4 |
23-Aug-2012 |
Stephen Hines <srhines@google.com> |
Fix up compiler-rt for upstream merge to r162279. Some new files to compile + fixing an unimplemented function that now returns a value. Change-Id: I088a9830a9a1e0702442a5ca78716465c300e7af
EADME.android
ib/asan/Android.mk
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
|
58948471cbd30eca1336a27687093f08b7f44bdd |
24-Aug-2012 |
Stephen Hines <srhines@google.com> |
Merge branch 'upstream' into merge_2
|
ffad0c4bc88056f5c9360af792ef2e6c1e8259bf |
23-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to override per-thread event trace size useful if you don't see the second stack trace git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162456 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_trace.h
|
557042cfb5c2b1b7906dbfe968e88894a2fdb50e |
23-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix new memory allocator Deallocate: drain blocks to central cache if cached too much (instead of never drain). Allocate: batch allocate fixed amount of blocks (instead of all blocks). This significantly reduces memory consumption of large heavy-multithreaded programs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162447 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
5e26975bd20e2da2838310f995d21fb311bd847b |
23-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add external symbolizer binary. Next steps - include it in CMake build (produce 32-bit and 64-bit version of it, make sure we can compile LLVM sources with our own flags) and add tests for it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162442 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/llvm-symbolizer/llvm-symbolizer.cc
|
af198e421ea198c5f9fa8cd691aa9a209b3d96a0 |
23-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Re-implement the wrappers for libdispatch functions using blocks where appropriate (kudos to Anna Zaks for a good example). This simplifies the code much and lets us not implement internal parts of libdispatch. All ASan tests from t32 and t64 should pass with the dylib runtime now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162439 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_mac.cc
ib/asan/dynamic/asan_interceptors_dynamic.cc
|
9c6e5303fa025a73a09cee0766ae403909b1bb8b |
23-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Switch the symbolization strategy that would be used by sanitizer tools family: as compiling in-process symbolizer into runtime involves certain difficulties, we may instead launch an external symbolizer program (fork + execl) in a subprocess and communicate with it via pipe. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162437 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_llvm.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
|
06a7153ecdd8414a7e2116eb5841c89f1855a267 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use write instead of puts in malloc hooks test for ASan, as puts calls malloc on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162359 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/malloc_hook.cc
|
c93d3e2bdfb1ad9cce26a6e8d66764ed97a6d6b4 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] get rid of ASAN_USE_EXTERNAL_SYMBOLIZER compiler def in favor of __asan_set_symbolize_callback interface function. Now the user doesn't have to recompile ASan runtime to provide its own symbolizer git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162358 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_win.cc
ib/asan/lit_tests/interface_symbols.c
ib/asan/lit_tests/symbolize_callback.cc
ib/asan/output_tests/test_output.sh
|
b21de9e71522a7f9ed31fd92aafe6936873a971c |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make ASan malloc/free hooks weak interface functions, overridable by user. Now the user can control malloc/free hooks without recompiling ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162355 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interface.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/malloc_hook.cc
|
df1f2eff455d823e0f211fe3607cce7f4f17bef7 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix CMake build: make sure that all ASan runtimes are built at correct directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162353 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
14c8bd7250742749e44e306c02a56cf47ad1db82 |
22-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] switch tsan to using InternalScopedBuffer from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162351 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
128892cb26ee50b0fa2171198c7a919540dcd4e7 |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162279 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
3945c58f9db42671b1a3b865fde5008f09a3a40e |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] run-time part of the initialization order checker. Patch by Reid Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162278 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_globals.cc
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_report.cc
ib/asan/asan_rtl.cc
|
251134734f71a7e21a7bd17bc7b5821f07c803b2 |
21-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement internal_strcspn git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162272 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
|
2bf265b3faf8be1710e9a0441fe9344e105e991c |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] update asan-rt to match the interface change in LLVm (r162268) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162269 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
|
6611abe0c2737a37c1c69f0527a35bb34875221d |
21-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It is defined analogous to similar class in tsan and should replace it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162262 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
0ffc227f91b068c78908f735a4846f92e339a337 |
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162258 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
2483ce3e635515d907c0cd8c97db315142fb28db |
20-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Dynamic interceptors for dispatch_async and dispatch_after. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162202 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_mac.cc
ib/asan/dynamic/asan_interceptors_dynamic.cc
|
b09dd34786713a150fed5c5ab1529f01de0e2bc0 |
20-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Minor refactoring: reduce code duplication by introducing a macro for dispatch_sync_f, dispatch_async_f, dispatch_barrier_async_f bodies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162199 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
5ffb40c5532932d4a20738222a43286cf153de52 |
20-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Fix a leftover #if defined(DYNAMIC_MAC_WRAPPERS). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162197 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
55e711ed818d7553d62eba4b3a2fad3e2723f697 |
18-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: proper handling of linker initialized mutexes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162169 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_sync.cc
|
a911c6f1d0c6f8b7e175bd36e7044d79cdcf5153 |
17-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Non-executable stack for hand-coded assembly git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162112 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_amd64.S
|
9ee7cf199bbeb71788088d880d453b8ac9d2fca0 |
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Intercept siglongjmp and _longjmp under "#if ASAN_INTERCEPT_*" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162103 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/dynamic/asan_interceptors_dynamic.cc
|
beda44f87166f91dbeef3d174d77395653bead4d |
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Fix lint warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162092 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
0ef531054fc25c11e372cbab1384f10954984219 |
17-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Commit the source and CMake changes that will allow to build ASan runtime as a shared library on Mac OS. This will provide an alternative to mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162091 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_interceptors.cc
ib/asan/asan_malloc_mac.cc
ib/asan/dynamic/asan_interceptors_dynamic.cc
ib/interception/interception.h
|
fd20851d9e089c472de79cd7a1488a4f6fcf33e9 |
17-Aug-2012 |
Keun young Park <keunyoung@google.com> |
am ad3e3f97: enable libcompiler-rt build for mips * commit 'ad3e3f97fdfe365f9972bc71e3bd535c94a29abe': enable libcompiler-rt build for mips
|
ad3e3f97fdfe365f9972bc71e3bd535c94a29abe |
17-Aug-2012 |
Keun young Park <keunyoung@google.com> |
enable libcompiler-rt build for mips - without this, build with clang fails. - MIPS version only uses c version Change-Id: I360c99e658b021eb8d0eea271160690ce1a29152
ndroid.mk
ib/Android.mk
|
bbbb20b7212155ebc5b5b4ee1c68c987dcf30320 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve Go report format + fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162042 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
fd513907acd3e2eaa02070edaa24df66648dc2ac |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add flag to disable reporting of destruction of locked mutexes (some programs use that on a regular basis) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162024 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_rtl_mutex.cc
|
332c62b52b3603be872b28bd3ea5e739aa28cd05 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better diagnostics for destroy of a locked mutex + a test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162022 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/mutex_destroy_locked.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
|
2e933fc077595b18de37d2ed44e8f14c6053a432 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: support for linker initializer mutexes with static storage duration git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162021 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
|
539121b7be56780045ba1e9c0aea826626cb638a |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix COMPAT shadow mapping once again git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162020 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
|
c20e9ba760a93706c9160133cdcce62194f9694f |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement RWLOCK annotations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162019 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_stat.h
|
eee7f733f047bbd58b0787e6c492fd1bed375cc0 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix COMPAT shadow mapping for new memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162018 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_rtl.h
|
64310b28c4e418573ddfda2dbedd702ccf20a051 |
16-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor cur_thread() -> thr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162017 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
9bbc579e11900741551b81b5e91d22ca47d70b26 |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: store sync objects in memory block headers + delete them when the block is freed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161959 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_sync.cc
|
26af89330051837bab68dcf25cf669c194b4e310 |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: provide function that imitates write to a region but does not detect races git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161957 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
|
23ff97daaa73e858aa2d35618276886c2a8f1e95 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Remove the extra semicolon reported by the buildbot. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161954 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
|
2e87051d136db3150a3ca322d8862f92b0a684bb |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: switch to new allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161953 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
05bf9a51dfeac0f84f6dbc2dacf987249c0fc612 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Introduce asan_intercepted_functions.h which contains the declarations wrapped functions and their wrappers. Those declarations are going to be shared between asan_interceptors.cc and the dynamic runtime library on Mac OS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161952 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_intercepted_functions.h
ib/asan/asan_interceptors.cc
|
9029bdaa43ba59bbc0e73ccb9fa4a0f578bc283d |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] lit tests: use nm instead of llvm-nm, until llvm-nm becomes usable on Mac. Port output test change in r161948 to lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161951 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/interface_symbols.c
ib/asan/lit_tests/sanity_check_pure_c.c
|
cbeeced8f995ca0689131af2c4ad864e9e8fd88f |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add some more tests for memory allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161950 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
fcf1c6fceba8fc39a2933c0ed3709a0d70a4b1ec |
15-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix several integer overflows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161949 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
d14db182365578e79f5f60c5cf1052d5f9a0edef |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Check for filenames and numbers to detect possible problems with asan_symbolize.py on -fPIE binaries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161948 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/use-after-free.c
|
5cfa30e23c092df3265b1ff9e205f36874a2e194 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Pass offset of the frame address within the binary to addr2line instead of the absolute address. Fixes the problem with -PIE binaries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161947 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
71d47fff39a675607933e84071b2e342cc989a0a |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Patch the frame address regardless of the frame number. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161946 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
|
37c4853762c6123a5fef0042d8f65193791b355c |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Move the prototype of __CFInitialize to asan_mac.h so that asan_malloc_mac.cc may use it in the dynamic library mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161945 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
ec3b0732a62bd0a52da7bbfc4e227038ccf9372c |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Use SANITIZER_INTERFACE_ATTRIBUTE instead of __attribute__((visibility("default"))) Export CheckFailed, asan_malloc, asan_free, asan_memalign, AsanStackTrace::CompressStack, AsanStackTrace::UncompressStack from the dynamic runtime library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161943 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
|
11f2b17a5cae796c047a7e22bea4452da337bbce |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Make __asan::asan_{malloc,free,memalign} globally visible, so that the dynamic version of the runtime will export them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161942 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
a10d1dccd93a4aed127719e75a457987a2e8932c |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Port (the last one) tricky interface_test to lit, and a *huge* chunks of boilerplate to run tests for 32/64 bits and all optimization levels. Alas, lit doesn't support for loops in RUN-lines... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161941 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/clone_test.cc
ib/asan/lit_tests/Linux/interception_failure_test.cc
ib/asan/lit_tests/Linux/interception_malloc_test.cc
ib/asan/lit_tests/Linux/interception_test.cc
ib/asan/lit_tests/deep_tail_call.cc
ib/asan/lit_tests/dlclose-test.cc
ib/asan/lit_tests/global-overflow.cc
ib/asan/lit_tests/heap-overflow.cc
ib/asan/lit_tests/interface_symbols.c
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/memcmp_test.cc
ib/asan/lit_tests/null_deref.cc
ib/asan/lit_tests/shared-lib-test.cc
ib/asan/lit_tests/stack-overflow.cc
ib/asan/lit_tests/stack-use-after-return.cc
ib/asan/lit_tests/strncpy-overflow.cc
ib/asan/lit_tests/use-after-free.cc
|
2d9a6d39e3cd673ec531a873d84026cd5c92ad08 |
15-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
am 30f5a4f2: Built already for sanitizer_common. * commit '30f5a4f2ea0ed854299808a99b9dfbe332ad456e': Built already for sanitizer_common.
|
f0c6de3d91ba5cdfbb17a630e823523c7d433160 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Do not attempt to intercept mlock and friends on Windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161939 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
30f5a4f2ea0ed854299808a99b9dfbe332ad456e |
15-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Built already for sanitizer_common. Change-Id: I6946f88ee2888f2805728e583f8da812465cb36e
ndroid.mk
|
3157695f520b844ff21859f87e4633095f7c93dc |
15-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
am e34de791: Update README.android. * commit 'e34de791db1e32f0e228a4c82d4a28cce79b0a79': Update README.android.
|
e34de791db1e32f0e228a4c82d4a28cce79b0a79 |
15-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Update README.android. Change-Id: Id6e41a12752b29e07443dd29bc3f7fd4de6ea92c
EADME.android
|
00f1c091441be5c2cacb99e21bd1965a5e418242 |
15-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Use the common interception machinery for mlock/munlock/mlockall/munlockall. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161938 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
aa8e5bf7ce4b88a6bfa10581c41dcc41c1ab16a2 |
15-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
am 51584046: Apply changes to migrate to compiler-rt upstream. * commit '51584046b5a19fcc3ef47a0ade2e88b58ded7e81': Apply changes to migrate to compiler-rt upstream.
|
bd6a1a17833752475903c121034dfb1a7211af88 |
15-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
am 57cdbbc3: Merge with compiler-rt upstream r159129. * commit '57cdbbc3ec7ac5ec4a467d48b42226d674aebbf7': (218 commits) Another big step toward a viable CMake build system for CompilerRT, ASan, and friends. Lots of trivial changes to remove extraneous semicolons throughout ASan. [tsan] a better CHECK for OOM in the new allocator [asan] fix -Wsign-compare Mechanical change to sink a #ifdef guard for a platform below the include of int_lib.h. Remove extraneous semicolons outside of functions. This fixes a large number of -pedantic warnings. Reorder these things for clarity, and add -std=c99 to the compile flags. Disable the test subdirectory entirely until we get fresh CMake files there. I didn't notice this because I had a stub that wasn't checked in floating around in my client. [tsan] add metadata to the new tsan allocator Allow divsi3 to take advantage of a hardware unsigned divide when it is available, by replacing an explicit call to udivsi3 with the divide operator. Patch by Sébastien Bourdeauducq. [tsan] more code for a specialized tsan allocator tsan: do not call malloc/free in memory access handling routine. This improves signal-/fork-safety of instrumented programs. Small lint fix. Add a test for issue 81 -- AddressSanitizerMac.DISABLED_CFAllocatorDefaultDoubleFree_ChildPhread [tsan] first step in implementing a custom allocator for tsan (and msan) which saves precious shadow [ASan] fix lint error Enable AddressSanitizerMac.CFAllocatorDefaultDoubleFree and AddressSanitizerMac.CFAllocatorMallocDoubleFree, which now work fine. Factor the common code out of cf_free and mz_free. Introduce the mac_ignore_invalid_free flag (0 by default) which makes both cf_free and mz_free ignore invalid free invocations and leak memory. Fix the output tests on Darwin Actually intercept free() to ensure that the deallocations caused by other functions directly calling it are routed to our allocator. For the allocations that do not belong to any malloc zone check whether they're padded with a pointer to ASan's CFAllocator. If so, free the original (unpadded) pointer. This should fix AddressSanitizerMac.NSURLDeallocation and issue 70. ...
|
589231cf31932e3a132b8fe37b0425d46abe6d32 |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use clangxx_asan instead of clang_asan for C++ lit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161936 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/clone_test.cc
ib/asan/lit_tests/Linux/interception_failure_test.cc
ib/asan/lit_tests/Linux/interception_malloc_test.cc
ib/asan/lit_tests/Linux/interception_test.cc
ib/asan/lit_tests/deep_tail_call.cc
ib/asan/lit_tests/default_options.cc
ib/asan/lit_tests/dlclose-test.cc
ib/asan/lit_tests/global-overflow.cc
ib/asan/lit_tests/heap-overflow.cc
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/memcmp_test.cc
ib/asan/lit_tests/null_deref.cc
ib/asan/lit_tests/shared-lib-test.cc
ib/asan/lit_tests/stack-overflow.cc
ib/asan/lit_tests/stack-use-after-return.cc
ib/asan/lit_tests/strncpy-overflow.cc
ib/asan/lit_tests/use-after-free.cc
ib/lit.common.cfg
|
41f85b9e6a88f801955d99c8a8233b97e64c51ff |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] port remaining output and feature tests to lit. TODO: we should in fact run most of the tests for 32/64 bits and for all optimization levels git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161935 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/global-overflow.cc
ib/asan/lit_tests/heap-overflow.cc
ib/asan/lit_tests/large_func_test.cc
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/memcmp_test.cc
ib/asan/lit_tests/null_deref.cc
ib/asan/lit_tests/sanity_check_pure_c.c
ib/asan/lit_tests/sleep_before_dying.c
ib/asan/lit_tests/stack-overflow.cc
ib/asan/lit_tests/stack-use-after-return.cc
ib/asan/lit_tests/strip_path_prefix.c
ib/asan/lit_tests/strncpy-overflow.cc
ib/asan/lit_tests/use-after-free.cc
|
2ad9b21f865d305057deadb839d673cc499b439e |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] port interception and shared library tests to lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161933 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/interception_failure_test.cc
ib/asan/lit_tests/Linux/interception_malloc_test.cc
ib/asan/lit_tests/Linux/interception_test.cc
ib/asan/lit_tests/SharedLibs/dlclose-test-so.cc
ib/asan/lit_tests/SharedLibs/lit.local.cfg
ib/asan/lit_tests/SharedLibs/shared-lib-test-so.cc
ib/asan/lit_tests/dlclose-test.cc
ib/asan/lit_tests/shared-lib-test.cc
|
c58b57eac9cc1a495f3c8ffa5fe4a5cf55e96a6a |
15-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move declaration of __asan_default_options to interface header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161932 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_interface.h
ib/asan/output_tests/test_output.sh
|
0aa04b3f432bc55e7c116d5280685ee3f243be8e |
14-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] better diagnostics for mmap failure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161874 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/sanitizer_common/sanitizer_posix.cc
|
08d978809ac98095815e5cab80caeb0089f89a1e |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make sure __asan_default_options symbol is exported git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161873 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
c6b8716d9acd202d311a7d9095eeed440bba1ce5 |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] make sure __asan_default_options gets default visibility, port corresponding test to lit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161869 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/lit_tests/default_options.cc
|
25fa5e1f50d74a2499d73657535dc043d2f5607b |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] support for running OS-specific tests using lit, port clone_test as an example git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161864 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/Linux/clone_test.cc
ib/asan/lit_tests/Linux/lit.local.cfg
ib/asan/lit_tests/lit.site.cfg.in
|
6e893b61094a3bfb1a9f92fb019dd6fb153076b5 |
14-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move OS-dependent pieces of symbolizer to separate source files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161862 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer_mac.cc
ib/sanitizer_common/sanitizer_symbolizer_win.cc
ib/sanitizer_common/sanitizer_win.cc
|
7d15f5dc87f980d7931fbc036a0b38e2eee16718 |
13-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: handle larger number of goroutines + fix a memory leak of goroutine descriptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161770 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/tsan_go.cc
|
e2430d22c5f9055622a98dc9f885fc73b64cba23 |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add __asan_set_on_error_callback into force_interface_symbols (thanks to cool test by glider@) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161756 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
f657a1977b6053c76ca8393f574da7593ea3ea12 |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add __asan_set_on_error_callback() interface function that allows user to set a callback to be called right when ASan detects an error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161754 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_report.cc
ib/asan/tests/asan_noinst_test.cc
|
be98caf9fe5e7b94b2009616cf31f0d87cf98d67 |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] If ASan finds second error report, wait for some time and die (instead of running in a busy loop) to make sure ASan won't hang if it finds error while reporting an error in the same thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161749 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
|
0b56247d81a9b3accf118b1af2aaa7766451450f |
13-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Return cmake support for setting compile definitions for sanitizer_common library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161747 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
|
de782581b15534c627bf19589d33ceff5a3e5c78 |
12-Aug-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix parameter type for pwrite64() interceptor git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161741 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
c9803832e94cb7ad5abecd3474da948de4277b58 |
11-Aug-2012 |
Ying Wang <wangying@google.com> |
Split out LOCAL_ASFLAGS. Bug: 6967574 Change-Id: I545540baee98b826c4cd802871f3f8995ceaddc9
ndroid.mk
|
9873792adb79e9daa1594564cbe5b2d680c5ed13 |
10-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] share code executed at the beginning/end of printing error reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161666 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/output_tests/null_deref.cc
|
fe51abb4949ad9976168bf53edb52c20016b9a0d |
10-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] CMake support for building ASan runtime as a universal binary on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161665 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/lit_tests/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
79fc3c042bbe8348fb6f3bff7a5575e4425e5a38 |
10-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Remove the setjmp.h dependency, fix the comment. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161662 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
d262653fa207c6ee89700f192c5ff809a8ed6f52 |
10-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Temporary fix for http://code.google.com/p/address-sanitizer/issues/detail?id=99: when trying to free memory that actually belongs to the system purgeable zone, use malloc_zone_free(malloc_default_purgeable_zone(), ptr) instead of asan_free(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161661 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
5a9938d4de74d41cb5f167f751a621dfb7545b64 |
09-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Add a test checking that all the "__asan_" interface functions are present in a binary built with -dead_strip. Fix force_interface_symbols() so that none of the interface symbols is stripped. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161582 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/output_tests/test_output.sh
|
0b7981a619a3e9205084e6c27c8001d76056f199 |
09-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Make the non-interface mach_override functions static to avoid name clashes with user code that may contain its own mach_override. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161577 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/mach_override/mach_override.c
|
663c50134e01feefb6c5418c6ec7753be951c14f |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move mac-specific error reports to asan_report.cc as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161576 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
|
812ff90eaad0e4555554ffb81db0e611ec434e10 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Small fix to please tests on Windows, where stack unwinding using provided pc/bp works too bad git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161575 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/asan_report.h
|
c98570beff64ec0a513dcc11a4662ffba70e43dd |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move __asan_report_error implementation to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161574 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
|
448fe9a2383222633194754de34e6a3c0351ac68 |
09-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Use a switch instead of a simple condition in force_interface_symbols(). Otherwise Clang eliminates everything after the first interface symbol that is marked noreturn. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161573 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
e4bfca2b154a6ab4eda921aff454035f33f3551a |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move code that describes globals to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161572 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
|
e218beb2d14b663bd277158f386a86d0e62fef74 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move some functions that describe addresses to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161571 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_globals.cc
ib/asan/asan_internal.h
ib/asan/asan_report.cc
ib/asan/asan_report.h
ib/asan/asan_rtl.cc
|
487fee7f6f7497906a00d7d2fe2c75e6d5d4feb1 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reporting code away from file with interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161570 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
|
f7c1d18183d2dfbd02864cf47b3239d6a5d717c0 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Move error reports away from ASan allocator. Add new source file to CMakeLists as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161569 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_allocator.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
|
7354509ec8a37262c5ea0c54f99afee8a5116ce5 |
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Create new files asan_report.{h,cc} as a preparation for refactoring of ASan error reporting code. Currently ASan reports many kinds of errors, and the code that actually prints error messages can be found inside allocator, OS-specific files, interceptors code etc. An example of maintenance troubles this situation causes: There is currently an ASan interface function that registers callback which should take the char buffer with error report printed by ASan. This function is now broken, as one has to insert callback calls to all the places in ASan code where the error reports are printed, surprisingly it is not only "__asan_report_error" function... git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161568 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_posix.cc
ib/asan/asan_report.cc
ib/asan/asan_report.h
|
8fc90f6fc29caf89dca63a756ea0ebbeb4f65df9 |
08-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] cleanup CMake files for interception and sanitizer_common helper libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161485 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
bd1700415c7f5c6c9b9d562b6fee3414360c3dc2 |
07-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[compiler-rt] CMake build: if LLVM_BUILD_32_BITS is on, then -m32 is added to llvm definitions. Let us override this by explicitly adding -m64 compiler flag when building compiler-rt libraries for x86_64 target git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161415 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
9b7409ad61a3448f44fa9911debdd52ad0a6d3c8 |
07-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] simplify cmake rules for adding lit testsuites git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161412 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/CMakeLists.txt
|
6ffcb580a0b1a086c4ffa1f943ed983c2bc6b97d |
07-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add llvm_tools_dir to lit.site.cfg for ASan and add it to PATH git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161411 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/lit.site.cfg.in
ib/lit.common.cfg
|
4afc63c18f7d811f31dbd2e5d825ce9d10c93dec |
07-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add support for running unit tests by lit (as a part of 'make check-asan' command) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161406 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/Unit/lit.cfg
ib/asan/lit_tests/Unit/lit.site.cfg.in
ib/asan/lit_tests/lit.site.cfg.in
ib/asan/tests/CMakeLists.txt
ib/lit.common.unit.cfg
|
6dd1dde531b8fb6cf7a3e1dcda86170f6ac3a988 |
06-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix names of malloc/free replacements on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161322 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_linux.cc
|
4e21c6bc78bdc36736cd61639a160ea5f725b333 |
06-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add new ASan option 'strip_path_prefix' to remove useless prefices from filenames in stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161321 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/output_tests/test_output.sh
ib/asan/output_tests/use-after-free.c
|
531c7d983da8debc447c1b3f9aee76a291376705 |
06-Aug-2012 |
Alexander Potapenko <glider@google.com> |
AllocationSize(ptr) should check that |ptr| actually points to the beginning of the chunk it belongs to. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=86 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161320 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
51584046b5a19fcc3ef47a0ade2e88b58ded7e81 |
06-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Apply changes to migrate to compiler-rt upstream. Change-Id: Icf463f4b5aa004794ace9acb34a22e434ae71b53
ndroid.mk
ib/asan/Android.mk
ib/sanitizer_common/sanitizer_allocator.cc
|
57cdbbc3ec7ac5ec4a467d48b42226d674aebbf7 |
06-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Merge with compiler-rt upstream r159129. Conflicts: lib/asan/asan_mapping.h Change-Id: Id688bc0eab234e600214216ebc469cdf01ac506c
|
897e89f84c42bd166521684c1aedb7d5bec6954b |
02-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Implement LinuxSymbolizer instead of symbolize_addr2line. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161181 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
8e39869fdc1c56eeaedb6b793e5ada67f41925f3 |
02-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Some refactoring for asan_symbolize.py: introduced the Symbolizer class and implemented DarwinSymbolizer for atos-based symbolization, BreakpadSymbolizer for breakpad-based symbolization (files produced by the dump_syms tool, http://code.google.com/p/google-breakpad/source/browse/#svn%2Ftrunk%2Fsrc%2Ftools%2Fmac%2Fdump_syms) and ChainSymbolizer to allow falling back if a symbolizer hadn't succeeded. Fixed pylint warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161176 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
a8fbcd7163d199edaf4f3f71a05403b79207fc2f |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161170 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_win.cc
|
bfa11b66d2d9e677be00164d44bcc0c9c6bc8f82 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
Follow-up for r161168 for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161169 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception_win.cc
ib/interception/interception_win.h
|
592d3f707e02968c75fd6e90d06d24f5df99c8b9 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting pointer-to-function to pointer-to-object, so we use cast via integral type git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161168 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
ib/interception/interception_linux.cc
ib/interception/interception_linux.h
ib/interception/interception_mac.cc
ib/interception/interception_mac.h
|
37b3fcd6fdec5740fe51fc1315c5d4d54313de98 |
02-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Make strcat() and strncat() more standard-compliant (check for invalid parameters even if zero bytes is copied, more accurate overlap check) Fix the tests that were relying on the incorrect behavior. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161167 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
668accc51f93df21fb0273d2ff10f7c86e757813 |
02-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix warnings to please cmake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161166 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
|
90b60b1a9a097a4109405b8ab0a13581726f94cb |
01-Aug-2012 |
Alexander Potapenko <glider@google.com> |
Add support for "movsbl %sil,%ecx" (x86_64) and "movsbl $imm(%ebp), %edx" (i386) to our fork of mach_override. This is an extended version of a patch by Rafael Avila de Espindola (rafael.espindola@gmail.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161116 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/mach_override/mach_override.c
|
3dc47e5969979689dbf5f3743f501cd2beac03cc |
01-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make ASan/TSan sources depend on headers from interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161113 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.mk
ib/tsan/rtl/Makefile.mk
|
fd2ae4fc7df0e5acd200f30d87bbc6b96830a989 |
01-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup interceptors code - prefer ASAN_INTERCEPT_FUNCTION_NAME macro to _WIN32, __APPLE__ etc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161109 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
7274ff82fab3b167514e2aba81aa775d9fd73ca8 |
31-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
First tiny move towards integrating AddressSanitizer regressions test into LLVM lit-based testing infrastructure. The goal is to be able to run ASan tests by simply running "make check-asan" command from CMake build tree: * tests should use fresh clang binary from current build tree. * tests should use the same RUN-lines syntax as llvm/clang reg tests. Next steps: - restricting tests to machines where target is equal to host, i.e. where we can produce working binaries. - moving AddressSanitizer unit tests to lit as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161050 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/lit_tests/CMakeLists.txt
ib/asan/lit_tests/deep_tail_call.cc
ib/asan/lit_tests/lit.cfg
ib/asan/lit_tests/lit.site.cfg.in
ib/lit.common.cfg
|
970a9b9c6c6bb894557fe2d1779118ee8c3070d8 |
31-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Factor out the main() function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161046 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
41df5652a12b45998111ca2aca09fc0c63674684 |
31-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Wrapper around llvm::DIContext from LLVM DebugInfo library. If a macro SANITIZER_USES_LLVM_LIBS is defined (by default it is not), then sanitizer runtime includes llvm headers and tries to use LLVM libs for in-process symbolization. To make it functional, we have to link with these LLVM libs - either pass them to linker from Clang driver, or link them into static ASan runtime when we build it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161045 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_symbolizer_llvm.cc
|
b0bb7fb31301ee9ac9cf41f21d3a19987dc30609 |
30-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix cmake build warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160957 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
8f88dd2f955e8f73944abb591d15a99b4e6b0358 |
30-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] delete trailing spaces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160955 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_clock.cc
|
9d150bdb433ddd092073dabd87ba15aa176603a1 |
28-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add ReleaseStore() function that merely copies vector clock rather than combines two clocks fix clock setup for finalizer goroutine (Go runtime) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160918 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/test.c
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
715c74611317d2e76f2b1dd854208eac238944ef |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160875 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/test.c
|
837279471ab81dcb732230ff67656030b4d75ee9 |
27-Jul-2012 |
Stephen Hines <srhines@google.com> |
am 213fe112: Merge changes I25b72142,I4800ba14 * commit '213fe1121889ea8a2c23f78f189d8f48a59dde3c': Update for ASan cherry-pick. [asan] ensure that asan_init is called in str[n]cmp. Bug found by Nick Kralevich (thanks)
|
213fe1121889ea8a2c23f78f189d8f48a59dde3c |
27-Jul-2012 |
Stephen Hines <srhines@google.com> |
Merge changes I25b72142,I4800ba14 * changes: Update for ASan cherry-pick. [asan] ensure that asan_init is called in str[n]cmp. Bug found by Nick Kralevich (thanks)
|
08c058a8b62f3661d38c09c8893f2c082fca949e |
27-Jul-2012 |
Stephen Hines <srhines@google.com> |
Update for ASan cherry-pick. Change-Id: I25b72142b743ebdf896c61984bec5344f84ebc72
EADME.android
|
4800ba143bc7ad9eb5236f89ab6aa3c2474ba160 |
27-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] ensure that asan_init is called in str[n]cmp. Bug found by Nick Kralevich (thanks) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160853 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
6b2804f4a5d8891728c030e1ac93f719eaad3171 |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: change event handling from single HandleEvent() to a set of separate functions (Go runtime) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160863 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/test.c
ib/tsan/go/tsan_go.cc
|
c1527fd9915bd4b6032d799170ceb9195cf840ab |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tasn: do not remember stack traces for sync objects for Go (they are not reported anyway) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160861 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_sync.cc
|
93ec44001a5a5a0f5dfd8321401175730bcbacc9 |
27-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove unnecessary and wrong include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160860 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
8648e7734ff02a25706464e9e294bd217622bcae |
27-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] ensure that asan_init is called in str[n]cmp. Bug found by Nick Kralevich (thanks) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160853 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
37f52abd6f8240f04c76c593b4221780d26881f0 |
26-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make the runtime library name tsan-neutral for Go upstream git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160797 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
87dbdf5fd6cb9f1b90a0a97b7675bd8cad8a0264 |
25-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow environment to override OnReport() and OverrideFlags() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160728 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
8f1104cbf1af615242e14c66d1b3dd9e8437b152 |
25-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suport for Go finalizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160723 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
8971f0c82317f02bd3ea137a5be92d9f43191f7c |
25-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: expect that Go symbolizer can return NULLs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160722 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
|
4d57f44ae53d766d77fd21ceee5f0b7e56429b04 |
25-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
cmake for compiler-rt: add a function to set output dirs for compiler runtimes equal to directory used by Clang driver. Use it for ASan runtime. Also, make sure that ASan unit tests depend on the ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160721 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
|
b831086e7c1e6004cf57594ec81b662f290dc2ac |
25-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't return from a never-return function. fix a test that had a chain of bugs instead of just one git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160719 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/tests/asan_noinst_test.cc
|
b750c4c8af128bdd63543f3715f2c147fc3e95bf |
25-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fixup for r160712: provide a default definition for weak __asan_default_options() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160718 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
|
8a1dd56a284de3bb94ebcfaace49266bdf0d26c1 |
25-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Make __asan_default_options a weak function that returns a const char*. Users may define it to override the default ASan options. This function has to be marked with __attribute__((no_address_safety_analysis)), because it is called before ASan is fully initialized. Add an output test checking the __asan_default_options functionality. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160712 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_rtl.cc
ib/asan/output_tests/default_options.cc
ib/asan/output_tests/test_output.sh
|
853733e772b2885d93fdf994dedc4a1b5dc1369e |
24-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: align report style with Go internal format git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160672 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/test.c
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_report.cc
|
b0af63965aeab26c463dd761f5b2b9cf8560065b |
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
Revert r160669 (except for compile flag updates) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160671 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
|
43046e0b628df7eaaec266a4b6c9e9a998b02120 |
24-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output goroutine creation stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160670 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_report.cc
|
a43a62a25c55b811052249380cb6d2f7d020a8fc |
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] hacking cmake build: after generating asan runtime, copy it to the Clang lib directory where Clang driver expects to find it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160669 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
|
1a7741b4e3c50a986502507fa8055475dd0fa0d0 |
24-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Support for cmake build of ASan unittests in 32-bit LLVM build. Currently, to run ASan unit tests both for 32- and 64 bits one has to maintain two distinct LLVM builds. In a bright future, we'd like to use a single build for this git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160666 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_break_optimization.cc
ib/asan/tests/asan_noinst_test.cc
|
75b19ebf25af204cf209d108997272822241d6da |
23-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Intercept CFAllocator for each thread in the program. Test that child threads use the ASan allocator, that allocated memory can be passed to another thread and deallocated on it. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=81 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160630 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_mac.cc
ib/asan/asan_thread.cc
ib/asan/asan_win.cc
ib/asan/tests/asan_mac_test.h
ib/asan/tests/asan_test.cc
|
63201b127e21d6fbfb6de62d0e44a5de01288153 |
23-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] minor fixes to silence cmake build warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160624 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
|
79d12e87fbcc1b2342d76367b99b83adf9cbf499 |
23-Jul-2012 |
Alexander Potapenko <glider@google.com> |
For wild addresses in the shadow or shadow gap areas print an error message instead of crashing on a check. Add AddressSanitizer.MemsetWildAddressTest that makes sure a proper error message is printed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160620 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mapping.h
ib/asan/asan_rtl.cc
ib/asan/tests/asan_noinst_test.cc
|
08e80a43a4046f50270cc86b5ad3a16b94375f97 |
19-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] subtract one from PCs in ASan error reports (as they originally contain return addresses). Make output tests stricter. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160508 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
ib/asan/output_tests/heap-overflow.cc
ib/asan/output_tests/large_func_test.cc
ib/asan/output_tests/null_deref.cc
ib/asan/output_tests/shared-lib-test.cc
ib/asan/output_tests/strncpy-overflow.cc
ib/asan/output_tests/use-after-free.cc
ib/asan/scripts/asan_symbolize.py
|
06c2e8fa4e4be2bddeade510b263b12f80945e4f |
19-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160504 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
|
47b5f041d50c59f26b61c7e704de9b4beaea720a |
19-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chrome git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160503 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
|
c603ad2a1ce425d7f3f74102c9d9fd37b1aea847 |
19-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Suppress the stderr output from atos. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160502 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
75983dd851e39e5ba70edeeda19cfaedbd114cb3 |
19-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] When obtaining the data for loaded modules, add address ranges of loadable segments only. Looks like address range of PT_TLS segment may intersect with loadable segments of other modules. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160498 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
389b74b723c0222aa3a485cc5d0127a401952f35 |
18-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor enhancements in the new tsan allocator and a test malloc replacement library that can be linked to any program to replace malloc (tested on spec2006) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160436 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
ib/tsan/Makefile.old
|
5164ad434eccbfa9ad8097cf25146626313643f9 |
18-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix confusing error message in CheckFailed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160435 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_report.cc
|
219f20b5985371c4cfcef3e6f85fb94e8f3bc0e6 |
18-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add missing unit test for flag parsing (forgot to run svn add before) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160428 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/tests/sanitizer_flags_test.cc
|
6fbecdd97512bd7d9ccef130e99650d446b50444 |
17-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] cleanup header comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160359 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_mac.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_trace.h
|
b134ffa00ce2a4cbf7f48ac029e31c3e6e23ff6b |
17-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of the last operator new call in asan rtl git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160347 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
|
bca62bd769f7d736c0e1953c5682d176cd1090a4 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add platform suffix to Go runtime library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160304 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
9cff0c0013f388ed96da5ba3707dfb19a1d2860f |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: treat malloc() as memory access in Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160289 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/tsan_go.cc
|
25d1c799087af5757ab6efc4a77558565fb1744a |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use dynamic shadow stack for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160288 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_trace.h
|
e716b602e8066ede297b5e0be4d23720c26cdcf9 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase number of dead threads for Go git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160283 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_thread.cc
|
23397107087ad88141393a282cfbbd95d6ba28a6 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go runtime: support goroutine end event git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160282 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/test.c
ib/tsan/go/tsan_go.cc
|
3f24d6386cea638f5d4bc1694d1de02917988bcd |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160267 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_platform_mac.cc
|
5b266cb19c9c18ab5da77441de5cb45f0f4abac1 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: port Go runtime to Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160266 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_mac.cc
|
0dc3177d6c54fafb9577254a93b2f3c4169129d7 |
16-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] implement straightforward nlogn sorting, as qsort() may call malloc, which leads to deadlock in ASan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160262 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_common_test.cc
|
7ffba067f66c153c1f760a782a1176fb2b09e969 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: allow to pass CFLAGS to Go runtime build script git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160259 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
|
4cce3a525faccf5906440b7efdea317957221e68 |
16-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing test for Go runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160258 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/test.c
|
b93c3d5badc4066120edf3ed1c515cdd516a8776 |
13-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] use internal_strnlen in strncpy interceptor (the bug found while booting chromium) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160171 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
eb1b5f3d43d824924e799caaf75e8cf48a3674d5 |
11-Jul-2012 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/11668446> Add .subsections_via_symbols to Darwin assembly files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160062 91177308-0d34-0410-b5e6-96231b3b80d8
ib/assembly.h
|
9b1b10193420f5adc769eda0d5bd548e429e0ce2 |
10-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix CMake build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159988 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/sanitizer_common/CMakeLists.txt
ib/sanitizer_common/sanitizer_flags.h
|
7ed1d2b699767dd1875994cb625d51a95b44221a |
10-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move flags description to separate header, add comments about them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159985 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_flags.h
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
4fbbcbea41c91498ac4cfbb3d3c7e1d83d7bb380 |
09-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: remove dead flag git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159934 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
cb8c4dce691097718d5af41b36899b72ef4b1d84 |
09-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use common flags parsing machinery. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159933 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_thread.cc
ib/asan/asan_thread_registry.cc
|
f3be7069465c15b4c3f6719423d6075b0cf5a871 |
09-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move flag parsing routines (and unit tests) from tsan runtime to common runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159928 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_flags.cc
ib/sanitizer_common/sanitizer_flags.h
ib/tsan/Makefile.old
ib/tsan/rtl/tsan_flags.cc
ib/tsan/unit_tests/tsan_flags_test.cc
|
8428a6a9f6b6bf67a5e70374c9777e6228dc93bf |
08-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Suppress a lint warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159915 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
cb3a6b82ae406613f8870519d2acda1ee1c8f2b5 |
06-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go language support fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159856 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_rtl_report.cc
|
c510a2f264a22ff60333fc48e5fa12d41cefba3c |
06-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go lang: symbolize stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159827 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/go/buildgo.sh
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
deafb6bd5252c2d6ccef070ea572b04329657ea9 |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] start using AllocatorCache in CombinedAllocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159825 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/sanitizer_list.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/sanitizer_common/tests/sanitizer_list_test.cc
|
0fedcd5abe8e9d51dc7177cf2fa239d9b83e270b |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Small fix: do not replace the default CFAllocator if it has been replaced already. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159824 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
541c620af9db64d523f013b45dfce97a8e14878c |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] implement SizeClassAllocatorLocalCache (part of tsan allocator) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159823 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
23a3b760646aab699d29896d4feaf2fc84ec3955 |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Because CFAllocatorCreate() should also be called after __CFInitialize() on Lion, do so by factoring the CFAllocator logic into ReplaceCFAllocator(), which is called from either the __CFInitialize wrapper or __asan_init(), depending on which of them is called later. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159822 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
bf9f6fbf015f687784e26f26570924be4ca3924f |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
A portable way to check whether __CFInitialize has been called: compare kCFAllocatorSystemDefault._base._cfisa to 0. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=87 on both Lion and Snow Leopard. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159821 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_mac.cc
|
d079db6dfbf3b0ec5fa1cc8d093e0dae6f970bf8 |
06-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Do not check for __CFRuntimeClassTableSize on non-10.6 systems, where this symbol is private. This change may cause http://code.google.com/p/address-sanitizer/issues/detail?id=87 to re-appear on Lion. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159819 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_mac.cc
|
816398d9584ff3ce2389030c810c20f3bfdcfdf8 |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] use intrusive list in the new tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159814 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_list_test.cc
|
5a2327c20ab8ff8185faf51d7abc72c012a763f9 |
06-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add intrusive list to be used in tsan allocator, etc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159812 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_list.h
ib/sanitizer_common/tests/sanitizer_list_test.cc
|
b78caa645f70eff2f037f1f8bb43ca9129dbd8d9 |
05-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: Go language support git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159754 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_interface_defs.h
ib/sanitizer_common/sanitizer_posix.cc
ib/tsan/go/buildgo.sh
ib/tsan/go/tsan_go.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
decaec9ee3177b5e81e358ad8e93ab70b38a1cc0 |
05-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Fix http://code.google.com/p/address-sanitizer/issues/detail?id=87 by making sure we replace the default CFAllocator only after __CFInitialize has been called. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159749 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
|
c4a3ff32a4ebc7710c8975b9de532493aadcf982 |
05-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Add a default constructor for DWARFSection to initialize it with zeros. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159748 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.h
|
00d345c87c2e36a11d2d64e67f49b13cf17c91a4 |
05-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: kill STL First, placement new from standard library conflicts with our own. Second, we are in trouble if user uses the same function (we either get instrumented code in runtime, or non-instrumented code in user program). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159738 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.cc
|
8b0c66f5d7ed3829d797f2400d24557f1e0ec8eb |
05-Jul-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] reg test for tsan issue #3 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159737 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/virtual_inheritance_compile_bug.cc
|
bc12f5d836b161b881de91e29548cfbc014243a3 |
05-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] add a new option 'use_internal_symbolizer' that allows to choose between addr2line-based and llvm-based symbolizer w/o having to rebuild the runtime. This is hopefully a temporary solution that simplifies testing process. In the end, we should leave a single symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159730 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_symbolize.cc
ib/tsan/rtl/tsan_symbolize.h
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
81794a2e2fc962e5d68a751d25659ae610e83e40 |
04-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Improve output tests: allow reports to contain file:line:column instead of file:line git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159714 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/race_on_mutex.c
ib/tsan/output_tests/simple_stack.c
ib/tsan/output_tests/simple_stack2.cc
|
e93be8414babdb4f4dbb31dc8b34a81809ca7c11 |
04-Jul-2012 |
Alexander Potapenko <glider@google.com> |
Do not call malloc_zone_from_ptr() for the pointers passed to mz_size() and mz_free(). These callbacks assume that the memory belongs to asan_zone, so it's incorrect to pass it to another one. If a need for this appears (e.g. system libraries free the memory using wrong zone), it should be documented. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159713 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
c2018c124e4b3fe463bb996e57a0d7aa552b12f4 |
04-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Minor fix in symbolizer output. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159709 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
|
fe67024cb480fb185ae5c6d7492074c26014f971 |
03-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fixup for r159652 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159655 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
|
a68633fb76208137ccb807914df52758ee5ca6f0 |
03-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159652 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_win.cc
|
c3d169863cd29a9a052bd9a21288f8cd4679f1d7 |
02-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use threadsafe death tests in TSan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159533 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/rtl_tests/tsan_test.cc
|
8d993186d84cd62b93e1d16ee2afcc6d14629dd1 |
02-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: improve SpinMutex git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159518 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mutex.h
|
e088e16006e2b3fc5739be675b3243e18f30ad01 |
02-Jul-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: add mutex to 64-bit allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159516 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/sanitizer_mutex.h
|
62f294020ce5d60dc51883e7708a56247c366d14 |
02-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake cleanup: make tab/space padding in CMakeLists consistent, silence/fix some pedantic warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159514 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/asan_thread_registry.h
ib/sanitizer_common/sanitizer_atomic.h
|
69021355c0ac8a0d9b546fb3db1136b1b2db0616 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: third try on msvc atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159449 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
ib/sanitizer_common/sanitizer_win.cc
|
6dab1903fb38dfdee287fb4a6e045143a19189bc |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: second attemp on msvc atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159447 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic_msvc.h
|
b6eb56f5a03b4dba8de79465274a73d1ecbca7f2 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: first try on msvc atomics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159443 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic.h
ib/sanitizer_common/sanitizer_atomic_clang.h
ib/sanitizer_common/sanitizer_atomic_msvc.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/unit_tests/tsan_mutex_test.cc
|
a3eca8192505f4796194dd24eb051019f402de99 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: add SpinMutex to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159439 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_atomic.h
ib/sanitizer_common/sanitizer_mutex.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
ib/tsan/Makefile.old
ib/tsan/unit_tests/tsan_mutex_test.cc
|
c04d8b39795b8faab2c172da59462f4e54823533 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: unify ScopedLock git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159438 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_lock.h
ib/sanitizer_common/sanitizer_mutex.h
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
|
fce5bd4cc29fddb5e8f0cb9c12df7c10187a991d |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan/asan: unify atomics (move atomics from tsan to sanitizer_common) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159437 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_atomic.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_atomic.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_sync.h
ib/tsan/rtl_tests/tsan_mutex.cc
ib/tsan/rtl_tests/tsan_test_util_linux.cc
ib/tsan/unit_tests/tsan_mutex_test.cc
|
aa7bb2620fbe1378eaf8666e1cc4883942893013 |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use -Wno-unused-private-field only for clang (gcc does not understand it) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159435 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
19d9bfe7a63f9d76589f9b3ac5a8e3c525eb678a |
29-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] added CombinedAllocator for tsan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159432 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
6e4815579e5b48b48de092afcc3b092dfb97df5c |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: replace struct copies where clang inserts memcpy() calls with explicit internal_memcpy() calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159431 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
065c4ac846589d04436cb7f19f938ff42035313e |
29-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove own memset/memcpy/memcmp (too messy) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159430 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interceptors2.cc
|
bb8a9511bc748d6a4fd601d713bda584ef7bb772 |
29-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
a4e4744778e6b3067f5cf223cf28bb586c1ecf67 |
29-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of libc's sscanf as it causes infinite recursion on Fedora. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
dbd8aacc28bf631eb73f48611758b51e08e59f9a |
29-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake unit tests: explicitly add necessary linker flags when linking unit tests with asan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159420 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
2084543fc20ee58028bfab949f1502789199ff77 |
29-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake-based unit tests: merge instrumented and non-instrumented files into one test binary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159419 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
43b0461ceba5469a8c135fbdd39037b645392588 |
28-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: clear shadow for ucontext, because it's visible to user git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159365 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
1fc03d50a87302689482efa24b045a393097b6c3 |
28-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix crashes if signal is caught during thread bootstrap or shutdown git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159361 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
c9aeed824ebedb3b517826e648adcedc20103c46 |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix the build - erase second main as we link all test sources together git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159348 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_noinst_test.cc
|
d00ecb64892dcb03c5ae93a654da669b96753b01 |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] silence various warnings in cmake build of asan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159347 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_noinst_test.cc
ib/interception/CMakeLists.txt
|
37dd1d78906228d412caf05102106773dfa7222f |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cmake support for running asan unit tests on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159345 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
ib/asan/tests/asan_mac_test.mm
|
79753b2c945b590e9a60a2ac2d96c088f920a905 |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] update cmake rules so that ASan unit tests can include googletest (and, hence, llvm) headers when they are built by fresh Clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159343 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
df50545d0a871f1ad509a8dbad77de1a15e1fc50 |
28-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add missing file (forgot to svn add in r159294) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159341 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors2.cc
|
b4fefa713da3dabda1cd83ae4182c71f1683f02c |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] cleanup: trailing semicolons, trailing colons in enums git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159338 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/interception/interception.h
|
ba362a7f0e98b369758f07aec8794c61e688b82d |
28-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fight more semicolons in macro definitions (to please mac cmake build) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159337 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/interception.h
|
d51a1a10cba87be50e9ada9fa21337c387edb237 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159294 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_md5.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/rtl/tsan_vector.h
ib/tsan/rtl_tests/tsan_test_util_linux.cc
ib/tsan/unit_tests/tsan_platform_test.cc
|
a5562db12c5331433407ac21602086f34561c25c |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remember and pass original ucontext to signal handlers (instead of a fabricated one) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159278 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
e96366613372e616fc6f2209b81b776f931a2c58 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: refactor signal handling code (move some definitions out of common header) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159266 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_rtl.h
|
7a72b4a0f04f7f043ab86396b0faa552f55aa857 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: check that signal handlers do not spoil errno. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159264 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
|
bb54ae3fd53524aaae7f5f892a7bd62884970e37 |
27-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: close all file descriptors after fork() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159263 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
46d7b0bd647fa4844f9fe4ca9be31b8341ad12f5 |
27-Jun-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Print inlined frames in the symbolized report. With this change, symbolize.py makes use of "-i" option of addr2line tool to get information about enclosing scopes of inlined functions. Change-Id: Ie42a4265356d7e169e99f7f389069a9eab8963e3
ib/asan/scripts/symbolize.py
|
984f6cf119e26ec25463d58235d613bfea114127 |
27-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Add support for building the ASan instrumentation unit tests with the just-built Clang binary, and linking them against the just-built ASan runtime. This is *very* brittle. I expect it will require tweaking, and I've pro-actively disabled it on non-Unix builds and on cross-builds. It is also currently missing dependency edges on GoogleTest header files and a few other corner cases, but those can be fixed. This is the major milestone of a mini-bootstrap-like build of the unittest. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159255 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
|
fc6c80e9402a8798e6426df7df3a867d541ca705 |
26-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] added LargeMmapAllocator, a part of the new tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159204 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
c0825405712cf059c0f9aecd6a9412702678e926 |
26-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] fix warnings suppression: internal-linkage-in-inline was renamed to static-in-inline git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159198 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
d6ccdaca29e0cc3e39b5ccd8bd33c827eeda1cb4 |
26-Jun-2012 |
Daniel Dunbar <daniel@zuster.org> |
build/clang_darwin: More principled fix for PR12918; none of this stuff should be built here. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159172 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
94cc7e121c3271693497367a0ebf35697840ad74 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] update the cmake file for asan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159143 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/CMakeLists.txt
|
225f53194082f475a5d21780344ff79a2a387c13 |
25-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove internal allocator, switch to sanitizer_common one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159142 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_allocator_test.cc
|
bf3471043da3a9af36a801c7ad54dc93d4d427cd |
25-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove internal allocator, switch to sanitizer_common one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159141 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_allocator.cc
ib/tsan/rtl/tsan_allocator.h
ib/tsan/rtl/tsan_mman.cc
ib/tsan/unit_tests/tsan_allocator_test.cc
|
c421429d1438eb48d9de5b757af576e45307c674 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159140 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
16441b0c13eac81b3871912c1585b46e14c64477 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] minor changes in tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159139 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
136e9a5723cc9bb12720a49fb04e216012647d67 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix the build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159137 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
|
bff533684731c89bd5e99d0cf950a86c21a342e8 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move tests from asan_interface_test.cc to asan_noinst_test.cc. Now all these tests do not require instrumentation and work directly with asan rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159135 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_noinst_test.cc
|
821f21b7cdd0bcc91102f08c8ee0773fd9273046 |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Cleanup the handling of CFLAGS even more in the cmake build for ASan. Add the initial support for building ASan tests. The first change here is to try to get the CFLAGS to more closely match those used by the old Makefile. There are probably still goofs here, ASan folks, your review would be appreciated. The second big change is to add support for building both instrumentation based an non-instrumentation based unittests for ASan. They are built a bit differently from how the old makefiles managed things. Specifically, there are two binaries, one for the non-instrumented case, and one for the instrumented case. Also, the instrumented unit tests rely on the host compiler supporting AddressSanitizer's intrumentation pass. This is kind-of gross, but I don't know of a better way yet. I've mailed llvmdev to discuss this issue. One big caveat is that the detection logic currently doesn't work. I've commented it out temporarily as I'd like to get feedback from the ASan developers, etc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159134 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/CMakeLists.txt
ib/asan/tests/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
e7539bf38e82db273708c5007bdb226c1a280b54 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of '#include <malloc.h>' in the implementation of malloc interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159132 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_linux.cc
|
a765ffcef39dc37bd6d7e597286fd76fbeb1b9fa |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Another big step toward a viable CMake build system for CompilerRT, ASan, and friends. This explicitly switches the CompilerRT CMake build to require CMake version 2.8.8 or newer which provides first-class support for "object" libraries which consist of a pile of '.o' files -- exactly what is desired for composing runtime libraries. I've gone ahead and switched to using this. I've also added the interception library which I missed initially. And I've added proper dependencies between the various libraries. With this, I'm able to build archives for asan that appear to contain all of the necessary .o files. The final tweak here is to start setting up the compile flags and macro defines expected by ASan and its helper libraries. These may not be entirely correct currently, they're based loosely on my reading of the old Makefiles. However, they can be tweaked more easily now that they're wired up properly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159129 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/interception/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
6bae39d1db13f60d3e9b8393e5b9d9eb2ab1b5c0 |
25-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Lots of trivial changes to remove extraneous semicolons throughout ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159128 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_stack.h
ib/interception/interception.h
|
025ea90c9e15a18d29b6aab70f8192ae9c1beea4 |
25-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] a better CHECK for OOM in the new allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159122 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
94c54f19d4330cbf2b6fd83b65841f706e34365e |
23-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix -Wsign-compare git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159083 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
7f2d7c75e713d778106d01a54e7aef40227bbf2d |
22-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Mechanical change to sink a #ifdef guard for a platform below the include of int_lib.h. The purpose of this change is to make the C code conform to the pedantic rules of C99 -- an empty translation unit is not valid. It should have absolutely no functional impact, and changes nothing about the built libraries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159034 91177308-0d34-0410-b5e6-96231b3b80d8
ib/absvti2.c
ib/addvti3.c
ib/ashlti3.c
ib/ashrti3.c
ib/clzti2.c
ib/cmpti2.c
ib/ctzti2.c
ib/divti3.c
ib/ffsti2.c
ib/fixdfti.c
ib/fixsfti.c
ib/fixunsdfti.c
ib/fixunssfti.c
ib/fixunsxfti.c
ib/fixxfti.c
ib/floattidf.c
ib/floattisf.c
ib/floattixf.c
ib/floatuntidf.c
ib/floatuntisf.c
ib/floatuntixf.c
ib/lshrti3.c
ib/modti3.c
ib/muloti4.c
ib/multi3.c
ib/mulvti3.c
ib/negti2.c
ib/negvti2.c
ib/parityti2.c
ib/popcountti2.c
ib/powitf2.c
ib/subvti3.c
ib/ucmpti2.c
ib/udivmodti4.c
ib/udivti3.c
ib/umodti3.c
|
0193b74976719b8aea4cb8874ba36b75836a8d6e |
22-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Remove extraneous semicolons outside of functions. This fixes a large number of -pedantic warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159033 91177308-0d34-0410-b5e6-96231b3b80d8
ib/adddf3.c
ib/addsf3.c
ib/ashldi3.c
ib/ashrdi3.c
ib/divdf3.c
ib/divsf3.c
ib/divsi3.c
ib/extendsfdf2.c
ib/fixdfdi.c
ib/fixdfsi.c
ib/fixsfdi.c
ib/fixsfsi.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatsidf.c
ib/floatsisf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatunsidf.c
ib/floatunsisf.c
ib/lshrdi3.c
ib/muldf3.c
ib/muldi3.c
ib/mulsf3.c
ib/negdf2.c
ib/negsf2.c
ib/subdf3.c
ib/subsf3.c
ib/truncdfsf2.c
ib/udivsi3.c
|
0c87068785c951351814b8e7a7d0df29272397b6 |
22-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Reorder these things for clarity, and add -std=c99 to the compile flags. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159032 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
2e82a8bf4cbe8b891f64a0081f64447af9e4ac06 |
22-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Disable the test subdirectory entirely until we get fresh CMake files there. I didn't notice this because I had a stub that wasn't checked in floating around in my client. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159025 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
6dd4ae360b9dde496ad2fa12b0fc12bbc3bf1571 |
22-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add metadata to the new tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159002 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
cd25a5ffd64c5be8d4d838d21fd252ce246b898c |
22-Jun-2012 |
Stephen Canon <scanon@apple.com> |
Allow divsi3 to take advantage of a hardware unsigned divide when it is available, by replacing an explicit call to udivsi3 with the divide operator. Patch by Sébastien Bourdeauducq. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158996 91177308-0d34-0410-b5e6-96231b3b80d8
ib/divsi3.c
ib/udivsi3.c
|
8ebf84cd52a571d47183c0f2a6bf73b25752d8d8 |
22-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] more code for a specialized tsan allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158991 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
|
9ad7c32720dfa1287f8cfd481e5d583435178cae |
22-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not call malloc/free in memory access handling routine. This improves signal-/fork-safety of instrumented programs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158988 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
ib/tsan/rtl/tsan_trace.h
|
f4e8fc675ab52d0b3022847764a70ed7f03817bd |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Small lint fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158922 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
43d03f3775677ca8e4727d49d1256de014351b95 |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Add a test for issue 81 -- AddressSanitizerMac.DISABLED_CFAllocatorDefaultDoubleFree_ChildPhread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158921 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test.h
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_test.cc
|
c375657778e8a72d566e29951060b7eadc749b0d |
21-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] first step in implementing a custom allocator for tsan (and msan) which saves precious shadow git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158913 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator64.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/tests/sanitizer_allocator64_test.cc
ib/tsan/Makefile.old
|
39b2e6aaf20e7a3257fd0146c35cec587b3fffb0 |
21-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix lint error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158905 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
effd6bf516b7109460647253aa1a62046ca9bb7a |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Enable AddressSanitizerMac.CFAllocatorDefaultDoubleFree and AddressSanitizerMac.CFAllocatorMallocDoubleFree, which now work fine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158886 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
0aa794d78fbb6359f81025217559f1b03ff07999 |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Factor the common code out of cf_free and mz_free. Introduce the mac_ignore_invalid_free flag (0 by default) which makes both cf_free and mz_free ignore invalid free invocations and leak memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158885 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_malloc_mac.cc
ib/asan/asan_rtl.cc
|
bd0fbe68a9a686454c6c5a670bca9c8d33318f93 |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Fix the output tests on Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158870 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/use-after-free.cc
|
e205a9daec9ec4afed956cf5455889725b9192fb |
21-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Actually intercept free() to ensure that the deallocations caused by other functions directly calling it are routed to our allocator. For the allocations that do not belong to any malloc zone check whether they're padded with a pointer to ASan's CFAllocator. If so, free the original (unpadded) pointer. This should fix AddressSanitizerMac.NSURLDeallocation and issue 70. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158863 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
ib/asan/tests/asan_test.cc
|
df42b619de6f7cbf23a68d91a924cfb44b9fd201 |
20-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Add a test for NSURL deallocation (issue 70) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158843 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test.h
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_test.cc
|
6985085c4860bf945358f227ddba26511ae770e9 |
20-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] a bit more lint and Makefile changes to run tests from sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158821 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_procmaps.h
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/Makefile.old
|
479d47f739a9f36cbb3cf2bfdbd01c62a7b3128f |
20-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Resuming work on the compiler-rt CMake build at long long last. In order to get it working again, two changes were needed: - I had to give up on glob-based file expansion. This just isn't well supported by CMake, and until we convince upstream there of its value, it's not worth dealing with the pain. - Add the common library as otherwise even ASan won't build. This now builds again, although the "correctness" of it is a touch debatable. ;] Specifically, there is no merging of the common runtime library with the asan runtime library into a single archive file. I'm not really sure what the best technique is for that, and it may be influenced by the ongoing discussion about how best to link runtime libraries. Note of course that this is still very much WIP. It doesn't entirely work yet, and remains disabled by the LLVM projects/CMakeLists.txt until it is in a working state. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158811 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
ib/sanitizer_common/CMakeLists.txt
|
de08c02aa3007a590bfb7d43f31d5b1a0e7d337c |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158710 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_printf.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_printf.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/unit_tests/tsan_printf_test.cc
|
86cdf2d60b0efbfc5e37c519baff03362856d1a5 |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Add a comment that tsan_flags.h may be included in the user code, and therefore shouldn't include other headers from TSan or common sanitizer runtime. User may need tsan_flags.h to provide its implementation of __tsan::OverrideFlags git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158708 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.h
|
a92c0cb873b67babb1aa4bc9aaa5c3b4d6c2772e |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] State that sanitizer_libc.h header can be included in the user code (and therefore it shouldn't include other sanitizer runtime headers). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158707 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
|
64afb7ef53b4f08477e7af29cfce17eb66754e59 |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use fully qualified type for placement new replacement git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158706 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_placement_new.h
|
0a9d891dee5a67719ba52797376a647f05ffe67a |
19-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] silence -Winternal-linkage-in-inlinewarning which is produced for gtest code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158705 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
0499b8433538a1913ca955566cd34368752bf7af |
18-Jun-2012 |
Joerg Sonnenberger <joerg@bec.de> |
Declare some variables unsigned to avoid signed vs unsigned mismatches. This exploits the relative order of the arguments and/or checks already made in the functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158669 91177308-0d34-0410-b5e6-96231b3b80d8
ib/adddf3.c
ib/addsf3.c
ib/fp_lib.h
ib/muldf3.c
ib/mulsf3.c
|
8cd0df78c317106be477c5496f481af0563a5208 |
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_strncmp to sanitizer libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158658 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
|
84902c716abf9ba0dc6e7b1cd0522759f29b3179 |
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] kill some linux-specific code in favor of code in common runtime: reuse wrappers for mmap routines, ProcessMaps iterator, thread stack calculation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158657 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
ib/tsan/rtl/tsan_platform_linux.cc
|
0969bcf2c936126b1f6e636b978aade8fc207437 |
18-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move different wrappers from TSan to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158655 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_suppressions.cc
|
877bfcfaf592e63916333fd644bb8f30b673f35d |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix type for placement new on 32-bit Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158524 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_placement_new.h
|
fa82b0887fd558b77a856730a0656460d5bf078d |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use ProcessMaps in symbolizer to get module name and offset for instruction address git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158522 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
c925697df6626bb0ea27ea96539bf0580f8f3d3d |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158519 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_rtl.cc
|
88207ab15125e2f1e9b3d541b735b2b8aba9b6d9 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158517 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_md5.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_vector.h
ib/tsan/unit_tests/tsan_platform_test.cc
|
666772c9934fac81d457c74d3eeca381652d0873 |
15-Jun-2012 |
Bill Wendling <isanbard@gmail.com> |
Free the allocated filename. Found by clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158514 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
b84ee029ada36949c30c57c5f701191783990574 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use mmaped buffer in DumpProcessMaps to avoid large stack frames git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158502 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_posix.cc
|
502d3831379094368e099ec70b1916d0ceda1bfe |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] don't use too new __attribute__((unused)) for class member git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158500 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/unit_tests/tsan_mutex_test.cc
|
dd3a911e46b3f0416d60d9be5c84ccfc4b1c3aa8 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move ShadowRangeIsAvailable and several defines to common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158499 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
4c49666e611f06241bb8462cea7674d877241492 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move atomic ops, min/max and sort to commnon runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158496 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
fa3daaf1d66314658e7c05bf63dc825d179f2faf |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move more portability wrappers to common runtime: sleep, _exit, abort, atexit, pthread_self git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158493 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_thread_registry.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
be7420cc79d8580eb354666eef638d39ee9cff80 |
15-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move DumpProcessMap and DisableCoreDumper to common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158490 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
3fb44411ae1b9c2a277c04b3f379554290832009 |
14-Jun-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix COMPAT mapping to not produce false reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158473 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_platform.h
|
a9f18d17d034e4001db2d673c7cc3bc52dadbcb6 |
14-Jun-2012 |
Nico Weber <nicolasweber@gmx.de> |
Don't build compiler-rt arm code on darwin. Fixes PR12918. I'm not sure if this is the right fix, but this has been broken for two weeks and pleas for review were ignored. It seems to do the right thing. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158466 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
fc375d1c9404154925389180d0f741d6711bfb7f |
14-Jun-2012 |
Nico Weber <nicolasweber@gmx.de> |
80 columns git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158465 91177308-0d34-0410-b5e6-96231b3b80d8
ake/subdir.mk
|
f607fc1c67a613a59a1db3c80c5d1322e1978102 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move rest of mmap routines to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158452 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
3dbeabb3446f203156ae03d957de9bdf50933ae4 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move portable GetEnv to common sanitizer runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158451 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
|
327c1c17d9557ed8b197f732c8a070fd6ba821b5 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move internal_memcmp to common sanitizer libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158450 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
|
2ea978704a794e536d2801affcc7f301092d75da |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Workaround for -Wunused-private-field warning - add an attribute in TSan unit test, and silence this warning as gtest has unused fields. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158449 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/Makefile.old
ib/tsan/unit_tests/tsan_mutex_test.cc
|
996651d09e56caa91ffcc33bf1a13a283cfcd5e2 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] don't include deleted header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158448 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_stack.cc
ib/asan/asan_thread.cc
ib/asan/asan_win.cc
|
fc1415aa189d10317aa5f9923a3fc98706ed9e51 |
14-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove obsolete header asan_procmaps.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158447 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_procmaps.h
|
d1a2f446e04701b98b723f3eb315bbc9722dad74 |
12-Jun-2012 |
Stephen Hines <srhines@google.com> |
Separate out libcompiler-rt-extras. This new library contains functions provided by compiler-rt that are not also present in libgcc.a. Change-Id: Ida05e2d746a88913fc354224a7c660f7570e3adc
ndroid.mk
ib/Android.mk
|
78159d0d5e91ff031a087173ff814c9fd2c216d3 |
11-Jun-2012 |
Alexander Potapenko <glider@google.com> |
Add test rdx, rdx to fix ASan tests on Mac OS 10.7 x64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158312 91177308-0d34-0410-b5e6-96231b3b80d8
ib/interception/mach_override/mach_override.c
|
718acdbd6427a2f2af3bb8da8220455066cae8ce |
09-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use __libc_malloc/__libc_free instead of malloc/free inside internal allocator on Linux (important for TSan) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158261 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
|
98c8780c22685af63c57ce5312a9ed730ee3408d |
09-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use efficient real_memcpy inside runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158260 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_md5.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_vector.h
|
4fac1482179c6bfd84fa129560caa43f341c7336 |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_memset and internal_strrchr to sanitizer_common/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158202 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
|
a1a25c1afe38e59ffb342c24bb5bb10d05679df7 |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] allow calls to memmove during rtl initialization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158201 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
e19cf55e85f47e158526a932838b26cdafacc37d |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] s/internal_memset/real_memset git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158200 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_md5.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/unit_tests/tsan_platform_test.cc
|
c1bdd5adca453f2fae238a4c53ade35ae60b85da |
08-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add interceptor for strncat git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158198 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
a115c66324ba21157560991d1527ca831d72f344 |
07-Jun-2012 |
Stephen Hines <srhines@google.com> |
Build the platform-independent parts of compiler-rt. Change-Id: I3819682d687231ec4a70605aab164d26ceab2f17
ndroid.mk
ib/Android.mk
|
f7667cc84cdd8923c0b6c7cfc92b7bd5692ce18c |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make internal allocations from TSan runtime call InternalAlloc from common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158148 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
|
9fe7b96f92606057dacb9130c08d32430d8be86f |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] use unsigned int as a parameter for placement new on 32 bits git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158147 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_placement_new.h
|
47b1634df012507799eb39aa17d4022d748ba67b |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move placement_new definiton from TSan to common runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158145 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_placement_new.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_placement_new.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_sync.cc
|
8d4ca28e8dc31036dd5bcda82ae97d30d5b9c631 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] include stdlib.h header to get malloc/free git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158144 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
|
0334fc8564e91d5ebd495066bb263af36331fe61 |
07-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] slow 16-byte redzones (still experimental) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158143 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_rtl.cc
|
6e0c3a447307091ff5340c302f828ea9632709ca |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Allocator for internal runtime purposes. Currently it calls libcmalloc, but we might have to make it more low-level in future git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158142 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_allocator.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_symbolizer.cc
|
ed996f79710f532bf231537e44d5c8c9c9d57e8d |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Fix mac build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158141 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
|
e5931fd7d2a74fd7fb60bd8d7f644cca51a24364 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] factor out GetThreadStackTopAndBottom from ASan runtime to common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158140 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_thread.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
|
6895adc39c4e09371154c8037366ad4464163ed0 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] __asan::AsanProcMaps -> __sanitizer::ProcessMaps. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158139 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_procmaps.h
ib/asan/asan_stack.cc
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_procmaps.h
|
cffe2f5c30c27234260d004b54152916ff0c45c6 |
07-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move ReadFileToBuffer to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158138 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
|
16071602d364db4a8e99575acd098d7462ef318d |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more compaction: don't use the next field while the chunk is in allocated state git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158083 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
6dc48dd17d81933194366716c9e16f2e85c728b6 |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more allocator compaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158082 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/sanitizer_common/sanitizer_common.h
|
a25b3463477d2a825df4f656001fc07c594b35ac |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Switch to common mmap/munmap routines in ASan run-time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158078 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_printf.cc
ib/sanitizer_common/sanitizer_win.cc
|
8c53e54ef9e713953ec9495e82e5c330b96e49f3 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Make UNIMPLEMENTED macro common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158077 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_win.cc
|
f4a4d5a9a01663e74e6d8c2de3468df31245f39a |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more compaction for allocator git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158076 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
15a77612e0a89c1df444a2034e531c8968d0cedf |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158075 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_rtl_report.cc
|
e0cff0bc20ae51790c8edfbceb817e18ebf5355e |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make tid u32 instead of int git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158074 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
ib/asan/asan_win.cc
|
7ebac9534c484b06a0c2822d83f082a127e743bc |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] start compacting the allocator header, the goal is to make it 16 bytes w/o losing any information git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158072 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_win.cc
|
9b8a9c1b1ce4659457178ff4c0838ac1b35ca9dc |
06-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan,asan] comment out O_CLOEXEC as it causes build failures on old linux kernels git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158071 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_linux.cc
|
7fdcdf5a3a7090ec86d426a815bb42f3d35adf13 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Remove __attribute__((format)) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158070 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/sanitizer_common/sanitizer_common.h
ib/tsan/rtl/tsan_rtl.h
|
675293d458c9f6c797a7211c11438eb9bfcfe9bb |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] match type of arguments to format string on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158068 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
15503b0a4331c7f27f9cebc25e25c2e494f61cb9 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix Win build - ignore __attribute__((format)). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158067 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_internal_defs.h
|
e954101f6602ac181a2c3accfbbad0ae51b0bf7c |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_malloc_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread.h
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_printf.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/unit_tests/tsan_platform_test.cc
ib/tsan/unit_tests/tsan_printf_test.cc
|
e4309e8141382372465ea065e86d8f946aa99c38 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] more format fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158060 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
5bcca4e33ececdddd8e9e07619c129e870492251 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make printf arguments match format strings better. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread_registry.cc
|
67a64dd8259fdbd867633b27f54d584f435f1ce6 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] run some renaming as a preparation for factoring out Printf implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158058 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/unit_tests/tsan_printf_test.cc
|
9929ffd1c4737d2c50829dcefcb0b8f1926a05ff |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix win build - add missing header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158057 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
|
230c3be6cdd094a187f48e27ba0961dbeee70344 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move more functions/constants to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158056 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_win.cc
ib/sanitizer_common/sanitizer_common.cc
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
8e820fcf7aafeb8101322182d742fcf99255d972 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] move internal_filesize and internal_dup2 from TSan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158052 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
|
47657ce6cbac2fa93d0fd765c5d2872443b50e87 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use __sanitizer::Die() in ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158051 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
|
9edf7508e4ad536d26a202224548081d36eddd70 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158050 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_common.h
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.h
|
4b6eec3b3e1fd8ed26aa7ed684c16bc87f0ed625 |
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix GetFreeBytesTest interface test on 32-bit Linux - delete some assumptions about the behavior of allocator in test code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158047 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_interface_test.cc
|
94b5036ee6ba866e1702848855b6d687d1e70afa |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158001 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/sanitizer_common/sanitizer_defs.h
ib/sanitizer_common/sanitizer_internal_defs.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_symbolizer.h
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/rtl/tsan_defs.h
|
78381e4b40e6b4dad7b77adb7fa56dfd13b1f31c |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] fix compilation on Mac OS 10.6 - don't use O_CLOEXEC git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158000 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_mac.cc
|
b9a30e0799787a99147e2587ef5ecc8c5f224160 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] remove using namespace __sanitizer lines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157999 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/unit_tests/tsan_platform_test.cc
|
0a4c906dbc8f150657ddd4f19a7192b779f1d605 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use common defines for ASan and TSan runtime. Split defines between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157998 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/sanitizer_common/sanitizer_defs.h
ib/sanitizer_common/sanitizer_interface_defs.h
ib/tsan/rtl/tsan_allocator.cc
ib/tsan/rtl/tsan_compiler.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_placement_new.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
|
8c8c8b0ecd3a7faab499556a04c54c9de5a0f284 |
05-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] change the order of tests in the asan_test binary. Makes the test runs 2x faster due to DEATH_TEST overhead (see asan issue 77) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157997 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
562e19e2f200f5e9d411e75e5a8d62df90ecb4c9 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] Use internal_munmap from sanitizer_libc in TSan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157995 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
1f11d31faa5ed89b74f7d543b1182fe8de198be5 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add sanitizer_posix.cc. Move more various functions into sanitizer_libc: sscanf, munmap, memchr git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157994 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_printf.cc
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_posix.cc
ib/sanitizer_common/sanitizer_win.cc
|
3f46cf42b0f8e0667a3bea88cf871ebd4dc0ecdf |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] s/size_t/uptr in asan_mac.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157993 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
89345b088c65680b4b1250ca9a80fb6fc464447f |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] make TSan runtime use internal_{close,read,write} from sanitizer_libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157992 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
2221f553886c37401b5d84923634ebf04bc482f1 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use internal_{close,read,write} in ASan runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157991 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
a56aefd2e01940fcf88d1426f9de3d5e4b1ee203 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] add internal_{close,read,write} functions to sanitizer_libc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157990 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
|
7f9c5a220b2768a450696bbd157a0e6f2e9ceea3 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use __sanitizer::internal_open in TSan run-time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157988 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_win.cc
ib/tsan/Makefile.old
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/unit_tests/tsan_platform_test.cc
|
9552db72ce37a9f090be4d9fecfbe75458c6d7bb |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use internal_open from sanitizer_libc in ASan runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157986 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
c5d465136b911bf925f2a631e2b79f1c03e8a1b0 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Add sanitizer_win.cc for windows-specific implementations of libc functions. Add internal_open. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157985 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
ib/sanitizer_common/sanitizer_win.cc
|
48aee681c0d800deb6c00f546bfaa377ece37326 |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[TSan] use __sanitizer::internal_mmap in TSan run-time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157984 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
6316c111d62df6521db68397a469fd3636e9ae7c |
05-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Fix a typo in Makefile.old git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157982 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
982cee4a0d08dfbf1896477c76d0506fc6851af0 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Enable lint for sanitizer_common/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157931 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/sanitizer_common/sanitizer_defs.h
|
ae4d9caa4f47fa6abcd641719e9f520622940c17 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Created files sanitizer_linux.cc and sanitizer_mac.cc for platform-specific implementations of common functions. Turned asan_mmap into __sanitizer::internal_mmap. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157930 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/sanitizer_common/sanitizer_libc.h
ib/sanitizer_common/sanitizer_linux.cc
ib/sanitizer_common/sanitizer_mac.cc
|
603c4be006d8c53905d736bf1f19a49f5ce98276 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Remove file-type tags in .cc files in tsan/ and sanitizer_common/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157928 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/tsan/rtl/tsan_allocator.cc
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_md5.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl_tests/tsan_bench.cc
ib/tsan/rtl_tests/tsan_mop.cc
ib/tsan/rtl_tests/tsan_mutex.cc
ib/tsan/rtl_tests/tsan_posix.cc
ib/tsan/rtl_tests/tsan_string.cc
ib/tsan/rtl_tests/tsan_test.cc
ib/tsan/rtl_tests/tsan_test_util_linux.cc
ib/tsan/rtl_tests/tsan_thread.cc
ib/tsan/unit_tests/tsan_allocator_test.cc
ib/tsan/unit_tests/tsan_clock_test.cc
ib/tsan/unit_tests/tsan_flags_test.cc
ib/tsan/unit_tests/tsan_mman_test.cc
ib/tsan/unit_tests/tsan_mutex_test.cc
ib/tsan/unit_tests/tsan_platform_test.cc
ib/tsan/unit_tests/tsan_printf_test.cc
ib/tsan/unit_tests/tsan_shadow_test.cc
ib/tsan/unit_tests/tsan_suppressions_test.cc
ib/tsan/unit_tests/tsan_sync_test.cc
ib/tsan/unit_tests/tsan_vector_test.cc
|
e5f5895bda30f374b0b51412fd4d837fa59aed66 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Remove file-type tags for .cc files in ASan run-time library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157927 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_new_delete.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread_registry.cc
ib/asan/tests/asan_benchmarks_test.cc
ib/asan/tests/asan_break_optimization.cc
ib/asan/tests/asan_globals_test.cc
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
|
c0d78c1de1f2607c874020d27b72cf989c5ce092 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: move internal_strcmp to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157926 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_rtl_report.cc
|
5f2fe37bd979f18703a6b3b5bf71d18fca19b245 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use ASan option symbolize to turn on internal symbolizer (in development) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157924 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
|
3836ff2733d40e1182e301ef7de3eff9469777ae |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Move internal_strncpy to sanitizer_libc (and make its behavior conforming to manual) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157922 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_printf.cc
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
|
4e6c6c75a241644c52fd6e62ff3ad7aef7f5c523 |
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer_common] fix filenames in comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157919 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
ab5dbccab635b05598cc707ac7680edfe8ebdcd5 |
01-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
temporary include stdlib.h in symbolizer to fix Mac/Win build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157808 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
|
cfd605e96209d18c937501be870bd0308131e453 |
01-Jun-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix gcc build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157807 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_new_delete.cc
|
2f7d82687c99d468aa845ed68d88910710cc51ec |
01-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Stub files for common symbolizer for AddressSanitizer and ThreadSanitizer tools. It is an analogue of addr2line utility and should allow to map instruction address to a location in source code at run-time. It should use debug information (in DWARF) in a binary, and hopefully it would be possible to re-use code from llvm/DebugInfo/DIContext.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157806 91177308-0d34-0410-b5e6-96231b3b80d8
ib/sanitizer_common/sanitizer_symbolizer.cc
ib/sanitizer_common/sanitizer_symbolizer.h
|
f037f565b2e02878ceb6e7b49647e814e2990ef5 |
31-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: intercept longjmp() but die in it, greatly simplifies problem diagnostic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157760 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
|
45c8d1b28305b8660597bca3645e3ad700d76160 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] partial fix for windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157750 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_win.cc
|
b49879cdb4a792048c81a96cbd91876dba34b766 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] partial fix for windows build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157748 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
ee3925515e4c7966f3ef489f687aa7e5692806a9 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157747 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_mapping.h
ib/asan/asan_poisoning.cc
ib/asan/asan_posix.cc
ib/asan/asan_printf.cc
ib/asan/asan_procmaps.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_thread.cc
ib/asan/asan_win.cc
ib/asan/tests/asan_noinst_test.cc
ib/sanitizer_common/sanitizer_defs.h
|
3f4c3875c42078e22c7e5356c5746fd18756d958 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157746 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_lock.h
ib/asan/asan_mac.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_mapping.h
ib/asan/asan_poisoning.cc
ib/asan/asan_posix.cc
ib/asan/asan_printf.cc
ib/asan/asan_procmaps.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_stats.cc
ib/asan/asan_stats.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
ib/asan/asan_win.cc
ib/asan/tests/asan_noinst_test.cc
|
a13749bd7b3629a3498e765960729a8ade5db7cf |
31-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix a typo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157744 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
|
9aead37421a6e4bf43265e5195c6ac31fc519982 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some renaming in asan rt. More to come. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157743 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_interface.h
ib/asan/asan_poisoning.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/sanitizer_common/sanitizer_defs.h
ib/sanitizer_common/sanitizer_libc.h
|
b99941ca42b43e850aecb55998f6f4885d455892 |
31-May-2012 |
Alexander Potapenko <glider@google.com> |
Fix the wildcards for two output tests on Darwin. It turns out that atos does not print the symbol names for static C++ functions correctly (one of the two leading underscores is omitted), so they remain mangled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157742 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/large_func_test.cc
ib/asan/output_tests/null_deref.cc
|
16e0075746b21ed866ec3be21ef0d1e46f0efed5 |
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] rename files in sanitizer_common to have a common prefix (sanitizer_). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157740 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/sanitizer_common/mini_libc.cc
ib/sanitizer_common/mini_libc.h
ib/sanitizer_common/sanitizer_libc.cc
ib/sanitizer_common/sanitizer_libc.h
ib/tsan/rtl/tsan_rtl.cc
|
20f60c53c446f42af2b4ebc3b85f6a5042be6904 |
31-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: suppress reports against source file names as well git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157739 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
ib/tsan/unit_tests/tsan_suppressions_test.cc
|
a87bdaa1eab379ae4d9a24456f41f8ae36ba33f6 |
30-May-2012 |
Alexander Potapenko <glider@google.com> |
Be more verbose when installing the signals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157693 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_posix.cc
|
6b6dc57066fc154fbf08440cb41db099878a14e9 |
30-May-2012 |
Alexander Potapenko <glider@google.com> |
Fix a bug in parsing boolean flags: we used to take the first char of the key=value string instead of the first character of the value. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157692 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
e4781f0c5871a14e2c454d7788bae2e5c72bd336 |
30-May-2012 |
Alexander Potapenko <glider@google.com> |
Be less verbose when parsing the default options. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157691 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
b4b9fa707324095e3590a57963fd754d7a4dd40e |
29-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: prevent recursive signal handlers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157625 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
b3cedf98a3c8545da2234c2d35cb5d687984035f |
29-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] Add a new directory compiler-rt/lib/sanitizer_common which will contain code shared between asan and tsan run-times. Naming is hard. If you can suggest a better name for the directory -- speak up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157611 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/asan/Makefile.old
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/sanitizer_common/Makefile.mk
ib/sanitizer_common/mini_libc.cc
ib/sanitizer_common/mini_libc.h
ib/tsan/Makefile.old
ib/tsan/rtl/Makefile.old
ib/tsan/rtl/tsan_rtl.cc
ake/platform/clang_darwin.mk
ake/platform/clang_linux.mk
|
ff20f17cd0543bc9d4112831574b9bb6a0f21fc6 |
29-May-2012 |
Alexey Samsonov <samsonov@google.com> |
Fixing ASan build on Win: don't use __asan_default_options git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157608 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
4113f643b0d5f857e9db5e765d11dc009d10a583 |
29-May-2012 |
Alexander Potapenko <glider@google.com> |
Do not define ___asan_default_options on Windows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157603 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
|
d389dd3467ef9a2eabb052f3974372f5e8ac82e1 |
29-May-2012 |
Alexey Samsonov <samsonov@google.com> |
Fix atoi stub for linux introduced in r157573. This fixes compiler-rt build on linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157600 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/linux/usr/include/stdlib.h
|
c6df61ba6ec36e7a1684127d2b3284e2101947d1 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compiler warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157585 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/simple_stack2.cc
|
411b2c9d6787b64939fc15fdeec65e9d65ba1a51 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix race during pthread_join/detach git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157584 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_thread.cc
|
62f10e7e8b604275ca1c7cc924f32854d04829fb |
28-May-2012 |
Alexander Potapenko <glider@google.com> |
Rework the flags machinery a bit. Clients may define the __asan_default_options char string containing the default options for the tool now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157582 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
a27d6a7b79052bf718e6a7d74c043aedafa2c4bb |
28-May-2012 |
Alexander Potapenko <glider@google.com> |
More verbose check in AppendString. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157580 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_printf.cc
|
40565ce99f1b6a291fe8fa2f58a0d118761f5b63 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: pass CFLAGS to tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157579 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
00a38b21f385bf0b08b199524515d2f0bfcbd582 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: be more conservative wrt symbolizer output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157578 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/simple_stack2.cc
|
ec63f456de18b9ac75d7546f8a53beb6ce048e67 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Add support for the GCOV_PREFIX_STRIP env variable which tries to strip off the first 'n' directories from the filename. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157574 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
84baff0561fe6ca2371e3273f8ed149260e104c1 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Add stub for 'atoi'. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157573 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/stdlib.h
DKs/linux/usr/include/stdlib.h
|
015b7e06622b7538419d8c158c4c84b781310096 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Simplify the logic that tries to open the GCDA file at all costs. Basically, if we can't open the file even after creating all of the directories to it, then just give up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157572 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
906d5a5d38f2984a9b78a0786016a3d67d0798e9 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
* A bit of cleanup of the 'recursive_mkdir'. No functionality change. * Check for absolute paths before using the GCOV_PREFIX. * Don't add an ending path separator if there's already one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157571 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
d350c35e3a4da6bf325b85e33df8701fcff39811 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: increase /proc/self/maps max size (1M is far not enough) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157570 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
f54c0e3321e2381fca3f02faefaaa6639d59c7cf |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: rename interceptors from __xsan_xxx to __interceptor_xxx git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157569 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/interception_malloc_test-linux.cc
ib/asan/output_tests/interception_test-linux.cc
ib/interception/interception.h
ib/tsan/rtl/tsan_rtl_report.cc
|
75d48f2f4e7addb4d3167eea5ee12af81ada0522 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: more robust detection of stack of main thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157568 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
769544eed418993abb8efcb4ea939ed5c93a5ba2 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use DCHECK_GT/LT instead of plain DCHECK (better diagnostics) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157567 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.cc
|
af154b815bbd793874b4cd05be98d571b6579272 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not clean stack/tls for main thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157566 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl_thread.cc
|
170169a677c4f0df1b0ac7486c7cc7cc468cfbd5 |
28-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: remove static libraries on make clean git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157565 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
de47cb8f12474c7c528a84de0ea73c743c33f015 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Don't use 'strrchr', which isn't implemented here yet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157560 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
5a240c5c1746d07351fc38deb81c1794e8668d15 |
28-May-2012 |
Bill Wendling <isanbard@gmail.com> |
Sync with old GCOV runtime library's file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157559 91177308-0d34-0410-b5e6-96231b3b80d8
ib/profile/GCDAProfiling.c
|
541c375fdd98cb9af9b9a7378c63943bd5c390af |
25-May-2012 |
Stephen Hines <srhines@google.com> |
am 27590d73: Update for ASan cherry-pick. * commit '27590d73e7a656b92ed5789172a38468ce7b615e': Update for ASan cherry-pick.
|
a80855f31d24656e67798bc086ca2d5a282d021d |
25-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
am 02a06366: Use zero-based shadow by default on Android. * commit '02a063660153ab4d0430b211f4dd0b3606bcbff7': Use zero-based shadow by default on Android.
|
f2981f3bfdc7900784d446d2dde96d99fbcad756 |
25-May-2012 |
Alexander Potapenko <glider@google.com> |
Typo fix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157477 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
fca72fd2741372d2e947366277258bff1092e73e |
25-May-2012 |
Alexander Potapenko <glider@google.com> |
Factor ParseAsanOptions outside __asan_init git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157473 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
37931239a3671ac0d2c7865f3077b0c4f71b94b3 |
25-May-2012 |
Alexander Potapenko <glider@google.com> |
Introduce the check_malloc_usable_size flag (on by default). When the flag is set to zero, we do not check for errors in malloc_usable_size. This may be useful to work around a bug in Nvidia drivers prior to 295.* git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157472 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
789b6c5669547b550034fc9888059b17e2ff1417 |
25-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not call into libc in symbolizer and in other code (this causes recursion and crashes) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157466 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/unit_tests/tsan_platform_test.cc
|
1070a5a7143c76a2ac0ca3c0c8113d7357d26ff7 |
25-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: output message about failure to intercept only if verbosity flag is passed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157465 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
d1a928edc0e76937dd38bdd3c357375986737e31 |
25-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix tests depending on -m32/-m64 addr2line says either e.g. __xsan_strnlen or just strnlen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157464 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/heap-overflow.cc
ib/asan/output_tests/strncpy-overflow.cc
ib/asan/output_tests/use-after-free.cc
|
619e8bf99d2714c4411fefba22d54c233d93a177 |
24-May-2012 |
Meador Inge <meadori@gmail.com> |
Adding back a right parenthesis that was dropped in r157388. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157406 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
ea5bde91d547af6f38005ebdb64d7b6e4c9f966c |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: compilation of tests with newest clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157392 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/simple_stack2.cc
ib/tsan/rtl_tests/tsan_mop.cc
|
5aa3f227be0a8934dedc0321f6913140fca60a94 |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix compilation with newest clang git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157391 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_rtl.h
|
580469d7e40e39319cb2d3750edac4bccca18105 |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: weak interceptors The idea isthat asan/tsan can survive if user intercepts the same functions. At the same time user has an ability to call back into asan/tsan runtime. See the following tests for examples: asan/output_tests/interception_failure_test-linux.cc asan/output_tests/interception_test-linux.cc asan/output_tests/interception_malloc_test-linux.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157388 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/output_tests/heap-overflow.cc
ib/asan/output_tests/interception_failure_test-linux.cc
ib/asan/output_tests/interception_malloc_test-linux.cc
ib/asan/output_tests/interception_test-linux.cc
ib/asan/output_tests/strncpy-overflow.cc
ib/asan/output_tests/test_output.sh
ib/asan/output_tests/use-after-free.cc
ib/interception/interception.h
ib/interception/interception_linux.cc
ib/interception/interception_linux.h
ib/tsan/rtl/tsan_rtl_report.cc
|
24567d409cca096b950574fa4b19aa4c2c67a1f0 |
24-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add a flag to control RunningOnValgrind() return value git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157383 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interface_ann.cc
|
27590d73e7a656b92ed5789172a38468ce7b615e |
23-May-2012 |
Stephen Hines <srhines@google.com> |
Update for ASan cherry-pick. Change-Id: I311982d33c7ace7c9f10196e9f33faba3e5b41c4
EADME.android
|
02a063660153ab4d0430b211f4dd0b3606bcbff7 |
23-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Use zero-based shadow by default on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157318 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
|
c99f70044d64482adbc1053f04b32bdbf0d4c057 |
23-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Move AsanShadowRangeIsAvailable() from mac to posix. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157326 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
|
f1ee2cd5e4c7a46e1188315daa2c79181f852bec |
23-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Use zero-based shadow by default on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157318 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
|
ed2341803878f04093f58848468926337d9ca88f |
23-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
asan: fix typo in comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157314 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
adfb65039646774f0f063b538f8fb0aec021f42b |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add shadow memory flush + fix few bugs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157270 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/suppress_sequence.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
|
e294d09d45aa97d1d2c8ee237ee2ac225442d330 |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix sizeof sigset_t git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157268 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
b9bcdb3cbdbf15480328501a096b4859604e4502 |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix makefile allow to build custom configurations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157259 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/Makefile.old
|
9d2ffc2ee08216f8fad9b1bd267d1f112e0d2f01 |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: reduce per-thread memory usage git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157252 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_trace.h
ib/tsan/rtl_tests/tsan_test_util_linux.cc
|
76ac5725a74b7f304803113ec90864ec2da796a4 |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] nuke some old unused code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157250 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
6f350e0d1c385189cb94ddde7b288a2533b45b32 |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] increase the stack size limit to 256M (yes, that happens); also CHECK that the stack size is less than that on a non-main thread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157249 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_thread.h
|
26127735454fddae3495794f38189d57dde6510f |
22-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: simple memory profiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157248 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
|
9003eae323f92d68b834f649de17774a21866f0d |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use -fno-builtin to build asan-rt on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157239 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
f4226aea2c553157ef2392ffa0b0c7ff57a68d4e |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use -fPIE -fno-builtin for building asan-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157238 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
e4d141dbbaf5185f332a185c22308340657d243e |
22-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix one test on 32-bit Mac 10.7; enable another test on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157237 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_test.cc
|
05906a7a12865b0fb0f5f6d607848cf7b5a1e5e0 |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: implement malloc/free hooks git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157196 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
8c505efd769a21eac7de53bc104757245af6ed4a |
21-May-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Make for-Windows RTL compileable using Clang++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157188 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_win.cc
|
6d6acaa301e86d997a9dd5aed51c72a736fa245d |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: do not assume non-recursive signal handlers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157187 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
e784ad46359c898e48d0262f28a1b7b4a512f1d3 |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: replace CHECK with CHECK_EQ for better diagnostics git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157181 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_rtl.h
|
d91d06794506f10fb7599a2b835222fba29394e0 |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: better, more realistic handling of signals git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157178 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_stat.h
|
efd958213d70188ae6f79afd79fe2c84956d24ff |
21-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add more checks for OOM conditions tests like to try to malloc((size_t)-1) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157176 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
|
7b8bee18f2f2c752bca3656b6092610b6cc9b503 |
18-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: check for overflow in malloc() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157048 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
|
7d38634b30beed9bed44dfa6cb8e977ec51d7c6c |
18-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix potential NULL deref git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157047 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interceptors.cc
|
b7b6b1cd9df0c954b1f890fcebf373db984923b3 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: remove shutdown code tsan runtime shutdown is problematic for 2 reasons: 1. others crash during shutdown 2. we have to override user exit status (don't know it and can't return from atexit handler) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156991 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
ib/tsan/unit_tests/tsan_flags_test.cc
ib/tsan/unit_tests/tsan_suppressions_test.cc
|
069ce828e3057819ee34426496ea7080f7cc52f0 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: detect accesses to freed memory http://codereview.appspot.com/6214052 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156990 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/free_race.c
ib/tsan/output_tests/free_race2.c
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
3547924e57605830329c521d35b973e9c26567ea |
17-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix dependency rules in Makefile.old git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156983 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
|
7b664bf9be64f92d5a84a7481bd7a2e510f94583 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: ValgrindSlowdown() should be weak for some time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156982 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_ann.cc
|
dc2f0320c565ea0fe6396d06c5990daab42be0e9 |
17-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add ValgrindSlowdown() "dynamic annotation" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156981 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_ann.cc
|
5c5564a8be4bf43f69833821ab16cd5d4d3fe5ba |
16-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: improve addr2line symbolizer -provide support for non-continous modules -ignore not loaded sections -more debug output git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156924 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
ec1e196dabccd57c69dbcc0d4931bd1c5d36876c |
16-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add tiny_test.c git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156908 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/tiny_race.c
|
0629810986dc401f2766377cf313eab7fba5d051 |
16-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] fix old-style makefile -- we still need them to run our tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156907 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/Makefile.old
|
4026c2c28927b90a97cda2a713c761f633bb1422 |
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] makefile machinery to build tsan-rt (linux-x86_64 only) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156822 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/tsan/CMakeLists.txt
ib/tsan/Makefile.mk
ib/tsan/rtl/Makefile.mk
ake/platform/clang_linux.mk
|
c8c87202f2d26f04b6c1c7e8b301e3a97852cb8f |
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the old-style Makefile, which we still need to run asan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156818 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
bc7ab9ce95a703ef732beb4ca4d0ea8778a60fdd |
15-May-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Update atomic.c to work with the new clang builtins. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156817 91177308-0d34-0410-b5e6-96231b3b80d8
ib/atomic.c
|
0d49904d50fc42b411c396c472ce70f8e4575f99 |
15-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move lib/asan/interception to lib/interception so that other tools (e.g. tsan) can use it git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156816 91177308-0d34-0410-b5e6-96231b3b80d8
ICENSE.TXT
ib/Makefile.mk
ib/asan/Makefile.mk
ib/asan/interception/Makefile.mk
ib/asan/interception/interception.h
ib/asan/interception/interception_linux.cc
ib/asan/interception/interception_linux.h
ib/asan/interception/interception_mac.cc
ib/asan/interception/interception_mac.h
ib/asan/interception/interception_win.cc
ib/asan/interception/interception_win.h
ib/asan/interception/mach_override/LICENSE.TXT
ib/asan/interception/mach_override/Makefile.mk
ib/asan/interception/mach_override/README.txt
ib/asan/interception/mach_override/mach_override.c
ib/asan/interception/mach_override/mach_override.h
ib/interception/Makefile.mk
ib/interception/interception.h
ib/interception/interception_linux.cc
ib/interception/interception_linux.h
ib/interception/interception_mac.cc
ib/interception/interception_mac.h
ib/interception/interception_win.cc
ib/interception/interception_win.h
ib/interception/mach_override/LICENSE.TXT
ib/interception/mach_override/Makefile.mk
ib/interception/mach_override/README.txt
ib/interception/mach_override/mach_override.c
ib/interception/mach_override/mach_override.h
ake/config.mk
ake/platform/clang_darwin.mk
ake/platform/clang_linux.mk
|
cdfb33a69a0c96c6912036ad85224972db3a7e7d |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: add more atomics to public interface (fetch_or/and/xor + 1-,2-byte versions) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156766 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
ib/tsan/rtl/tsan_stat.h
|
f5820e74ad31eb8352049c880f8d58e286a9b713 |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: enabled report suppression for signal-unsafe reports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156765 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_report.cc
|
bfc45f132133966889aece2285ebe59dec978865 |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix output_tests script to actually verify tests results git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156764 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/test_output.sh
|
a762200b9765014453b2761375ca7512672a7a6c |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: make addr2line symbolizer understand dynamic libraries Collect info about all dynamic libraries in the process (name, base, size). Determine to what dyn lib the address relates, route request to addr2line instance for the lib. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156759 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
|
38a2f2ac4ec70d4a10c549a9d4ba55711a9ff3f8 |
14-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: update output tests to race on heap memory Races on stack of main thread are problematic for COMPAT mapping, because it's not 1-to-1 and race addr is not properly mapped from shadow back to application memory. Update output tests to race heap memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156758 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/mop_with_offset.cc
ib/tsan/output_tests/mop_with_offset2.cc
|
37f60be6cf5d1d9f2be722095c68eb9cdbd5ef31 |
13-May-2012 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix mmap fd This is mostly to test my commit access. Fixes fd passed to mmap(), -1 is the proper invalid fd. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156741 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_platform_linux.cc
|
8ca02789a274fa46abccacad4a0820a9fe2f75f4 |
12-May-2012 |
Alexander Potapenko <glider@google.com> |
Increase error_message_buffer_size to 64K (16K is insufficient for large programs) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156711 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
3972ea03aa52d81ca324945ba94eea22d403df12 |
12-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Fix GetFrameNameByAddr hitting stale stack guards. In the current implementation AsanThread::GetFrameNameByAddr scans the stack for a magic guard value to locate base address of the stack frame. This is not reliable, especially on ARM, where the code that stores this magic value has to construct it in a register from two small intermediates; this register can then end up stored in a random stack location in the prologue of another function. With this change, GetFrameNameByAddr scans the shadow memory for the signature of a left stack redzone instead. It is now possible to remove the magic from the instrumentation pass for additional performance gain. We keep it there for now just to make sure the new algorithm does not fail in some corner case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156710 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mapping.h
ib/asan/asan_thread.cc
|
1b2d44c0473e84bc43514c1f3adc0ed30f297ebd |
11-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] run output tests in parallel git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156617 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/output_tests/test_output.sh
|
3d6ae1580e5f34f02d24ff0c8bb352a5026c327a |
11-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] run more kinds of builds as presubmit test (and fix gcc debug build) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156616 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/rtl/Makefile.old
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_thread.cc
|
de257a9fb62839cc21e83263665473861967e124 |
11-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] a bit more lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156614 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/unit_tests/tsan_platform_test.cc
|
b82ae88720750d0ad4fd829c84e0dd0f8708cc2b |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] old-dstyle Makefile for tests; two helper scripts that analyze the assembly code of the hot functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156547 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/Makefile.old
ib/tsan/analyze_libtsan.sh
ib/tsan/check_analyze.sh
ib/tsan/output_tests/test_output.sh
ib/tsan/rtl/Makefile.old
|
da4edd850db1a333c15fc3b0abc01a2e8d2f08fe |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] ThreadSanitizer tests and micro benchmarks. No makefiles yet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156545 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/benchmarks/mini_bench_local.cc
ib/tsan/benchmarks/mini_bench_shared.cc
ib/tsan/benchmarks/start_many_threads.cc
ib/tsan/benchmarks/vts_many_threads_bench.cc
ib/tsan/output_tests/free_race.c
ib/tsan/output_tests/heap_race.cc
ib/tsan/output_tests/memcpy_race.cc
ib/tsan/output_tests/mop_with_offset.cc
ib/tsan/output_tests/mop_with_offset2.cc
ib/tsan/output_tests/race_on_barrier.c
ib/tsan/output_tests/race_on_barrier2.c
ib/tsan/output_tests/race_on_mutex.c
ib/tsan/output_tests/race_with_finished_thread.cc
ib/tsan/output_tests/simple_race.c
ib/tsan/output_tests/simple_race.cc
ib/tsan/output_tests/simple_stack.c
ib/tsan/output_tests/simple_stack2.cc
ib/tsan/output_tests/static_init1.cc
ib/tsan/output_tests/static_init2.cc
ib/tsan/output_tests/static_init3.cc
ib/tsan/output_tests/static_init4.cc
ib/tsan/output_tests/static_init5.cc
ib/tsan/output_tests/suppress_same_address.cc
ib/tsan/output_tests/suppress_same_stacks.cc
ib/tsan/output_tests/suppress_sequence.cc
ib/tsan/output_tests/test_output.sh
ib/tsan/output_tests/thread_leak.c
ib/tsan/output_tests/thread_leak2.c
ib/tsan/output_tests/thread_leak3.c
ib/tsan/output_tests/vptr_benign_race.cc
ib/tsan/output_tests/vptr_harmful_race.cc
ib/tsan/rtl_tests/tsan_bench.cc
ib/tsan/rtl_tests/tsan_mop.cc
ib/tsan/rtl_tests/tsan_mutex.cc
ib/tsan/rtl_tests/tsan_posix.cc
ib/tsan/rtl_tests/tsan_string.cc
ib/tsan/rtl_tests/tsan_test.cc
ib/tsan/rtl_tests/tsan_test_util.h
ib/tsan/rtl_tests/tsan_test_util_linux.cc
ib/tsan/rtl_tests/tsan_thread.cc
ib/tsan/unit_tests/tsan_allocator_test.cc
ib/tsan/unit_tests/tsan_clock_test.cc
ib/tsan/unit_tests/tsan_flags_test.cc
ib/tsan/unit_tests/tsan_mman_test.cc
ib/tsan/unit_tests/tsan_mutex_test.cc
ib/tsan/unit_tests/tsan_platform_test.cc
ib/tsan/unit_tests/tsan_printf_test.cc
ib/tsan/unit_tests/tsan_shadow_test.cc
ib/tsan/unit_tests/tsan_suppressions_test.cc
ib/tsan/unit_tests/tsan_sync_test.cc
ib/tsan/unit_tests/tsan_vector_test.cc
|
d40895d1305d630a5bfeb103fdbbf2a4d955b404 |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] add the old Makefile (which is the only way to build the tsan-rtl for now) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156544 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/Makefile.old
|
7ac41484ea322e0ea5774df681660269f5dc321e |
10-May-2012 |
Kostya Serebryany <kcc@google.com> |
[tsan] First commit of ThreadSanitizer (TSan) run-time library. Algorithm description: http://code.google.com/p/thread-sanitizer/wiki/ThreadSanitizerAlgorithm Status: The tool is known to work on large real-life applications, but still has quite a few rough edges. Nothing is guaranteed yet. The tool works on x86_64 Linux. Support for 64-bit MacOS 10.7+ is planned for late 2012. Support for 32-bit OSes is doable, but problematic and not yet planed. Further commits coming: - tests - makefiles - documentation - clang driver patch The code was previously developed at http://code.google.com/p/data-race-test/source/browse/trunk/v2/ by Dmitry Vyukov and Kostya Serebryany with contributions from Timur Iskhodzhanov, Alexander Potapenko, Alexey Samsonov and Evgeniy Stepanov. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156542 91177308-0d34-0410-b5e6-96231b3b80d8
ib/tsan/rtl/tsan_allocator.cc
ib/tsan/rtl/tsan_allocator.h
ib/tsan/rtl/tsan_atomic.h
ib/tsan/rtl/tsan_clock.cc
ib/tsan/rtl/tsan_clock.h
ib/tsan/rtl/tsan_compiler.h
ib/tsan/rtl/tsan_defs.h
ib/tsan/rtl/tsan_flags.cc
ib/tsan/rtl/tsan_flags.h
ib/tsan/rtl/tsan_interceptors.cc
ib/tsan/rtl/tsan_interface.cc
ib/tsan/rtl/tsan_interface.h
ib/tsan/rtl/tsan_interface_ann.cc
ib/tsan/rtl/tsan_interface_ann.h
ib/tsan/rtl/tsan_interface_atomic.cc
ib/tsan/rtl/tsan_interface_atomic.h
ib/tsan/rtl/tsan_interface_inl.h
ib/tsan/rtl/tsan_md5.cc
ib/tsan/rtl/tsan_mman.cc
ib/tsan/rtl/tsan_mman.h
ib/tsan/rtl/tsan_mutex.cc
ib/tsan/rtl/tsan_mutex.h
ib/tsan/rtl/tsan_placement_new.h
ib/tsan/rtl/tsan_platform.h
ib/tsan/rtl/tsan_platform_linux.cc
ib/tsan/rtl/tsan_printf.cc
ib/tsan/rtl/tsan_report.cc
ib/tsan/rtl/tsan_report.h
ib/tsan/rtl/tsan_rtl.cc
ib/tsan/rtl/tsan_rtl.h
ib/tsan/rtl/tsan_rtl_amd64.S
ib/tsan/rtl/tsan_rtl_mutex.cc
ib/tsan/rtl/tsan_rtl_report.cc
ib/tsan/rtl/tsan_rtl_thread.cc
ib/tsan/rtl/tsan_stat.cc
ib/tsan/rtl/tsan_stat.h
ib/tsan/rtl/tsan_suppressions.cc
ib/tsan/rtl/tsan_suppressions.h
ib/tsan/rtl/tsan_symbolize.h
ib/tsan/rtl/tsan_symbolize_addr2line_linux.cc
ib/tsan/rtl/tsan_sync.cc
ib/tsan/rtl/tsan_sync.h
ib/tsan/rtl/tsan_trace.h
ib/tsan/rtl/tsan_update_shadow_word_inl.h
ib/tsan/rtl/tsan_vector.h
|
f2b1df7cb8f53f51bcb105e0d2930d99325bb681 |
10-May-2012 |
Alexander Potapenko <glider@google.com> |
Fix ReadFileToBuffer to return 0 on failure (-1 is too large if returned as size_t). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156538 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
dd25758e7d15037e671f3bb4e844c0b43f4bb362 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
am b8a0c57f: Add stlport for include <algorithm>. Fix build. * commit 'b8a0c57f15cab97957901b5c71eaac14972b71ed': Add stlport for include <algorithm>. Fix build.
|
56d0c2bb8ad23521f5add6da681f2d24363869ed |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
am 8e2ac926: Merge commit \'034bda5eab7cda14fac0bed3a39de4a3dbce3cff\' into 20120424. * commit '8e2ac92639f80f0c850bb91d9f51a5f149c0ae29':
|
b8a0c57f15cab97957901b5c71eaac14972b71ed |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Add stlport for include <algorithm>. Fix build. Change-Id: Id54d41241a9f86ac9a2119695dd03c457871c8e8
ib/asan/Android.mk
|
8e2ac92639f80f0c850bb91d9f51a5f149c0ae29 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Merge commit '034bda5eab7cda14fac0bed3a39de4a3dbce3cff' into 20120424. Change-Id: Ie524091c0c960d8e2d53fcff1d0b8f1c988c357d
|
ed00338b4b2f63a6e740be982ecbfa56257f1da6 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Add stlport for include <algorithm>. Fix build. Change-Id: Id54d41241a9f86ac9a2119695dd03c457871c8e8
ib/asan/Android.mk
|
01422777488d6f21812351b32ca1362e39183e28 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Merge commit '034bda5eab7cda14fac0bed3a39de4a3dbce3cff' into 20120424. Change-Id: I28ce2aa76cb346173d3acb02f6542b4209cb8a24
|
909888cda6417db5ca06199a5da51e3408fd35c5 |
23-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use CLANG_VERSION in Makefile (currently 3.2) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155350 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
0796393f2088e3b75c4110934451160eeb037fab |
23-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix asan issue #66 (correctly report type of the bug) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155344 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/tests/asan_test.cc
|
6f262bf77b3223992f1c794829485f6995aa7434 |
23-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Bump the LLVM minor version. This should fix our 32-bit Linux build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155338 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
4eaa17848ed02cae465f10aa5fe095e42dbf0d61 |
19-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] test for issue #66 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@155127 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
034bda5eab7cda14fac0bed3a39de4a3dbce3cff |
16-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Partially revert r154390 (http://llvm.org/viewvc/llvm-project?view=rev&revision=154390) Until we work out the solution for http://code.google.com/p/address-sanitizer/issues/detail?id=65 we'd better not allow the clients to override AddressSanitizer's signal handler. The second part of r154390 (removing the sighandler-related tests) is not reverted, because those tests were broken and didn't test anything. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154803 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
0a27a1f97e7d089de28b39744adfc6bc61df0bf1 |
12-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] minor fix: pass flag -g to output tests as a part of CXXFLAGS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154589 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/test_output.sh
|
5b952b72e1a484e1773312c86e84e2c221c246b2 |
12-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
Don't build atomic.c when building compiler-rt using make git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154583 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
|
c2f2d0c008c68f237959a765f9b7d20ca2acdb98 |
12-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] fix output tests - r154570 changed debug info for static functions and now they are symbolized a bit differently git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154581 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/large_func_test.cc
|
73ac687e4bf9914dc7507ed18ef38cf326ef2175 |
10-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Change the way ASan interacts with custom signal handlers. From now on we allow the clients to override signal handlers set by ASan, but print a warning in such a case. Remove the tests for signal() and sigaction(), because they made little sense even without this change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154390 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
f7ceaad2919d2e26e9edea29232bc9dd8f145c42 |
09-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] remove dispatch.h header once again - it's not present on Leopard, and we don't want to break the build of compiler-rt there. See https://trac.macports.org/ticket/33362 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154326 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
2dcf44991a8ec1ca7c8051eb27c5ff158530bdc3 |
09-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Use 'typename' instead of 'class' in template<> definitions supporting POD types git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154314 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
850a49ecb344a71d62347bbee8042ae13b624033 |
06-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] last bit for gcc compatibility git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154203 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_internal.h
|
4d9a9576c143fb6091b01cde3a87fc62461205c8 |
06-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] minor change to please gcc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154201 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
4d5f98df886051afeece1698d4bc8f154391c22d |
06-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move replacements for new/delete to separate file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154167 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_new_delete.cc
ib/asan/asan_rtl.cc
|
f8e6fee734cf5e3d061f576244b2704853148b04 |
06-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add flags: disable_core, abort_on_error and unmap_shadow_on_exit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154159 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
31429389e6e01567d9f03ac5b4057cc58b7fe3f2 |
05-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Revert the local Makefile change slipped into the prev commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154112 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
00152bf83e075df1e83bef82ae0a00bee179a956 |
05-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154111 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_win.cc
|
8a5d8c4d2826830b8a5bbce207145fc5436119a5 |
05-Apr-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Fix build by using inline assembly instead of an unavailable intrinsic function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154106 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_win.cc
|
f1e82b8fda94535e9a646fc5fe394d9883ccfa2c |
05-Apr-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make __asan::Deallocate immune to racy double-free (issue #57) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154097 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_win.cc
|
f03d8afc8b8dd072c4e2884a7475ee28ac5f3f41 |
05-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Introduce the use_sigaltstack flag (off by default), which enables using alternate per-thread stacks for signal handling. This allows to print more verbose error reports for stack overflows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154092 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_win.cc
|
adf331e82ff0f02f68eb3aabd94f9bbd46f94dd0 |
05-Apr-2012 |
Alexander Potapenko <glider@google.com> |
Allow calling GetCurrentTidOrMinusOne() before AsanThreadRegistry was initialized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154091 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
d51e0a05b4aefc85c356c9bddd8a24efc77721d9 |
05-Apr-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Initial, very rough cut at a new CMake build system for compiler-rt. Some high-level notes: 1) An explicit goal is to support building compiler-rt as a subproject build, checked out into the projects/compiler-rt directory. There are many other possible ways of building the code here, but this is optimized for development on LLVM/Clang/compiler-rt, and incremental trial and testing of the toolchain. 2) The current support is targeted at Linux. I would love to see this generalized to other platforms, but for the sake of simplicity in testing, I'm focusing here first. Much of this patch was paired with Manuel, and I credit him with the majority of the work here. Some important caveats that I'll be working on in subsequent patches: 1) This uses the host compiler rather than using the just-built-clang. 2) Currently only x86 is supported. 3) Currently, none of the tests are built or run. 4) Uses CMake's builtin globbing which doesn't update correctly. 5) This is still turned off from LLVM's CMake build until these issues are addressed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154060 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/asan/CMakeLists.txt
|
062ed090ed6416fe639a2dcb2d51fbbeb2f1b579 |
05-Apr-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Remove the old, and non-functional CMake build system from CompilerRT. I cannot build any part of this successfully on either Linux or Darwin, and the replacement is worlds simpler by requiring that this be built as a subproject of LLVM. If this breaks you for any reason, please let me know, and let me know what your use case is. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154059 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/CMakeLists.txt
MakeLists.txt
make/ConfigureChecks.cmake
make/Modules/DefineCompilerFlags.cmake
make/Modules/MacroAddCheckTest.cmake
make/Modules/MacroEnsureOutOfSourceBuild.cmake
make/config.h.cmake
ib/CMakeLists.txt
ib/arm/CMakeLists.txt
ib/i386/CMakeLists.txt
ib/ppc/CMakeLists.txt
ib/x86_64/CMakeLists.txt
est/CMakeLists.txt
est/Unit/ppc/CMakeLists.txt
est/timing/CMakeLists.txt
|
d01c51d33a5b4c52160c0a6cc18f7739a0a137d3 |
04-Apr-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use correct C-version of strchr on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154006 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
e48a197f5e2c72c350de60486fc6ef9c5ba3c681 |
29-Mar-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Simplify asan build rules and add output tests. Change-Id: I66e6b2e4ef4feaa393118e7014dc423f1972d5a4
ib/asan/Android.mk
|
fa3eee4101f39661b4a88ac0bc7f184ca8c1ecb1 |
30-Mar-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix the build on 32 bit hosts. - Add memcpy and memcmp to the stub headers. - __uint128_t is not available on 32 bit platforms. It's also unused so just comment it out for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153779 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/darwin/usr/include/string.h
DKs/linux/usr/include/string.h
ib/atomic.c
|
8c9ccc655405dd8a41264fe7eb5f902700077d1a |
30-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Make sure NSObjects are allocated in a way that is visible to ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153762 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test.h
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_test.cc
|
2aff73868669a46a84ea617801beea47dda0b581 |
30-Mar-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Initial commit of support functions for atomic operations. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153735 91177308-0d34-0410-b5e6-96231b3b80d8
ib/atomic.c
|
ebb9702cff96192c6a6ea963037929ca7ed60eae |
29-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Add internal_memset and replace the uses of REAL(memset) with it where the performance allows. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153641 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_mac.cc
ib/asan/asan_malloc_mac.cc
|
847f932ab0405757946433b81d3b2952b306b0bc |
29-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] interceptors for atoi/atol/atoll git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153637 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
552c6702493cfcab356d3aa94becf50ff019838b |
28-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153601 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_racy_double_free_test.cc
|
44830c2f85f417bd486b49a53d97c640dd75728e |
28-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add racy double-free test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153586 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_racy_double_free_test.cc
|
108a237510099cebb1522262fe1fde57fc5b8f90 |
27-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Log the allocator messages at a higher verbosity level. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153514 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
5a2e360afcbfa45deafedbfb5299653709cd5d3c |
27-Mar-2012 |
Stephen Hines <srhines@google.com> |
Merge "Re-enable build of compiler-rt/ASan."
|
8f6a77f3f59ebc5f40f235e51836f468f30b9110 |
26-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add interceptor for strtol git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153444 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
ef89d1f93e12ad48055c3ff72bca1ffee1edac87 |
26-Mar-2012 |
Stephen Hines <srhines@google.com> |
Re-enable build of compiler-rt/ASan. Change-Id: Ica9c91b35c46813fff62ca289c6645393800786b
ndroid.mk
|
f4d78cf81a8c870a7490715eb0881dc58a9e43a1 |
26-Mar-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Avoid including link.h. It's not available on Android. We only use this header to find out if _DYNAMIC is present; declaring it "extern void*" does the trick. This is a cherry-pick of upstream r153431. Change-Id: I7feffaf36dc97c3d1e8412399c83d1538e5c9c44
ib/asan/asan_linux.cc
|
aa33a50c9d0f3e3f22c8b21fa7309ec91f9d939a |
26-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Avoid including link.h. It's not available on Android. We only use this header to find out if _DYNAMIC is present; declaring it "extern void*" does the trick. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153431 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
34a3202a2c22816a6da66959e266a2d078ded37b |
26-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use macro to define if we should intercept signal/sigaction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153430 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
|
670439cf36c7335add97aa4de65a397cce9ba849 |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] revert r153378 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153379 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
4f245442bd9b818cb4c1f5c0d3bcc9fdf1e82f10 |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] simplify ASAN_INTERCEPT_* definitions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153378 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
81a7a4ab53c94e76c3b131d6f0ed82894640900b |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use ASAN_INTERCEPT_STRNLEN instead of defined(__APPLE__) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153377 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
84ba324b94d22a69acc823e845f9718fd2984e44 |
24-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] add interceptor for strtoll git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153376 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
20b83c8217d7b5c244be32e726c5a25a56508609 |
23-Mar-2012 |
Stephen Hines <srhines@google.com> |
Revert "Revert "Fix build break."" This reverts commit 3dc8c7c9f4496e061d7f0d5ac57602612c3e7572
ndroid.mk
|
938106753364d96cedc11cbdc35a15030fb44d0c |
23-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/tests] Make 'noinline' and a bunch of other stuff portable git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153333 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_utils.h
|
f6607d097833cd53460735c1a5a2fd52b97613eb |
23-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] replace '#if ... or ...' with '#if ... || ...' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153332 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
1bbe2561a695af15f116e5ffec7e5f9cf7c54811 |
23-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Add a few more malloc-related interceptors for Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153327 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_win.cc
|
3dc8c7c9f4496e061d7f0d5ac57602612c3e7572 |
23-Mar-2012 |
Stephen Hines <srhines@google.com> |
Revert "Fix build break." This reverts commit 680be1d7d9a634c06197226c22b9713aa4a1aa8f.
ndroid.mk
|
680be1d7d9a634c06197226c22b9713aa4a1aa8f |
22-Mar-2012 |
Stephen Hines <srhines@google.com> |
Fix build break. Change-Id: I9a5f6d7febe8cf7b0c449b5ac8fa7458092bf11e
ndroid.mk
|
d46c02a714abc1be3380619d946fc0f545d9e8a7 |
22-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Handle two-byte short jumps in the relocated code. After the instructions are moved to the branch island, fixupInstructions() expands every 2-byte ja/je instruction with a 1-byte offset into a 6-byte ja/je with 32-bit offset. The offset is fixed to point to the original function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153249 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/interception/mach_override/mach_override.c
|
9b90e95d4dc59c6d97ed73b2470f5e21e7b346d5 |
21-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] extend the test for long double bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153190 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
a4898423f0f69d9f7f96631e6384695b0c54d9a9 |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] one more try to remove pthread.h from asan_interceptors.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153188 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
56e25249493ff0eeb20d5ab9b2ffe635a7b63ac5 |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] add missing declarations from string.h and remove this header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153187 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
4e7abdcc8ed92a56561ed34f36295c6d01204e5d |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] use extern declaraions of libc functions on Win and on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153186 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
73fe35fa6b4c437c9a723eb7bbad4863c7edbe1e |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: remove signal.h system header from interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153183 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
a28aa80ad371d5ab8d7ddd244ad1d695ded29a7e |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: substitute extern decls with system header in asan_mac.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153182 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
beba6448539095b67cab266d09cd7b7d313b8c3d |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan] merge mac-specific interceptors into one function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153180 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_mac.cc
|
5cf832dc0a6566ae4bb8d48b1f41da623d2c2c1a |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: remove asan_mac.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153179 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
64ce2db7c838cd95315f7a4428e8a628eaa3e2fc |
21-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[asan]: start removing os-specific asan_mac.h - move inclusion of mac system header to asan_mac.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153178 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
739eb7984139d457216623347ae3b7a706c0aadf |
21-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Support for %z to Printf() At the moment, asan internal Printf() uses %l modifier for printing values of size_t and related types. This works, because we control both the implementation of Printf and all its uses, but can be a little misleading. This change adds support for %z to Printf(). All callers that print sizes and pointers as integers are switched to %zu / %zx. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153177 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stats.cc
ib/asan/asan_thread.cc
|
2962f26071ebef1d5fec52b5569e5ae7aae45c9b |
21-Mar-2012 |
Alexander Potapenko <glider@google.com> |
s/Printf/Report for libc interceptors (need this to debug the potential double interception) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153175 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
dc3865b01cd56b703b77f58d5acff6529491eaf3 |
13-Mar-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Build rules + Android-specific ASan bits. Change-Id: Idb4daff9fd674ebdbb97ba38e6100686416389ce
ndroid.mk
ib/asan/Android.mk
ib/asan/asan_android_stub.cc
ib/asan/asanwrapper.cc
ib/asan/scripts/symbolize.py
|
6ebea222e306fbe53aab78d7781e5ac19be46b5d |
20-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] get rid of setjmp.h header in interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153085 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.h
|
38dd4ed885e714c376466f6fe0d69f5f22d37014 |
20-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan]: remove GetMacosVersion from asan_mac.h header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153084 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
95d6b33a6a533f628872bd942339ff42f9ff1a6b |
20-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan]: re-enable noreturn attribute on posix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153082 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
cadaab1344c08b69fb3649bfb8a043bed5249145 |
16-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] disable GetOwnershipStressTest on non-linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152953 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_interface_test.cc
|
fdbdab5ff8de4c23b58bb411ea2358a78e2d9b2f |
16-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] added an assert in InitializeAsanInterceptors (it should be run just once) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152945 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
feb479345ccc947e3e7429b949caa7f89c84a85e |
16-Mar-2012 |
Alexander Potapenko <glider@google.com> |
[ASan] Print the parsed ASAN_OPTIONS for verbosity>0. Move the flags around slightly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152929 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
650a1e163ef05b89f40143eb8b9af4f64ad0b68d |
15-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] one more -Wnull-conversion fix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152773 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
9f311bb0919d86ab3df2810dc0b81b70a87677e3 |
15-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix unwinding inside libc intercepors (asan issue #46) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152768 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.h
ib/asan/output_tests/memcmp_test.cc
|
8599762021935ccfce4db9b054f092af8ef001ab |
15-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] performance optimization: make sure the check for poisoned shadow inside inteceptors is inlined git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152767 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mapping.h
ib/asan/asan_poisoning.cc
|
f0977db20608fa61fe6dd14d96cdd94c35c85b4e |
14-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix -Wnull-conversion warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152747 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
469a1ab32f53b8fd7cde76211565ce577dfb8f14 |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Undo NORETURN on POSIX as it's not clear how to do this cleanly yet git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152631 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
b55c88d6d21c862261f267c5199e3aacc0cd30eb |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix build error on Linux; screen-reviewed by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152629 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
|
23bd2bb37cbc4a2736be817d746752a03cee2d5f |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Eliminate a couple of FIXMEs, add NORETURN to CheckFailed/UNIMPLEMENTED git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152628 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_win.cc
|
99a40fbdd68f2576c6d5a08fea73f5708c4b7792 |
13-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Fix wrong memmove,memcpy,memset interceptor definitons git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152622 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
9bdf0651a2874ea5d57092cd06ad30bc7a39ce86 |
13-Mar-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix a couple of typos git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152617 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
2ac52fd9b9dfcc1bd4c3f64cfdfd715d6eae4b38 |
13-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] output test for memcmp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152594 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/memcmp_test.cc
|
2716a61d085a8fdf13a099822720e320414cc4dc |
12-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Add back the support for /MT; intercept statically-linked functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152557 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_win.cc
ib/asan/interception/interception.h
ib/asan/interception/interception_win.cc
ib/asan/interception/interception_win.h
|
27a7800419497f6248e81b2aa35f96a21d78c9a0 |
11-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Use WriteFile instead of fwrite in AsanWrite git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152540 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_win.cc
|
25c7178bf96d2316a3d9424b118d04bc51be1a9b |
10-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use O(log(N)) algorithm instead of O(N) in __asan_get_ownership git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152467 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_win.cc
ib/asan/tests/asan_interface_test.cc
|
d364f87f81fda55d68a9e968bd314541c4272cde |
09-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a (disabled) stress test for __asan_get_ownership git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152362 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_interface_test.cc
|
031afa326382eab0b4a2ec4ce47c725a00e2fbce |
08-Mar-2012 |
Stephen Hines <srhines@google.com> |
Add README.android to compiler-rt project. Change-Id: I466cc3d89cb800ddcb216c0eb5e1f16aefcf736f
EADME.android
|
40928f1ec8a8f43464a83b416f75fbe89f21f753 |
08-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix off-by-one error in stack unwinder (asan issue #44; reproduced thanks to 'csmith' fuzzer) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152347 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_stack.cc
|
59614b6f5f88e59fce9940eaa97391bc265d4383 |
08-Mar-2012 |
Stephen Hines <srhines@google.com> |
Merge branch 'upstream' into merge-20120308
|
50f9b8f8d1d9ac33d4bfca9fb2315f1265d957d3 |
08-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't use dl_iterate_phdr on linux, go back to using /proc/self/maps. Hopefully fixes the problem reported by our mozilla friends. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152341 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_linux.cc
ib/asan/asan_procmaps.h
|
7c044cc362b6590485a11d3b0351e09f4e123c85 |
08-Mar-2012 |
Anatol Pomazau <anatol@google.com> |
Initial empty repository
|
0cbaf7b22c95c9ef4384ce9f58528c90312ed8ec |
07-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix lint warning git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152226 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_win.cc
|
cf13eb28b24109c0523275a62973412b702cbb43 |
07-Mar-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan/Win] Intercept _msize, required for running SQLite git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152224 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_win.cc
|
dadc45d92ea166174b9b119f7fedc25fd3b538d7 |
06-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Force __asan_handle_no_return into the binary built with ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152117 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
eeb719154538f38ffd54d8d3bfd8e113b97fe6a1 |
06-Mar-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Make sure to properly ifdef out an unused function on OSX < 10.6. PR12136. Patch from Jeremy Huddleston. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152085 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
99d4932b06dfe16e6bb76c6808d359fcf87fbaae |
05-Mar-2012 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Fix a comment. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152058 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
0e1d0f2dd3349fda967bd5ae098332301d8b70c5 |
05-Mar-2012 |
Daniel Dunbar <daniel@zuster.org> |
make/clang_darwin: Tweak CheckArches function to force the integrated-as and use the stub SDK to try and ensure we always pick up the right archs when they should be able to be used. - Also, warn when we drop an architecture. This is a reapplication of r150232 that should stick now that we have the integrated assembler on for ARM. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152057 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
5b6eab9dc5572a66e3af54ab087255ffa4dd5185 |
02-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add a negative test for memcpy of long double. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151888 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
2f3f962de9aeaef47d41bf3d6009bbd0280e2620 |
01-Mar-2012 |
Alexander Potapenko <glider@google.com> |
Force __asan_set_death_callback into the resulting binary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151808 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
d9a88ccecbd7af0d11dae4d23d85706479470fdf |
29-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Replace CRT .dll malloc with our implementation at asan_init() time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151715 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_win.cc
|
3fe913558354f76707e2c5584559521399854b79 |
27-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Introduce __asan_set_error_report_callback() to allow the client program post-process the error reports. If the callback is set, Report() and Printf() print the reports into a buffer (together with stderr), which is then passed to the client. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151528 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_interface.h
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/tests/asan_interface_test.cc
|
8ae44ac678644265ba82a1b5696a402c9301a85c |
27-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Replace some #ifdef(s) with plain if(s). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151526 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/tests/asan_test.cc
|
e04606631d3cf6e5f9e695a8af4d89c407aea33a |
27-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: add some checks to AsanChunkFifoList::PushList git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151521 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
34b18e17d0171813a8db299ba168aa3b70de4576 |
24-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't compile gtest with asan when building asan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151391 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
600972e3427173cc8904d741decd1af0ed5de9fd |
24-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Intercept CreateThread on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151366 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_win.cc
ib/asan/interception/interception.h
|
bfc694d2a8531444c7c44e5785c0bb708601eb54 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: quick fix - undef INT32_MIN etc to avoid macro redefinition git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151165 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
b823e3c5f7891dbbde1eb288237f5f3d5ed64d85 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: get rid of stdlib.h and add (smaller) stddef.h instead git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151162 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
07bb9f1e3600195119aec1aae1aa48a6ed2f5feb |
22-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Intercept functions on Windows - first version git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151161 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_malloc_win.cc
ib/asan/asan_win.cc
ib/asan/interception/interception.h
ib/asan/interception/interception_win.cc
ib/asan/interception/interception_win.h
|
e4092f6780e107797bc6f2c77219a7256f7b04f3 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: get rid of limits.h, use constants for fixed size integral types instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151159 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
|
b8ef925563f8dde5be837c4b0569082867c5f14c |
22-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Remove mentions of pthread*_t from interceptors. Some platforms do not define pthread_t in stdlib.h. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151158 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
c27734d7f82707ce33da39fec3cdb47f5f363e28 |
22-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix Makefile.old - gtest should depend on libasan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151157 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
39c22ee8c3d2d052148a40fd00f1adbb17aabe4d |
22-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix style + suppress 'long' lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151149 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
32ea9f736beca85d653d8b88cc79e29968edbeac |
22-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Update source code links in LICENSE.TXT. mach_override has been moved to a different path. sysinfo is gone. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151148 91177308-0d34-0410-b5e6-96231b3b80d8
ICENSE.TXT
|
99d17ebc36fe74326493bdd3dab4082ffc1dc96e |
22-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Move the contents of AsanProcMaps::Dump() into AsanDumpProcessMaps() for Posix systems. Define AsanDumpProcessMaps as unimplemented on Windows. This should fix the Windows build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151147 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_procmaps.h
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
e6b9ebba53038ac4d1e2377ebdd15359c28368cb |
22-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Fix a wrong filename mentioned in a comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151145 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/interception/interception_linux.h
|
ddaf73924385de46aa015059b876676ced63826f |
22-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Dump the process memory map if any of the mappings interleaves with the shadow. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151141 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
4b1506d3baf9071973a8fa094c8c33800493ced9 |
22-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Add AsanProcMaps::Dump() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151139 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_procmaps.h
|
38ed73630902782ba3743529d0cce2ba3014c53e |
21-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Add __asan_init to the list of C dynamic initializers to support /MD on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151059 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
de81a79f485454e55c3f168af737123dbc20d0ce |
21-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Fix the lib32 and lib64 targets. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151057 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
b39f0ceeb872024b0c64f9c0387b368ec829dc75 |
21-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151051 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
60490e08cce301b2dd7b72fcae8e20ef58c89a9b |
21-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Check that the FakeStack size is non-zero before looking into it. Sometimes DescribeStackAddress is called before another thread's FakeStack is initialized, which could previously cause a check to fire. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151046 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.h
ib/asan/asan_thread_registry.cc
|
ebdbf7bbbbfdd881703a0d0d69f8ce2461a3d1c1 |
21-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Don't include GrandCentralDispatch headers in asan headers on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151044 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.h
|
a12cd6e506e1941ff9fd55154d0d15d5b4d1cce8 |
21-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: don't use /tmp for temporary file in output tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@151042 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/test_output.sh
|
8898102a6b1479a9af65857ccbbc1c329a4d9187 |
17-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: use custom strtol/atoll functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150812 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_rtl.cc
|
6a3e6fd72e1e2322d28ced9d9c2adbd720e7fabf |
17-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix lint git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150802 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_rtl.cc
ib/asan/tests/asan_test.cc
|
da13ba833b046553f50b54538e4828287ddbf5c0 |
16-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: revert r150683 - we can't get rid of headers that easily git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150699 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
|
788e1d704436065beb514fdde86070f61d0394ed |
16-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Allocator tweaks for low memory systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150689 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_rtl.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test_config.h
|
5c7e5001c6dd6d8add659c9eae41e4c71d6f11ee |
16-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: don't include pthread.h and signal.h in interceptors on Mac git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150683 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
|
5e4e91cf211c76ea7103bd3718285443c5c3cd78 |
16-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't do AsanDie twice git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150641 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
cf1fba49f0d97a5b781c0bc0f9eb51c9174f57fb |
15-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: don't include pthread.h in asan_interceptors.cc on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150573 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
afaf71f0b2c6455614e2ab8f208312dea0871fe9 |
15-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: simplify IntervalsAreSeparate function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150569 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
5362717f2c121384778429b5cf34712925ad4a9b |
14-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[ASan] Define an internal implementation of strchr to make stack OOB tests pass on Windows git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150499 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_rtl.cc
|
c85f91f745884e8f9bc243b506e89a4e50260e11 |
14-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add lots of missing visibility attributes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150479 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
|
e1fe0fd868886b53cb8d5d957afebbdd47688df7 |
13-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement __asan_set_death_callback git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150414 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
ib/asan/tests/asan_interface_test.cc
|
895b3872acb5bcccb1769ea69d37dd33c722f99d |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Fix compilation on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150400 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
92baa8c808d918bd8b4b00d330ebf925e0b694d4 |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Lint fix git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150399 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/interception/interception_linux.cc
|
f73a6a3f81573ba85a5e29955980818b18b0a58a |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Move the non-trivial implementation of AsanShadowRangeIsAvailable to asan_mac.cc to avoid crashes on Linux and Win. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150398 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
c50e83576323d93433086b4c751f1746597a4286 |
13-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Check whether the shadow memory range intersects with an existing mapping. This should help to detect problems with ASLR or linker tricks early. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150391 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
cf93383123f57a45473d1eee9339ded1667b1e5e |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: re-enable lint for output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150386 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/output_tests/global-overflow.cc
ib/asan/output_tests/large_func_test.cc
ib/asan/output_tests/null_deref.cc
ib/asan/output_tests/use-after-free.cc
|
cc5f4c67fd362f725b86267d72469f8a338ae54d |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix llvm headers in output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150385 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/dlclose-test-so.cc
ib/asan/output_tests/dlclose-test.cc
ib/asan/output_tests/shared-lib-test-so.cc
ib/asan/output_tests/shared-lib-test.cc
|
e204e1378a82d5bcbc941641cb638a198fc4646c |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: remove match_output.py, split expected output into OS-specific and OS-independent parts git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150384 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/clone_test.cc
ib/asan/output_tests/deep_tail_call.cc
ib/asan/output_tests/dlclose-test.cc
ib/asan/output_tests/global-overflow.cc
ib/asan/output_tests/heap-overflow.cc
ib/asan/output_tests/large_func_test.cc
ib/asan/output_tests/match_output.py
ib/asan/output_tests/null_deref.cc
ib/asan/output_tests/shared-lib-test.cc
ib/asan/output_tests/stack-overflow.cc
ib/asan/output_tests/stack-use-after-return.cc.disabled
ib/asan/output_tests/strncpy-overflow.cc
ib/asan/output_tests/test_output.sh
ib/asan/output_tests/use-after-free.cc
|
88e11b606013d2e6866e0d390f3a905c03e9716b |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add a missing include. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150382 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/interception/interception_linux.cc
|
7b7b55e99166511ce1e66bf6b79c46ae4aa60d17 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Add a missing return. It is technically reachable on Android, where pthread_exit is not marked noreturn. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150381 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
fad8a073a90bd518cc48e269edae7e68470624b7 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Convert templates for output tests to FileCheck format and move them inside sources git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150375 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/output_tests/clone_test.cc
ib/asan/output_tests/clone_test.tmpl
ib/asan/output_tests/deep_tail_call.cc
ib/asan/output_tests/deep_tail_call.tmpl
ib/asan/output_tests/dlclose-test.cc
ib/asan/output_tests/dlclose-test.tmpl
ib/asan/output_tests/global-overflow.cc
ib/asan/output_tests/global-overflow.tmpl
ib/asan/output_tests/heap-overflow.cc
ib/asan/output_tests/heap-overflow.tmpl
ib/asan/output_tests/heap-overflow.tmpl.Darwin
ib/asan/output_tests/large_func_test.cc
ib/asan/output_tests/large_func_test.tmpl
ib/asan/output_tests/null_deref.cc
ib/asan/output_tests/null_deref.tmpl
ib/asan/output_tests/null_deref.tmpl.Darwin
ib/asan/output_tests/shared-lib-test.cc
ib/asan/output_tests/shared-lib-test.tmpl
ib/asan/output_tests/stack-overflow.cc
ib/asan/output_tests/stack-overflow.tmpl
ib/asan/output_tests/stack-use-after-return.cc
ib/asan/output_tests/stack-use-after-return.cc.disabled
ib/asan/output_tests/stack-use-after-return.disabled
ib/asan/output_tests/strncpy-overflow.cc
ib/asan/output_tests/strncpy-overflow.tmpl
ib/asan/output_tests/strncpy-overflow.tmpl.Darwin
ib/asan/output_tests/test_output.sh
ib/asan/output_tests/use-after-free.cc
ib/asan/output_tests/use-after-free.tmpl
ib/asan/output_tests/use-after-free.tmpl.Darwin
|
4b0c5f240e71be4f375627e57d0f1b89600918a7 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Return type of index() is char*. This is important for Android, where we can't keep system headers from leaking into asan_interceptors.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150374 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
919c24787a655597bdcf367e26c9dd1504e9f463 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Disable signal&sigaction interceptors on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150373 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
5ffafd8c9eece8453ea1434bb698b0c691954067 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Default visibility for __asan_handle_no_return. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150372 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
7bce450c1695dbef28ab7ccc5b0127b11a8557c7 |
13-Feb-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix a crash in GetCurrent() of an undead thread. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150371 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread_registry.cc
|
b185687737fb687268cb1cd672c4e181907b68e1 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix path to FileCheck in makefiles git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150368 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/output_tests/test_output.sh
|
e3b8cdfe80489814260b884b0b9a86c823d39bd6 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: move output tests to a separate directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150367 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/output_tests/clone_test.cc
ib/asan/output_tests/clone_test.tmpl
ib/asan/output_tests/deep_tail_call.cc
ib/asan/output_tests/deep_tail_call.tmpl
ib/asan/output_tests/dlclose-test-so.cc
ib/asan/output_tests/dlclose-test.cc
ib/asan/output_tests/dlclose-test.tmpl
ib/asan/output_tests/global-overflow.cc
ib/asan/output_tests/global-overflow.tmpl
ib/asan/output_tests/heap-overflow.cc
ib/asan/output_tests/heap-overflow.tmpl
ib/asan/output_tests/heap-overflow.tmpl.Darwin
ib/asan/output_tests/large_func_test.cc
ib/asan/output_tests/large_func_test.tmpl
ib/asan/output_tests/match_output.py
ib/asan/output_tests/null_deref.cc
ib/asan/output_tests/null_deref.tmpl
ib/asan/output_tests/null_deref.tmpl.Darwin
ib/asan/output_tests/shared-lib-test-so.cc
ib/asan/output_tests/shared-lib-test.cc
ib/asan/output_tests/shared-lib-test.tmpl
ib/asan/output_tests/stack-overflow.cc
ib/asan/output_tests/stack-overflow.tmpl
ib/asan/output_tests/stack-use-after-return.cc
ib/asan/output_tests/stack-use-after-return.disabled
ib/asan/output_tests/strncpy-overflow.cc
ib/asan/output_tests/strncpy-overflow.tmpl
ib/asan/output_tests/strncpy-overflow.tmpl.Darwin
ib/asan/output_tests/test_output.sh
ib/asan/output_tests/use-after-free.c
ib/asan/output_tests/use-after-free.cc
ib/asan/output_tests/use-after-free.tmpl
ib/asan/output_tests/use-after-free.tmpl.Darwin
ib/asan/tests/clone_test.cc
ib/asan/tests/clone_test.tmpl
ib/asan/tests/deep_tail_call.cc
ib/asan/tests/deep_tail_call.tmpl
ib/asan/tests/dlclose-test-so.cc
ib/asan/tests/dlclose-test.cc
ib/asan/tests/dlclose-test.tmpl
ib/asan/tests/global-overflow.cc
ib/asan/tests/global-overflow.tmpl
ib/asan/tests/heap-overflow.cc
ib/asan/tests/heap-overflow.tmpl
ib/asan/tests/heap-overflow.tmpl.Darwin
ib/asan/tests/large_func_test.cc
ib/asan/tests/large_func_test.tmpl
ib/asan/tests/match_output.py
ib/asan/tests/null_deref.cc
ib/asan/tests/null_deref.tmpl
ib/asan/tests/null_deref.tmpl.Darwin
ib/asan/tests/shared-lib-test-so.cc
ib/asan/tests/shared-lib-test.cc
ib/asan/tests/shared-lib-test.tmpl
ib/asan/tests/stack-overflow.cc
ib/asan/tests/stack-overflow.tmpl
ib/asan/tests/stack-use-after-return.cc
ib/asan/tests/stack-use-after-return.disabled
ib/asan/tests/strncpy-overflow.cc
ib/asan/tests/strncpy-overflow.tmpl
ib/asan/tests/strncpy-overflow.tmpl.Darwin
ib/asan/tests/test_output.sh
ib/asan/tests/use-after-free.c
ib/asan/tests/use-after-free.cc
ib/asan/tests/use-after-free.tmpl
ib/asan/tests/use-after-free.tmpl.Darwin
|
3755a33a60265400e8fba9efa3a605acc3bdd6d8 |
13-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Use FileCheck instead of grep for pure C output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150366 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/test_output.sh
ib/asan/tests/use-after-free.c
|
36c24251224ec84baa660aec5795972593eb8b94 |
10-Feb-2012 |
Bob Wilson <bob.wilson@apple.com> |
Back out some changes that accidentally committed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150254 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/comparesf2.S
ib/arm/divdf3vfp.S
ib/arm/divmodsi4.S
ib/arm/divsf3vfp.S
ib/arm/divsi3.S
ib/arm/eqdf2vfp.S
ib/arm/udivmodsi4.S
ib/assembly.h
|
40d3a772e8adfb536e94dddab769777f792f6f42 |
10-Feb-2012 |
Bob Wilson <bob.wilson@apple.com> |
Revert r150232 since it breaks the build when there's no ARM assembler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150253 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/comparesf2.S
ib/arm/divdf3vfp.S
ib/arm/divmodsi4.S
ib/arm/divsf3vfp.S
ib/arm/divsi3.S
ib/arm/eqdf2vfp.S
ib/arm/udivmodsi4.S
ib/assembly.h
ake/platform/clang_darwin.mk
|
074049d24b51ea3a1f7cc45d127ff609d32b1356 |
10-Feb-2012 |
Daniel Dunbar <daniel@zuster.org> |
make/clang_darwin: Tweak CheckArches function to force the integrated-as and use the stub SDK to try and ensure we always pick up the right archs when they should be able to be used. - Also, warn when we drop an architecture. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150232 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
3e81fe43798c096d1d3565596f0717b9919de4fb |
09-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
[asan] The first version of the RTL for Windows, reviewed at http://codereview.appspot.com/5647052 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150185 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_win.cc
|
339632e5156814d147e0461427f1388053f9fdfd |
09-Feb-2012 |
Timur Iskhodzhanov <timurrrr@google.com> |
Test commit + fix an obvious typo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/interception/interception.h
|
5967c3de18a658e052c07a2af69f02823115655b |
09-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: move mach_override inside interception library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150171 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.mk
ib/asan/Makefile.old
ib/asan/interception/Makefile.mk
ib/asan/interception/interception_mac.cc
ib/asan/interception/mach_override/LICENSE.TXT
ib/asan/interception/mach_override/Makefile.mk
ib/asan/interception/mach_override/README.txt
ib/asan/interception/mach_override/mach_override.c
ib/asan/interception/mach_override/mach_override.h
ib/asan/mach_override/LICENSE.TXT
ib/asan/mach_override/Makefile.mk
ib/asan/mach_override/README.txt
ib/asan/mach_override/mach_override.c
ib/asan/mach_override/mach_override.h
|
f54b1f9b73a6855d77ee270c282bd61407fa73a0 |
08-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] unpoison the stack before every noreturn call. Fixes asan issue 37. rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150101 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interface.h
ib/asan/asan_rtl.cc
ib/asan/tests/clone_test.cc
ib/asan/tests/clone_test.tmpl
|
5b29018cf422e7711fb760b733c32127397a43fc |
08-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: start factoring out interception machinery git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150083 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.mk
ib/asan/Makefile.old
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_mac.cc
ib/asan/interception/Makefile.mk
ib/asan/interception/interception.h
ib/asan/interception/interception_linux.cc
ib/asan/interception/interception_linux.h
ib/asan/interception/interception_mac.cc
ib/asan/interception/interception_mac.h
|
71d3b398a39663c771918747762142215a1dc87d |
08-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Move the _ReturnAddress definition out of the __asan:: namespace Patch by Timur Iskhodzhanov (timurrrr@google.com) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150075 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
09672caefb5694f1981a1712fdefa44840a95e67 |
08-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: replace all "real_X" calls with "REAL(X)" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150073 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_interceptors.cc
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stats.cc
|
a0935fa0ef02e47408996c25dac00b5f8a6b1406 |
08-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Typo fix: s/SNPrint/SNPrintf git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150069 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
27f4932a8a0845303b33d69ddce096c445002e60 |
08-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] better warning messages for double-free bugs (provide allocation/deallocation stack traces) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150027 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/tests/asan_test.cc
|
1c83ae34f32737a203c66e9d9c419f821a0db02f |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] GET_CALLER_PC macro for Win. Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149994 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
cce2c67658e01dcbecd39e016c3994d3f97bcdb1 |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] print 'ALL TESTS PASSED' in makefile when running tests (convenience) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149990 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
160cc4aa34e2418ba91035bb49648e751476f0d9 |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't crash if /proc/self/maps has enormous size (linux) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149944 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
f58f998066db0231e521169d2f50af439ceecb49 |
07-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] make sure the AsanThread object is destroyed if pthread_exit is called git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149940 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
ib/asan/tests/asan_test.cc
|
5ea4a76f88675993cd0c1cf73b1b5924ae7f6599 |
06-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use raw syscalls for open/close on linux to avoid being intercepted git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149892 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
938b105aaa1ebb08b1ddacb2944b3caa3524a5a5 |
06-Feb-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] The first version of Windows malloc interceptors, patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149875 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_win.cc
|
c453bd5ba0faad8344cb94d627a6683a9ad14ca7 |
04-Feb-2012 |
Nick Kledzik <kledzik@apple.com> |
On Apple platforms, wire up compilerrt_abort() to log file and function info git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149723 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_util.c
|
1f4f7b5c2796c5e950457563e6221351791958e6 |
04-Feb-2012 |
Nick Kledzik <kledzik@apple.com> |
Remove __attribute__((weak)) on function prototype. It has a different meaning on prototypes then it does on definitions. It is not needed on the prototype and causes build failures for static codegen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149720 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_util.h
|
f927ddc82f6fa71adfbea9110ef4c08c21bd72b8 |
03-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: simplify RoundUpToPowerOfTwo/clz; add a couple of CHECKs for real_X calls. Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149687 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_poisoning.cc
|
adf2b036127d7e887392d9be5b02069b777ee280 |
03-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Replace __attribute__ with macro (for Win compatibility). Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149686 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_rtl.cc
|
f2598fc21bf651d23feab396a7581d48c01c3be5 |
02-Feb-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Add macro for definition/declaration of interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149602 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_linux.cc
|
573fb4b102dda9d231a8dbd0c01e67e84e9b0874 |
01-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Disable wrapping memcpy() on Mac OS Lion, where it actually falls back to memmove. In this case we still need to initialize real_memcpy, so we set it to real_memmove We check for MACOS_VERSION_SNOW_LEOPARD, because currently only Snow Leopard and Lion are supported. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149492 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
0503ce8824393174c17acb26d62551f18a0fd82a |
01-Feb-2012 |
Alexander Potapenko <glider@google.com> |
Disables testing memcpy() on Mac OS 10.7, where memcpy() in fact aliases memmove() and thus calling it with overlapping parameters is not an error. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149491 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
669f543c1400f7a1b9a48313d2f95e54f750bd4b |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the wrong __WORDSIZE definition on Win x64, add ASAN_INTERFACE_FUNCTION_ATTRIBUTE. Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149395 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interface.h
ib/asan/asan_internal.h
|
83c19fcacb6f2a3304ddb64b7e928a2e9c98a8d0 |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove dead code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149392 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
|
59dc578df0de177b44c8c78f69d73735e38e5c14 |
31-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Implement GetMacosVersion() to obtain the OS X version at runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149382 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
2a03ffece082439ea63331657c55248cbd0d15cf |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] tests should not require the asan-rt to be built with debug info git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149330 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/heap-overflow.tmpl.Darwin
ib/asan/tests/strncpy-overflow.tmpl.Darwin
ib/asan/tests/use-after-free.tmpl.Darwin
|
cb00d134727c322e2f26298912f77e10be46aefe |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] new run-time flag: sleep_before_dying (asan Issue #31) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149306 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/tests/test_output.sh
|
c63a6c426842e0e9a24bd0ca954f7acb199fb537 |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] re-enable the test for ObjC initialization bug git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149302 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test.mm
|
d271c926e0fa1b8fa9e4ca13f49f7d3ee07a27bc |
31-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix issue 35: don't let the optimizer to optimize the test code away. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149296 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_test.cc
|
9b993e8cd0f8964782ee93524603d0c53adc2249 |
30-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] ifdef/include cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149281 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_procmaps.h
|
3be19f4fa3519e358fd41a5feda82c39a22ef107 |
30-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] add a test for __attribute__ no_address_safety_analysis git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149278 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
858220837f85db7eb5eedd5ea68603803b5eb3c9 |
30-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] minor ifdef cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149274 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
|
3389b8ea81f51a28365a421b2646d594bac490f5 |
30-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: Enforce default visibility for all libc interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149247 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_malloc_linux.cc
|
c9c9f3e6bcc9858e02dd8caf7cde2ee1675bac13 |
30-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Add a mask for "cmpb $imm, (%rdi)" on x86_64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149245 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/mach_override/mach_override.c
|
eb2ecd0b49dcc15e4ffbf241e6fdc2e76e055efd |
30-Jan-2012 |
Anton Korobeynikov <asl@math.spbu.ru> |
Proper divmod implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149242 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/aeabi_idivmod.S
ib/arm/aeabi_ldivmod.S
ib/arm/aeabi_uidivmod.S
ib/arm/aeabi_uldivmod.S
ib/divmoddi4.c
ib/udivmoddi4.c
|
1110475a1b56528bbb53829a86ee2f4292547ec4 |
30-Jan-2012 |
Anton Korobeynikov <asl@math.spbu.ru> |
Provide aeabi_mem* functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149241 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/aeabi_memcmp.S
ib/arm/aeabi_memcpy.S
ib/arm/aeabi_memmove.S
ib/arm/aeabi_memset.S
|
6f0452914ec76c786eb865983793bc03b00fc7b6 |
27-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows. Patch by Timur Iskhodzhanov (timurrrr@google.com) To test: $ cl /c *.c* in the asan directory. The code fails to link if you omit the "/c" part but that's one of the next steps, as well as a few TODO's I've put into the Windows-specific code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149130 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
|
c8365231004cb1d956aba4164c89ea1398eadd6b |
27-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Make compiler-rt/trunk/lib/asan compileable with g++. Patch by Timur Iskhodzhanov (timurrrr@google.com) The double-extern thing is http://llvm.org/bugs/show_bug.cgi?id=11869 And the #include <string[s].h> are only needed on Mac (see comments in the original code) and also including them might make strchr/index conflict with the g++ system headers (which don't follow the man pages, ouch!) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149129 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
|
0dfa6752c712c6467d46b21a0ca3431be9f47961 |
26-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Darwin-specific templates for the output tests. These should fix the output tests on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149068 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/heap-overflow.tmpl.Darwin
ib/asan/tests/null_deref.tmpl.Darwin
ib/asan/tests/strncpy-overflow.tmpl.Darwin
ib/asan/tests/use-after-free.tmpl.Darwin
|
00424110b4ae3d29cef6e635de9b32232b8d7270 |
26-Jan-2012 |
Alexander Potapenko <glider@google.com> |
More accurate atos execution which depends on the file type (EXECUTE, DYLIB) of the binary. More Linux-like output on Mac (to match more output tests). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149064 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
|
ddf50a3e7a28c2ab12243e72b35ccf8c04f15b49 |
26-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Fix a bug in AsanProcMaps on Mac: on 64 bits the program was trying to read twice as many segment load commands as the binary actually contained. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149063 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_procmaps.h
|
f4cea8f6f935c874b97669c7ca9819a224b78b48 |
24-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Tune asan_symbolize.py to symbolize 64-bit binaries correctly. Add the DEBUG flag to test_output.sh git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148798 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/scripts/asan_symbolize.py
ib/asan/tests/test_output.sh
|
f3810ea150e140f49bd62123885df922fe3c3b81 |
23-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use internal_strcmp before asan_init is done. *may* fix asan issue #30 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148726 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
|
b19cfb271ea10ae2fac68a9b74256ad746ca5e51 |
23-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] test that -fno-optimize-sibling-calls helps to get sane stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148714 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/deep_tail_call.cc
ib/asan/tests/deep_tail_call.tmpl
ib/asan/tests/test_output.sh
|
431e51782d62d1257348e41e24da6b544fe70507 |
23-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Wrap CFStringCreateCopy to prevent copying constant CF strings. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=10 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148696 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/tests/asan_test.cc
|
fb506cb56c7f47a9f0aa515d6f5ca3ed6533422f |
23-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Add a test for CFStringCreateCopy. Normally this function should not create copies of constant strings, but it does when the default CFAllocator is replaced (e.g. under AddressSanitizer) This test is related to http://code.google.com/p/address-sanitizer/issues/detail?id=10 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148695 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
4242e6aff9848be2af0ff70f15e94c74b27cd001 |
19-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Make the Android TSD workaround more reliable. By scanning the thread list backwards. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148476 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread_registry.cc
|
8de79a06f19a15466af338dbd744059e6edd76d6 |
19-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Workaround the self-cleaning TSD on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148475 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread_registry.cc
|
01ef925fcd338958c67eed9c444f9c0c98d7bb42 |
19-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Remove a debugging Report() call. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148474 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_procmaps.h
|
3feef82eab6d5f0ace384a670bfb5988e0c165a0 |
19-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Minor fixes of the AsanProcMaps code on Mac: -- make the load command scan linear (instead of quadratic) -- do not create a nested AsanProcMaps instance for each address lookup -- more comments git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148472 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_procmaps.h
|
9cfa194cc62026fc7c6e82f7303eee8ad4d10cf4 |
19-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
EHABI-based stack trace on ARM. The change removes the unused FLAG_fast_unwind, and forces EHABI-based unwind on ARM, and fast (FP-based) unwind everywhere else. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148468 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
|
ca2278dacaf75a6c45473d962a331181883df02c |
18-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: return false instead of true for __asan_get_ownership(NULL) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148394 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interface.h
ib/asan/tests/asan_interface_test.cc
|
67de77302cb8c03270eda45331c971790ff1cf31 |
18-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Follow-up for r148386: deleted compiler-rt/lib/asan/sysinfo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148387 91177308-0d34-0410-b5e6-96231b3b80d8
|
1d483d4e933705971ff6285522fb5aecfb8a2e20 |
18-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Delete sysinfo/* and all references to it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148386 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.mk
ib/asan/Makefile.old
ib/asan/README.txt
ib/asan/asan_internal.h
ib/asan/asan_stack.cc
ib/asan/sysinfo/LICENSE.TXT
ib/asan/sysinfo/Makefile.mk
ib/asan/sysinfo/basictypes.h
ib/asan/sysinfo/sysinfo.cc
ib/asan/sysinfo/sysinfo.h
|
8a34d384255f9bf4c2a9b03a4df81b9af57124d8 |
18-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Implement AsanProcMaps for Mac OS. The code from sysinfo/ is not needed anymore and should be cleaned up. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148385 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_procmaps.h
|
c655cfa8dc0fdf5b521e565f6cbdbf7981fba1b2 |
17-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] workaround for bug http://llvm.org/bugs/show_bug.cgi?id=11763. Do not bark on memcpy(a, a, size). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148318 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
454a064850f5a9133af50a3d5f79f74adfb3d0d0 |
17-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix ReadFileToBuffer to correctly handle files from /proc/ (asan issue 27) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148311 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
6677def188c17ac63866146d72c4b1b652649fc6 |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
Revert commit 148304 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148305 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interface.h
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_test.cc
|
c7cdcdacd485056c12efc368f7ea2a6db64831e8 |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: from this patch, ASan allocator returns false for __asan_get_ownership(NULL) and produce error reports for malloc_usable_size(NULL) and __asan_get_allocated_size(NULL) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148304 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interface.h
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_test.cc
|
1346ced2eb8d10305e8d98496d9006cfbbad1548 |
17-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Define the bounds of the branch allocator memory space for 32-bit apps. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148303 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
4fd95f141f78906570c15a8a3b4cf0a7b50a201d |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: add support for malloc_usable_size() function git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148287 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_linux.cc
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_test.cc
|
55cdfc6c5af92560bc0623b5a0d70af71511c3c8 |
17-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: create AsanThreadSummary together with AsanThread (in parent thread) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148286 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_stack.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
92bda94d7bd042ee2f3e1a9ccc0e0fec7797a200 |
16-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Implement GetObjectNameAndOffset on ARM. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148236 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
|
4dd8ba8238b1b698953628affe6e5b2edf3b3e3f |
16-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
AddressSanitizer: fix recently introduced lint errors and broken test on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148235 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/tests/asan_test.cc
|
7274eafceb832e1088f30b71652992787ba8c456 |
16-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Disable posix_memalign test on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148234 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
3281209790b5e543c79acb2f5008d1df77fb76d9 |
13-Jan-2012 |
Alexander Potapenko <glider@google.com> |
This patch adds two methods, __asan_allocate_island and __asan_deallocate_island and switches our interceptors to using them instead of the default vm_allocate-based approach used by mach_override_ptr. To simplify the code, a fixed memory mapping is used for the allocation pool -- note that we can't mmap an arbitrary chunk of memory, because the shadow memory hasn't been mapped yet (for the reasons discussed in http://code.google.com/p/address-sanitizer/issues/detail?id=24, we cannot map the shadow earlier) The patch drops the program startup time from several second to half a second, which speeds up the execution of ASan tests noticeably. Because of the virtual memory size occupied by the programs it's hard to speed up the shutdown time, which would've also helped the tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148116 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
|
d5be6c1fc58f87910f05cec63bfe1bdc4ee8e61a |
13-Jan-2012 |
Alexander Potapenko <glider@google.com> |
Add __asan_mach_override_ptr_custom, which allows to inject a custom memory allocator into mach_override_ptr(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148115 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/mach_override/mach_override.c
ib/asan/mach_override/mach_override.h
|
1e316d7f488a75312539629e9d937e156280eeb6 |
13-Jan-2012 |
Alexander Potapenko <glider@google.com> |
This patch moves the code reading /proc/self/environ into AsanGetEnv in asan_linux.cc, because /proc is unavailable on Mac. Instead the Mac version of AsanGetEnv iterates over the array of environment variables obtained from _NSGetEnviron() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148114 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
|
7e8904f4b2b6b084ea2b4203d62554b42c068296 |
12-Jan-2012 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add some basic mingw support. Patch by Ruben Van Boxem! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148048 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_endianness.h
est/Unit/clear_cache_test.c
est/Unit/enable_execute_stack_test.c
|
8bcc6b93abafee3cb15e20fda0f1e1d4967bb80e |
11-Jan-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Call asan_init from .preinit_array. Protected by an #ifdef, disabled by default. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147932 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
a31df5ca61f10154c809d4aa77978628c0c74f76 |
11-Jan-2012 |
Alexey Samsonov <samsonov@google.com> |
Test commit. Minor cleanup in AsanThread git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147930 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
|
dde7c33df06a9a0a8056f2357d764a10512206ee |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove OS-dependent headers from asan_internal.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147919 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
|
d47189c1b63a4de755d7ec071f8d56c8d01cc667 |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove OS-dependent includes from asan_interceptors.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147916 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_rtl.cc
|
cc4e6862c6a8f8f3ead96bd32b815184a36faded |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move TSD code into asan_posix.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147913 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_posix.cc
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
af3441580555ceed092170232cd5f2cc180f19f4 |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of the scary TSD destructor code. Now, we store the leaky AsanThreadSummary in TSD and never remove it from there. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147910 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_mac.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
|
2fc648c5d1775f13844d4459347e2b7328411e85 |
11-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] hopefully fix the build on MacOS 10.6 (the code did work on 10.7, where I tested it) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147896 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
d55f5f8c413622db4bd28b5cca9bfeb4d61564e0 |
10-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move OS-dependent code away from asan_lock.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147878 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_linux.cc
ib/asan/asan_lock.h
ib/asan/asan_mac.cc
ib/asan/asan_thread_registry.cc
|
0ecf5eb729dd81a43f8585cb438d3cb2a35899ed |
10-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't include unistd.h in the headers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147811 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
|
35dd9d8f54f15f16be6c224e303bbf75d667f248 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] temporary reinstate string.h/strings.h. Removal of those caused a Mac build failulre which I failed to observe before the commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147810 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
20688eb9b1099963170fe8c440cb910d9b2df40b |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't include string.h and strings.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147809 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
a4ccf878e464d29a4a18756c5c4f626dc530a12e |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] don't use strstr/strncat from libc, use our own versions instead git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147807 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_rtl.cc
|
73248e304bfa86596c667b30feda0bf3c61f6ac9 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] fix mac build once more git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147796 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_stack.cc
|
d66a8d8f56c66c9749b6d75c61870a121d4d9307 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix typo from previous commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147793 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
547652c45fd7f7497dd214ec8ec6b6ee0f80359d |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan]: fix mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147792 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
|
a7e760a53bc43b8e09bfdf5cd6f215267ba99729 |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] refactoring: move some common linux/mac code to asan_posix.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147788 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_posix.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
|
4803ab90ead451b55a5833f0fd38b10fd1fc83eb |
09-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] refactoring: move all interceptors to a single file git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147784 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
|
a6b52264e1231bfc4ee9a2d9a4f32678c97295f0 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] do not use new/delete for the internal thread structure git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147674 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
|
9107c26bd88fc9cf44a2cd7d6967eb830ac63be3 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move more code into OS-specific files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147671 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
|
26c1596c6824925908b0a9d3b37d6ac340409b13 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] cleanup: remove the SIGILL-related code (rt part) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147665 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_rtl.cc
|
ef14ff6512d7b2e20aa3206dff820b5f90285420 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move more stuff to OS-specific files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147647 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
|
b7a76d19207818f0b26b0a6559982ecfad5cbc3b |
06-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix build on minix. Patch by Ben Gras! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147632 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_endianness.h
est/Unit/endianness.h
|
efb3fa36cf421c346e8e54054cdae4fd798edab7 |
06-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] use dl_iterate_phdr for pre-symbolization on linux instead of parsing /proc/self/maps git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147628 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_procmaps.h
ib/asan/asan_stack.cc
|
c549dd7b5fa5fb97270f57067797224cee0429f2 |
05-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] move {linux,mac}-specific code from asan_thread.cc to asan_{linux,mac}.cc; also add asan_procmaps.h which I forgot to add on previous commit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147586 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_procmaps.h
ib/asan/asan_thread.cc
|
df499b44de81fc757a789878f07fcaf19ebb0016 |
05-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] implement our own /proc/self/maps reader and use it on linux instead of sysinfo.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147581 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_thread.cc
|
609dc28bb32bdba7533c191bcb88f358d0f42187 |
04-Jan-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] remove objdump-based tests in favour of much simpler LLVM-ish tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147514 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
a98b7cb0d0cd310255a405707b6d5c6c4a953ce7 |
03-Jan-2012 |
Bob Wilson <bob.wilson@apple.com> |
Fix missing include of int_lib.h and ppc ifdef for FreeBSD. Patch provided by Ed Schouten! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147458 91177308-0d34-0410-b5e6-96231b3b80d8
ib/clear_cache.c
ib/trampoline_setup.c
|
75a39231763408bf6ed72eede6781a6d0e1f438c |
01-Jan-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Happy new year 2012! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147395 91177308-0d34-0410-b5e6-96231b3b80d8
ICENSE.TXT
|
89a4a18118c2a123d1a89aa711fad518e6da857b |
29-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] build asan-rt with -funwind-tables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147341 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ake/config.mk
|
4558168b361d59be9cc5510b72bb0de9ca795c3a |
29-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] force the __asan_unregister_globals to reside in the runtime library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147329 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
a874fe5b5d67152e4e737498d532eec80940bdcd |
29-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] refactoring: don't #include <sys/mman.h> in non-os-specific files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147328 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_rtl.cc
ib/asan/asan_thread.cc
|
de496f451bce322b6cde100456591f1f50ab3477 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] use custom libc-free getenv; a bit of refactoring around mmap calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147326 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
|
07c5cdab82b0d7e476542e387c31a39c09ada441 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] missing PTHREAD_DESTRUCTOR_ITERATIONS on Android. patch by eugeni.stepanov@gmail.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147322 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread_registry.cc
|
ab9da7ec5e4194ba0d0a90e00e9f29dbc8d34c69 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] discover main thread stack limits without pthread. patch by eugeni.stepanov@gmail.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147321 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_thread.cc
|
6413ec3de37304f657adb36d6cd58e4919dba231 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] no ucontext on Android. patch by eugeni.stepanov@gmail.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147320 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
0ffe35c08475334243f760128c5b4b987e5a274b |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] enable memset/memcpy/memmove interceptors in asan-rt (in addition to those in the compiler module) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147319 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/tests/asan_test.cc
|
c5e72a3b7c60f1b2d9d9be3a07d397d5b5f872be |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] better message for parameter overlap bugs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147317 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
0985ca240812ac5519168a6aecbccf4c513ae243 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptor for strcat. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147316 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/mach_override/mach_override.c
ib/asan/tests/asan_test.cc
|
52fb238ccc45781e4e1d097ae1ee748c898b5825 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptor for memcmp. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147315 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_stack.cc
ib/asan/tests/asan_test.cc
|
af0f01d77c2a495f023ffbf6cce85b33bbd2306d |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] interceptors for strcasecmp and strncasecmp. patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147304 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/tests/asan_test.cc
|
c695a47beeac6ab4ce48e4b33b2ba04869ef0269 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
The code instrumented with ASan may have its own instance of the mach_override library. In this case chances are that functions from it will be called from mach_override_ptr() during ASan initialization. This may lead to crashes (if those functions are instrumented) or incorrect behavior (if the implementations differ). The attached patch renames mach_override_ptr() into __asan_mach_override_ptr() and makes the rest of the mach_override internals hidden. The corresponding AddressSanitizer bug is http://code.google.com/p/address-sanitizer/issues/detail?id=22 Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147303 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.h
ib/asan/mach_override/README.txt
ib/asan/mach_override/mach_override.c
ib/asan/mach_override/mach_override.h
|
51e75c45a6886455a5bdb91c0951bc77dd2c47a2 |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] make sure __asan_report_* functions are not inlined (so that they are not optimized away and are kept in the resulting library). Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147302 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
8547f6c368c964f0c3e60cf23383a42e5ba806cb |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] remove the test for cfree. 'man cfree' says: 'This function should never be used.' and this function is not found on many OSes we support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147301 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
9a20026e3c5ee0e0ae423aea259489ccce9ff19a |
28-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
new() has slightly different signature on Android. This patch adds the git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147300 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
|
13ebae606b526399771e9cca1d6a9d24458ad0f1 |
27-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] rely on __has_feature(address_sanitizer) instead of the ADDRESS_SANITIZER macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147297 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/tests/asan_test.cc
|
4df3f6690cb01a9925d61d9b33524af0b764b4be |
27-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] make sure frame pointers are not omitted when running asan output tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@147293 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/test_output.sh
|
69eca73ac96688c8bfe1f23ee006af29c7858c40 |
16-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
Recently the GCD tests started failing because of the invalid size of FakeStack on the worker threads. This patch moves the AsanThread initialization into a separate procedure that's called when AsanThread objects are called for worker threads. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146752 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
|
f32b41d3a0b52e9373abbe76c17b48b67633aefa |
16-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] revert r146529: we do need to build asan-rt as a shared library. Will need to find a different way to modify preinit_array git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146703 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_rtl.cc
|
c37ca572876a585b6a910f14a85cc7ba7fc22f20 |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] added a test to check that a global-buffer-overflow mentioned the module name; revert incorrect change in the test runner git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146701 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
ib/asan/tests/test_output.sh
|
c491061eddb0bb7047470b2746cbcbfe7730b2a9 |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. run-time part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146687 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_interface.h
ib/asan/tests/dlclose-test.tmpl
ib/asan/tests/shared-lib-test.cc
ib/asan/tests/test_output.sh
|
d11a9639388defed6a26dd5e76932246bbe505ef |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] regression test for asan issue 19, currently fails. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146681 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/dlclose-test-so.cc
ib/asan/tests/dlclose-test.cc
|
6b30e2cf0d9d471d276f91ef4bb74dbd9876f4d9 |
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] poison the internal asan heap memory, just in case. Change Printf to Report when debugging globals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146663 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
a5f10b95d578d8fc4d05c757273127382153b21e |
14-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] insert __asan_init into ".preinit_array" section. Linux-only. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146529 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_rtl.cc
|
381b170aca88ed95f0521dd32e96496c0efd5693 |
14-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the test runner to detect build breakages; add a test for -pie git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146528 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/test_output.sh
|
9c69e8709965244810dd1f63c133fb1fd07c494d |
14-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix some more format warnings in sysinfo/sysinfo.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146526 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/sysinfo/sysinfo.cc
|
c16201337a4bb974093ff75aa45682739a331d05 |
13-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] canonicalise the output for double-free and wrong-free. fixes asan issue 18 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146501 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interceptors.cc
ib/asan/tests/asan_test.cc
|
803c124c0ab2525b5ab9dcadb110afc60250407b |
13-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
build compiler-rt with -fPIC, otherwise the run-time libs will not link with -pie, at least on linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146499 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/config.mk
|
332bfbf29cd49352f808d7be0807b46134e4a4a4 |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix asan-rt interceptors on Snow Leopard. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146263 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/mach_override/mach_override.c
|
c4b34d9af5a7849f91b9a9ba418a2bd144b0812b |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] make use-after-return mode more robust: allow to call instrumented functions while reporting an error git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146231 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_rtl.cc
|
5009caa6e3063ce8343fa7b462ee778df02523e7 |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix output test to not require debug symbols in asan run-time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146212 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/heap-overflow.tmpl
ib/asan/tests/strncpy-overflow.tmpl
ib/asan/tests/use-after-free.tmpl
|
918b18a849cea679bff31a4e0dfb3745302c240a |
09-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] better test for use-after-return mode git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146203 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_test.cc
|
2a1aad729e09761ce45b9b283e2fb65da191d38c |
08-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
SDK/linux: Fix braindead pasto, caught by Matt Beaumont-Gay. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146188 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/linux/usr/include/sys/mman.h
|
6bbdc46fd383c1074b48ba5b48fcfc415d1574ae |
08-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fresh version of mach_override; added mach_override/README.txt. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146166 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/mach_override/README.txt
ib/asan/mach_override/mach_override.c
|
cd79cc0ac015c7ea6e164421919e8441d13f1e43 |
08-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] update the soon-to-be-depricated asan makefile to use the new path for asan-rt (affects only linux) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146162 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
c6f2223a8772262e5e682403f2d57f0b465a98fc |
08-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] move build-time config options from makefile to source (otherwise we need config options in all makefiles) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146161 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ake/platform/clang_darwin.mk
|
4fd6b1c8d9ffba56fb5151a7beae487160e0903d |
08-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_linux: Switch builtin and profile libraries to build using the stub SDK. - This allows us to build both the m32 and m64 variants without worrying about whether or not the user has the headers for the alternate arch installed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146132 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
86f9994936336675dcc1454ede5857e8851080b6 |
08-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
SDKs: Sketch an initial stub SDK for Linux, I believe this suffices for building the main compiler-rt and profile modules, at least on x86. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146131 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/linux/README.txt
DKs/linux/usr/include/endian.h
DKs/linux/usr/include/limits.h
DKs/linux/usr/include/stdio.h
DKs/linux/usr/include/stdlib.h
DKs/linux/usr/include/string.h
DKs/linux/usr/include/sys/mman.h
DKs/linux/usr/include/sys/stat.h
DKs/linux/usr/include/sys/types.h
DKs/linux/usr/include/unistd.h
|
acd5c617b219e0f059620c2a3928d2cc821d4534 |
07-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix the error message for 16-byte accesses (it previously printed 'unknown-crash') git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146075 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ib/asan/tests/asan_test.cc
|
0ec64cebd9fe84734506899cb08a5a792bee35e4 |
07-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
www: Add some more notes to compiler-rt web page. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146047 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
e235715748826c91f115d11f46d0ff2017d45d2f |
06-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
build all C++ files in compiler-rt with -fno-exceptions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145967 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/config.mk
|
dd8d4981e149fd32b83406fae2dc42216c771f79 |
06-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] minor cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145966 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
96bdefaabcd9ed4cb3401f5fbfb51fd964e03f5a |
06-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] GCD tests on Mac: prevent optimization and enable. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145953 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_test.cc
|
5f9ee2809fff2459fd13374834e16d22893bad45 |
06-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_linux: Add profile and asan libs on x86. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145950 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
347483ca85193fb31946f6f1c2affb2bedda0096 |
06-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] remove format warnings in sysinfo/sysinfo.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145886 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/sysinfo/sysinfo.cc
|
0b4c09b313580cfed9e1f3a2dc2f383dc870caa3 |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan]: test a pure C file with -faddress-sanitizer; lint fixes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145848 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/tests/asan_exceptions_test.cc
ib/asan/tests/test_output.sh
|
f45c19578801a33c8518ffc95ecb17d92f38c9eb |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] add the test for bug 11468 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145839 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_exceptions_test.cc
|
30743140ff0f904b7f422b61d208e2837e7c631e |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] always collect malloc statstics (removed FLAG_stats) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145838 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
ib/asan/asan_stats.cc
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_noinst_test.cc
|
e130191a254064bfd1c8d373afdacf6d52979713 |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] cleanup memset/memmove/memcpy interceptors and enable them on Mac. Patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145826 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.cc
|
b3010e75d1c88b6f2084c80530e06ffe8d6f19a2 |
05-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] don't require __cxa_throw to be present in the process. This is the last dependency on libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145821 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_interceptors.h
ib/asan/asan_rtl.cc
|
75f74616d227a158539a5cc23ea8282142623159 |
03-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of some more dependency on libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145743 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_stats.cc
|
f48d64bb5739d3ce9e7940c619a33e1ca0bf6f98 |
03-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] micro-benchmark for use-after-return fake stack git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145739 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/asan_benchmarks_test.cc
|
3404b3f0a4855164c82965ccaf299d04d2b5db81 |
03-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] put back -O2 which was lost quite some time ago and caused noticeable perf drop in malloc-intensive apps. doh. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145723 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
|
b89567ce41bef82cf92a9c741c78b632c07b2781 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of std::map. No STL and almost no libstdc++ left. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145706 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_globals.cc
ib/asan/asan_internal.h
ib/asan/asan_rtl.cc
|
1957399c5d44802939021d5b89b8171719d96b75 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] quick fix for mac build, second attempt. Sorry for spam. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145694 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
4f24d3efb98fcf2b4d667bd42a4d840dbab0ce82 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] quick fix for mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145692 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_mac.cc
|
2d8b3bdb112ebb8ed3f15ee41d4cebcd683b41b0 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] minimize the use of STL. One bit is still left. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145691 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_internal.h
ib/asan/asan_mac.cc
ib/asan/asan_poisoning.cc
ib/asan/asan_rtl.cc
|
f06648acf50b17b4a90abb46eb4515947f96fecd |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
build: Add ModuleName per-subdir variable as a way to organize the different sets of functions/objects into high level groups. Currently we have "builtins" (the main compiler-rt code), "profile", and "asan". - Use this to define CommonFunctions and ArchFunctions to only reference the builtins functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145674 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/arm/Makefile.mk
ib/asan/Makefile.mk
ib/asan/mach_override/Makefile.mk
ib/asan/sysinfo/Makefile.mk
ib/i386/Makefile.mk
ib/ppc/Makefile.mk
ib/profile/Makefile.mk
ib/x86_64/Makefile.mk
ake/lib_info.mk
ake/subdir.mk
|
514cebb99d5e45f1bbbb33cfa41a20a6434258b6 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/asan: Fix possible type mismatches. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145664 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
|
4616633bb9e20f66d83bfac70c9afce1922d1eec |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/asan: Attempt to ensure __WORDSIZE gets defined, it is not always set by Darwin's stdint.h for example. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145663 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_internal.h
|
0d4e17c56a3daf70061c613b4020472312d77610 |
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
add/update LICENSE.TXT files for the third_party code used by asan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145659 91177308-0d34-0410-b5e6-96231b3b80d8
ICENSE.TXT
ib/asan/mach_override/LICENSE.TXT
ib/asan/sysinfo/LICENSE.TXT
|
7855275763348a191f88cf2c741618785d62fde7 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/asan: Better fix for ASAN i386 build on Darwin, this causes us to see the non-standard struct names. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145658 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ake/platform/clang_darwin.mk
|
fe18082eb32b4b8a9b9bee1f252fc9e7791aab2a |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/asan: Fix ASAN build for i386, for reasons I don't really understand we get the DARWIN_UNIX03 definition on x86_64 but not on i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145657 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_rtl.cc
ake/platform/clang_darwin.mk
|
f8328c56b93ccbb11ce2e77e066c25536204d31b |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Add asan runtime library configuration. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145649 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
cc080e5c0bac825d72b8928a2235716b0344ac43 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
asan: Fill in integration with compiler-rt/make build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145648 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/asan/Makefile.mk
ib/asan/mach_override/Makefile.mk
ib/asan/sysinfo/Makefile.mk
|
21e8dce9f9a7373b8d7364596ec1117718df04f5 |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
asan: Suppress a -Wbitwise-op-parentheses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145647 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/mach_override/mach_override.c
|
a6fd8452b557b9bc8350d343da2bea2b0b5dc28a |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/make: Add rule for .cc files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145646 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
c1ef2a0b8022f200f8bbb36641df866c4369876d |
02-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
asan: #if 0 out some unused functions (we build with -Werror). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145645 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_malloc_mac.cc
|
d6567c5166412f6acdde851e767c26f332d51d3d |
01-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] flatten the asan-rt build slightly git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145631 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_rtl.cc
ib/asan/mach_override/mach_override.c
ib/asan/mach_override/mach_override.h
|
b09f0aa7c724bb45483e98076127ef3df6376e36 |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
test asan at -O0 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145532 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/tests/test_output.sh
|
218a9b70d7338cf5b727b7dad6b080ad7869c6c2 |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145505 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/asan_allocator.cc
ib/asan/asan_globals.cc
ib/asan/asan_internal.h
ib/asan/asan_mapping.h
ib/asan/asan_poisoning.cc
ib/asan/asan_rtl.cc
|
cbab911ea555f34c8ac66b4c7dc88f4e7ecf2c03 |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
fix asan-rt build on Mac. Patch by glider@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145496 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.old
ib/asan/asan_allocator.h
ib/asan/asan_interceptors.h
|
1e172b4bdec57329bf904f063a29f99cddf2d85f |
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
AddressSanitizer run-time library. Not yet integrated with the compiler-rt build system, but can be built using the old makefile. See details in README.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145463 91177308-0d34-0410-b5e6-96231b3b80d8
ib/asan/Makefile.mk
ib/asan/Makefile.old
ib/asan/README.txt
ib/asan/asan_allocator.cc
ib/asan/asan_allocator.h
ib/asan/asan_globals.cc
ib/asan/asan_interceptors.cc
ib/asan/asan_interceptors.h
ib/asan/asan_interface.h
ib/asan/asan_internal.h
ib/asan/asan_linux.cc
ib/asan/asan_lock.h
ib/asan/asan_mac.cc
ib/asan/asan_mac.h
ib/asan/asan_malloc_linux.cc
ib/asan/asan_malloc_mac.cc
ib/asan/asan_mapping.h
ib/asan/asan_poisoning.cc
ib/asan/asan_printf.cc
ib/asan/asan_rtl.cc
ib/asan/asan_stack.cc
ib/asan/asan_stack.h
ib/asan/asan_stats.cc
ib/asan/asan_stats.h
ib/asan/asan_thread.cc
ib/asan/asan_thread.h
ib/asan/asan_thread_registry.cc
ib/asan/asan_thread_registry.h
ib/asan/mach_override/mach_override.c
ib/asan/mach_override/mach_override.h
ib/asan/scripts/asan_symbolize.py
ib/asan/sysinfo/basictypes.h
ib/asan/sysinfo/sysinfo.cc
ib/asan/sysinfo/sysinfo.h
ib/asan/tests/asan_benchmarks_test.cc
ib/asan/tests/asan_break_optimization.cc
ib/asan/tests/asan_globals_test.cc
ib/asan/tests/asan_interface_test.cc
ib/asan/tests/asan_mac_test.h
ib/asan/tests/asan_mac_test.mm
ib/asan/tests/asan_noinst_test.cc
ib/asan/tests/asan_test.cc
ib/asan/tests/asan_test.ignore
ib/asan/tests/asan_test_config.h
ib/asan/tests/asan_test_utils.h
ib/asan/tests/global-overflow.cc
ib/asan/tests/global-overflow.tmpl
ib/asan/tests/heap-overflow.cc
ib/asan/tests/heap-overflow.tmpl
ib/asan/tests/heap-overflow.tmpl.Darwin
ib/asan/tests/large_func_test.cc
ib/asan/tests/large_func_test.tmpl
ib/asan/tests/match_output.py
ib/asan/tests/null_deref.cc
ib/asan/tests/null_deref.tmpl
ib/asan/tests/shared-lib-test-so.cc
ib/asan/tests/shared-lib-test.cc
ib/asan/tests/shared-lib-test.tmpl
ib/asan/tests/stack-overflow.cc
ib/asan/tests/stack-overflow.tmpl
ib/asan/tests/stack-use-after-return.cc
ib/asan/tests/stack-use-after-return.disabled
ib/asan/tests/strncpy-overflow.cc
ib/asan/tests/strncpy-overflow.tmpl
ib/asan/tests/test_output.sh
ib/asan/tests/use-after-free.c
ib/asan/tests/use-after-free.cc
ib/asan/tests/use-after-free.tmpl
|
1626d864159d42d1c5a492c1cb686f629e81f815 |
29-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/int_util: My refactoring to allow shared utility code had a fatal flaw when multiple .a files would end up with duplicate strong definitions. This could cause link failures in certain scenarios when both definitions got loaded. - The best solution I see for this (aside from not factoring out the utility code) is to mark the definitions weak. Better solutions appreciated! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145427 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_util.c
ib/int_util.h
|
d25fa8d63f05aae6fd13ed8ed0d71040caf95e5c |
29-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
build: Sketch a Clang/Linux platform config. - Currently just tries to build a full library for i386/x86_64. - This is made substantially more complicated by the lack of a generalized way to check for/invoke cross compilers. For now, we just try and make it work for the matched arch, and rely on the host CC being Clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145322 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_linux.mk
|
91354d7be8b43a5008f8bc5bb53b8e396afb3d20 |
17-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Fix a refacto and commento. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144913 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
91d9c15ef503507fc5badd4900a5049936be65c1 |
17-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Add configs for profiling support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144866 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
8c88119d6334a470e3ad638c5a1f1b42c4258ac9 |
17-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Import GCDA profiling support from LLVM. - I'm in the process of moving this here but it will live in both places until the ancilliary support is ready. - Currently unused. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144865 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/profile/GCDAProfiling.c
ib/profile/Makefile.mk
|
6ecc1feee8799472a6f3eeadfb7b817eb253b4cd |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Switch over to use stub Darwin SDK. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144845 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
469846b9252d2790bfc7d86927a780cf76c52c01 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Tweak deployment arg variable names. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144844 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
6758892590ff3a56d800cb862d3b37f63ff941fa |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/SDKs: Sketch a minimal stub SDK for Darwin. - Motivation is explained in the README, but basically it is convenient to be able to build compiler-rt free standing. Since our external dependencies are so small, we can achieve this relatively easily by just stubbing out the declarations of the external dependencies. - This is in no way, shape, or form intended to be complete, it is just the minimal stubs necessary to support the stuff we use. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144843 91177308-0d34-0410-b5e6-96231b3b80d8
DKs/README.txt
DKs/darwin/README.txt
DKs/darwin/usr/include/limits.h
DKs/darwin/usr/include/stdio.h
DKs/darwin/usr/include/stdlib.h
DKs/darwin/usr/include/string.h
DKs/darwin/usr/include/sys/stat.h
DKs/darwin/usr/include/sys/types.h
|
674aeef9abcb051403bcb1fb47399f28d6a8fd86 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/int_math: Some versions of GCC don't provide __builtin_isfinite. Support them. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144810 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_math.h
|
eaff95c6d9a2b62c9cab65ea8971a08a79d48c22 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/ppc: Fix a refacto. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144809 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ppc/multc3.c
|
c25c6d10b18efa071f0016f31f6f3dd8a8fa6676 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Finish int_math.h definitions using compiler builtins and eliminate implementation use of <math.h>. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144786 91177308-0d34-0410-b5e6-96231b3b80d8
ib/divdc3.c
ib/divsc3.c
ib/divxc3.c
ib/int_lib.h
ib/int_math.h
ib/muldc3.c
ib/mulsc3.c
ib/mulxc3.c
ib/ppc/divtc3.c
ib/ppc/fixtfdi.c
ib/ppc/multc3.c
ake/platform/clang_darwin_test_input.c
|
8603024a01cfa82ab8dce397f40a2d6f246076e3 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Starting thinning out the dependency on math.h by using compiler builtins where available. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144785 91177308-0d34-0410-b5e6-96231b3b80d8
ib/divdc3.c
ib/divsc3.c
ib/divxc3.c
ib/int_math.h
ib/muldc3.c
ib/mulsc3.c
ib/mulxc3.c
ib/ppc/divtc3.c
ib/ppc/multc3.c
|
2406dfe472402ed7fa39d8e9ba25dd7865aa015f |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Remove uses of complex.h which does not appear to be required. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144754 91177308-0d34-0410-b5e6-96231b3b80d8
ib/divdc3.c
ib/divsc3.c
ib/divxc3.c
ib/muldc3.c
ib/mulsc3.c
ib/mulxc3.c
|
6b682e41f005d0a452ab45fa31192bc43431240e |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/gcc_personality_v0: Remove an unnecessary include. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144753 91177308-0d34-0410-b5e6-96231b3b80d8
ib/gcc_personality_v0.c
|
2db4af813a1a615986c0ae315f7179a6a27ed2ca |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Eliminate direct include of stdlib.h from files that used to (potentially) need it for compilerrt_abort(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144752 91177308-0d34-0410-b5e6-96231b3b80d8
ib/absvdi2.c
ib/absvsi2.c
ib/absvti2.c
ib/addvdi3.c
ib/addvsi3.c
ib/addvti3.c
ib/clear_cache.c
ib/eprintf.c
ib/gcc_personality_v0.c
ib/mulodi4.c
ib/mulosi4.c
ib/muloti4.c
ib/mulvdi3.c
ib/mulvsi3.c
ib/mulvti3.c
ib/negvdi2.c
ib/negvsi2.c
ib/negvti2.c
ib/subvdi3.c
ib/subvsi3.c
ib/subvti3.c
ib/trampoline_setup.c
|
401f693a874c0f2fd9e37173e3ab7045a1bdeb3d |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Add support for library wide utility functions, and make compilerrt_abort() a real boy. - The utility module needs to be included into every produced library, because we don't have enough dependency tracking to know exactly which other modules might require the utilities. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144751 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ib/int_lib.h
ib/int_util.c
ib/int_util.h
ake/config.mk
|
dbaa3974d4c012ad500a790be5e51ce66188d15c |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib/{ppc,x86_64}: Fixup a number of files to include int_lib.h instead of directly including system headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144750 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ppc/DD.h
ib/ppc/fixtfdi.c
ib/ppc/fixunstfdi.c
ib/ppc/floatditf.c
ib/ppc/floatunditf.c
ib/x86_64/floatdidf.c
ib/x86_64/floatdisf.c
ib/x86_64/floatdixf.c
|
3f4d3407a10186b146647b5f248158279835ab9c |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Remove math.h from int_lib.h, which doesn't appear to be required. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144749 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_lib.h
|
25a3ff17239fade309b1fc789320998a7b759609 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/darwin_bni: Remove consistency check I added, I forgot we always load every platform (even if it isn't being built). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144740 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
2bf93403298e46a32423c9e66d26b5436d0748ea |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Include float.h in int_lib.h, and eliminate duplicate includes from a number of source files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144739 91177308-0d34-0410-b5e6-96231b3b80d8
ib/floatdidf.c
ib/floatdisf.c
ib/floattidf.c
ib/floattisf.c
ib/floattixf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatuntidf.c
ib/floatuntisf.c
ib/floatuntixf.c
ib/int_lib.h
|
1132cf7dac918b0b8134aeb686e90bcc69e53b94 |
16-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/darwin_bni: Add a consistency check. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144738 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
23d1542758b351aca24b4a99b4947e9e1fa97c43 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Include stdbool.h in int_lib.h, and eliminate duplicate includes from a number of source files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144671 91177308-0d34-0410-b5e6-96231b3b80d8
ib/enable_execute_stack.c
ib/extendsfdf2.c
ib/floatdidf.c
ib/floatundidf.c
ib/gcc_personality_v0.c
ib/int_lib.h
ib/trampoline_setup.c
ib/truncdfsf2.c
|
0a3e35011f3c312f2b10f61e1540b058baff8cf6 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Rename endianness.h to int_endianness.h (for consistency) and tidy up a bit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144669 91177308-0d34-0410-b5e6-96231b3b80d8
ib/endianness.h
ib/int_endianness.h
ib/int_lib.h
ib/int_types.h
|
396a72f4854bdc09e465bf2ab96e62303850ee41 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Split out int_types.h, for readability. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144668 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_lib.h
ib/int_types.h
|
bacb723c02a26145ba7e4bbd842c06a3276d327b |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
git: Tweak .gitignore to ignore defined platform build directories. - We should probably sink the platform build dirs into a common top-level dir. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144662 91177308-0d34-0410-b5e6-96231b3b80d8
gitignore
|
d69211491f42082d7cb2c294007c05704a98a163 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/clang_darwin: Set CC before trying to run CheckArches. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144661 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
0ae9d258a484ba5ede154f729660ad21bd0ade2e |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144660 91177308-0d34-0410-b5e6-96231b3b80d8
ib/abi.h
ib/absvdi2.c
ib/absvsi2.c
ib/adddf3.c
ib/addsf3.c
ib/addvdi3.c
ib/addvsi3.c
ib/ashldi3.c
ib/ashrdi3.c
ib/clzdi2.c
ib/clzsi2.c
ib/cmpdi2.c
ib/ctzdi2.c
ib/ctzsi2.c
ib/divdf3.c
ib/divdi3.c
ib/divmoddi4.c
ib/divmodsi4.c
ib/divsf3.c
ib/divsi3.c
ib/extendsfdf2.c
ib/ffsdi2.c
ib/fixdfdi.c
ib/fixdfsi.c
ib/fixsfdi.c
ib/fixsfsi.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatsidf.c
ib/floatsisf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatunsidf.c
ib/floatunsisf.c
ib/fp_lib.h
ib/int_lib.h
ib/lshrdi3.c
ib/moddi3.c
ib/modsi3.c
ib/muldf3.c
ib/muldi3.c
ib/mulsf3.c
ib/negdf2.c
ib/negsf2.c
ib/negvdi2.c
ib/negvsi2.c
ib/paritydi2.c
ib/paritysi2.c
ib/popcountdi2.c
ib/popcountsi2.c
ib/powidf2.c
ib/powisf2.c
ib/subdf3.c
ib/subsf3.c
ib/subvdi3.c
ib/subvsi3.c
ib/truncdfsf2.c
ib/ucmpdi2.c
ib/udivdi3.c
ib/udivmoddi4.c
ib/udivmodsi4.c
ib/udivsi3.c
ib/umoddi3.c
ib/umodsi3.c
|
5e06e18068122930df7295fa9ddc03ba41c702d8 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/darwin_fat: Drop ppc from default arch list, ppc targets are no longer supported by modern toolchains. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144659 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_fat.mk
|
55812b55319abed4fc77fdcb29310fe60b275717 |
15-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
build: Change default CC to be clang instead of gcc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144658 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
ake/platform/darwin_fat.mk
ake/platform/multi_arch.mk
|
279a22ab3a2a5c838b7e80d67cbc970b7c12bbd8 |
10-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Improve the "can we build for this arch test" by checking that the standard includes we use in compiler-rt also work. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144305 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
ake/platform/clang_darwin_test_input.c
|
a11b52f4527d2b3f0a9ac10c9aa7a67aa1ff8272 |
27-Sep-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/10172492> No armv4t slice of libcompiler_rt-static.a git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@140630 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
ake/platform/darwin_bni.mk
|
8ef083003fe24fe2b3e8e35c03f4039c45bc46aa |
14-Sep-2011 |
Daniel Dunbar <daniel@zuster.org> |
platform/clang_darwin: Allow use of an RC_SUPPORTED_ARCHS variable to limit the architectures we try to build for. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@139738 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
c20f862690410045fc8c77879f7e78918d2372e4 |
23-Aug-2011 |
Bob Wilson <bob.wilson@apple.com> |
Change ARM vfp assembly functions to use unified syntax. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@138332 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/divdf3vfp.S
ib/arm/divsf3vfp.S
ib/arm/eqdf2vfp.S
ib/arm/eqsf2vfp.S
ib/arm/extendsfdf2vfp.S
ib/arm/fixdfsivfp.S
ib/arm/fixsfsivfp.S
ib/arm/fixunsdfsivfp.S
ib/arm/fixunssfsivfp.S
ib/arm/floatsidfvfp.S
ib/arm/floatsisfvfp.S
ib/arm/floatunssidfvfp.S
ib/arm/floatunssisfvfp.S
ib/arm/gedf2vfp.S
ib/arm/gesf2vfp.S
ib/arm/gtdf2vfp.S
ib/arm/gtsf2vfp.S
ib/arm/ledf2vfp.S
ib/arm/lesf2vfp.S
ib/arm/ltdf2vfp.S
ib/arm/ltsf2vfp.S
ib/arm/muldf3vfp.S
ib/arm/mulsf3vfp.S
ib/arm/nedf2vfp.S
ib/arm/negdf2vfp.S
ib/arm/negsf2vfp.S
ib/arm/nesf2vfp.S
ib/arm/subdf3vfp.S
ib/arm/subsf3vfp.S
ib/arm/truncdfsf2vfp.S
ib/arm/unorddf2vfp.S
ib/arm/unordsf2vfp.S
|
41ae71d99134b3b180753f5b0cd4ebfd0c6a8c18 |
22-Aug-2011 |
Bob Wilson <bob.wilson@apple.com> |
Refactor DEFINE_COMPILERRT_FUNCTION. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@138277 91177308-0d34-0410-b5e6-96231b3b80d8
ib/assembly.h
|
b0f8ecc5eef96eeab0d75d79332d6589401dce36 |
22-Aug-2011 |
Bob Wilson <bob.wilson@apple.com> |
Remove redundant flag: -mthumb is the default for armv7. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@138275 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
dee377302e2639d43fe9060dbb8bb04b433de1af |
17-Aug-2011 |
Bob Wilson <bob.wilson@apple.com> |
Add the ARM VFP variants to the cc_kext libraries for armv6 and armv7. Radar 9959402. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@137835 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
4fcc9aacd048741a4934f044a295d1ccf73a0173 |
29-Jul-2011 |
Joerg Sonnenberger <joerg@bec.de> |
Don't redeclare sr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@136424 91177308-0d34-0410-b5e6-96231b3b80d8
ib/udivmodti4.c
|
d426091fdf6a15db9a5db35d522fe69f5dee35af |
28-Jul-2011 |
Joerg Sonnenberger <joerg@bec.de> |
Don't redeclare sr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@136377 91177308-0d34-0410-b5e6-96231b3b80d8
ib/udivmoddi4.c
|
9435c40640a531a49e6b43850b431f20061f225c |
21-Jun-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9624306> clean up darwin platform to use xcrun. Set up variables in darwin_bni.mk. Use GetCNAVar in AppleBI.mk git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@133487 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
ake/platform/darwin_bni.mk
|
9d559858d8de6170512995ca53da505589a062db |
21-Jun-2011 |
Nick Kledzik <kledzik@apple.com> |
add STRIP and LIPO as AvailableOptions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@133481 91177308-0d34-0410-b5e6-96231b3b80d8
ake/lib_info.mk
ake/options.mk
|
f6f88f3d3e93946d0e51886b359cd70d065c4800 |
18-Jun-2011 |
Eric Christopher <echristo@apple.com> |
Missed a rename here 4 args instead of 3. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@133311 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
1ace4055f79f304750839d73c46bbcaeb994f1b5 |
17-Jun-2011 |
Eric Christopher <echristo@apple.com> |
Implement mulo<mode>4 for use in signed overflow checking. Fixes rdar://9219742 and rdar://9218244 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@133284 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
ib/mulodi4.c
ib/mulosi4.c
ib/muloti4.c
ake/platform/clang_darwin.mk
ake/platform/darwin_bni.mk
est/Unit/mulodi4_test.c
est/Unit/mulosi4_test.c
est/Unit/muloti4_test.c
|
90467a679a4e45c035b126701a0450857f3c4483 |
15-Jun-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/clang_darwin: Fix previous change to CheckArches to not cause problem when command produces error output on stdout instead of stderr (and suppress the stderr output while at it). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@133019 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
355afd2bb150dce5fb0c24569b2860e9b1fa6ec4 |
13-Jun-2011 |
Daniel Dunbar <daniel@zuster.org> |
build/clang_darwin: Improve archs check to verify we can not just recognize arch, but actually compile a file with that arch. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@132928 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
7482815716cd9b87931d82dca7298fc3c707229f |
29-May-2011 |
Joerg Sonnenberger <joerg@bec.de> |
If a test case is not compiled on a specific platform, print "skipped" to stdout. This helps identifying missing coverage on a given platform. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@132300 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/absvti2_test.c
est/Unit/adddf3vfp_test.c
est/Unit/addsf3vfp_test.c
est/Unit/addvti3_test.c
est/Unit/ashlti3_test.c
est/Unit/ashrti3_test.c
est/Unit/bswapdi2_test.c
est/Unit/bswapsi2_test.c
est/Unit/clzti2_test.c
est/Unit/cmpti2_test.c
est/Unit/ctzti2_test.c
est/Unit/divdf3vfp_test.c
est/Unit/divsf3vfp_test.c
est/Unit/divtc3_test.c
est/Unit/divti3_test.c
est/Unit/divxc3_test.c
est/Unit/eqdf2vfp_test.c
est/Unit/eqsf2vfp_test.c
est/Unit/extebdsfdf2vfp_test.c
est/Unit/ffsti2_test.c
est/Unit/fixdfsivfp_test.c
est/Unit/fixdfti_test.c
est/Unit/fixsfsivfp_test.c
est/Unit/fixsfti_test.c
est/Unit/fixunsdfsivfp_test.c
est/Unit/fixunssfsivfp_test.c
est/Unit/fixunstfdi_test.c
est/Unit/fixunsxfdi_test.c
est/Unit/fixunsxfti_test.c
est/Unit/fixxfdi_test.c
est/Unit/fixxfti_test.c
est/Unit/floatdixf_test.c
est/Unit/floatsidfvfp_test.c
est/Unit/floatsisfvfp_test.c
est/Unit/floattidf_test.c
est/Unit/floattisf_test.c
est/Unit/floattixf_test.c
est/Unit/floatundixf_test.c
est/Unit/floatunssidfvfp_test.c
est/Unit/floatunssisfvfp_test.c
est/Unit/floatuntidf_test.c
est/Unit/floatuntisf_test.c
est/Unit/floatuntixf_test.c
est/Unit/gedf2vfp_test.c
est/Unit/gesf2vfp_test.c
est/Unit/gtdf2vfp_test.c
est/Unit/gtsf2vfp_test.c
est/Unit/ledf2vfp_test.c
est/Unit/lesf2vfp_test.c
est/Unit/lshrti3_test.c
est/Unit/ltdf2vfp_test.c
est/Unit/ltsf2vfp_test.c
est/Unit/modti3_test.c
est/Unit/muldf3vfp_test.c
est/Unit/mulsf3vfp_test.c
est/Unit/multc3_test.c
est/Unit/multi3_test.c
est/Unit/mulvti3_test.c
est/Unit/mulxc3_test.c
est/Unit/nedf2vfp_test.c
est/Unit/negdf2vfp_test.c
est/Unit/negsf2vfp_test.c
est/Unit/negti2_test.c
est/Unit/negvti2_test.c
est/Unit/nesf2vfp_test.c
est/Unit/parityti2_test.c
est/Unit/popcountti2_test.c
est/Unit/powitf2_test.c
est/Unit/powixf2_test.c
est/Unit/subdf3vfp_test.c
est/Unit/subsf3vfp_test.c
est/Unit/subvti3_test.c
est/Unit/trampoline_setup_test.c
est/Unit/truncdfsf2vfp_test.c
est/Unit/ucmpti2_test.c
est/Unit/udivmodti4_test.c
est/Unit/udivti3_test.c
est/Unit/umodti3_test.c
est/Unit/unorddf2vfp_test.c
est/Unit/unordsf2vfp_test.c
|
96051e1bd0e4c60a65e8c059a719a4a72b229247 |
19-May-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang/darwin: Tweak CheckArches function to use CC and to not spew output. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@131656 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
2f5efb0238df99509fb8dd53d218065abd8dff8b |
09-May-2011 |
Eric Christopher <echristo@apple.com> |
Check architectures to make sure that we can build for all of them before we try to. Patch by Patrick Walton! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@131098 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
187b4b5773107cdc8bb5c1d122ecf9c603fd6ced |
07-May-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang/Darwin: Include divsi3 functions on x86, they are used by the divmod implementation. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@131034 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
a14b7219a3fbfa3ca0d699db0919f51a762689e2 |
30-Apr-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang/Darwin: Update ios static lib to build for all archs, in case the simulator wants to use it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@130566 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
3d8090e3400bcedb99e7b5b2471d53d9c7d74e8a |
22-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Make sure we include __sync_synchronize on arm platforms if we need it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129944 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
4c45b931fde3005c8b253ebf7e18035b88e05f52 |
20-Apr-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang_darwin: Add divmod functions to cc_kext library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129874 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
56026be8c0582ae073c46b47b81856fb425bf977 |
20-Apr-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang_darwin: Always set deployment targets when building compiler-rt bits, so that we don't have a hidden dependency on possible deployment target environment overrides. - Also, add support for an ARM_SDK build variable which points to the isysroot to use for ARM bits. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129873 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
e2949350bf2516dea221233639c92f4601bb5a32 |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add some macro magic: user __USER_LABEL_PREFIX__ instead of hardcoding it for each platform git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129818 91177308-0d34-0410-b5e6-96231b3b80d8
ib/assembly.h
|
2918947b6ac115bcd0ab9258e6e14cd56db1b160 |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
More fixes for missed includes git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129807 91177308-0d34-0410-b5e6-96231b3b80d8
ib/floatsidf.c
ib/floatsisf.c
ib/floatunsidf.c
ib/floatunsisf.c
|
7d34226d6bc9f1dfc2c5a7935c1d385dfc2194ac |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add missed include git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129804 91177308-0d34-0410-b5e6-96231b3b80d8
ib/fixdfsi.c
|
94d371c3109adba654f854f8b69d9c4570a01f42 |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add missed files from my last commit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129777 91177308-0d34-0410-b5e6-96231b3b80d8
ib/abi.h
ib/divmoddi4.c
|
1c5f89b1dd741135a4007ab577723d422f421eec |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129769 91177308-0d34-0410-b5e6-96231b3b80d8
ib/absvdi2.c
ib/absvsi2.c
ib/adddf3.c
ib/addsf3.c
ib/addvdi3.c
ib/addvsi3.c
ib/ashldi3.c
ib/ashrdi3.c
ib/clzdi2.c
ib/clzsi2.c
ib/cmpdi2.c
ib/ctzdi2.c
ib/ctzsi2.c
ib/divdf3.c
ib/divdi3.c
ib/divmodsi4.c
ib/divsf3.c
ib/divsi3.c
ib/extendsfdf2.c
ib/ffsdi2.c
ib/fixdfdi.c
ib/fixsfdi.c
ib/fixsfsi.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatundidf.c
ib/floatundisf.c
ib/int_lib.h
ib/lshrdi3.c
ib/moddi3.c
ib/modsi3.c
ib/muldf3.c
ib/muldi3.c
ib/mulsf3.c
ib/negdf2.c
ib/negsf2.c
ib/negvdi2.c
ib/negvsi2.c
ib/paritydi2.c
ib/paritysi2.c
ib/popcountdi2.c
ib/popcountsi2.c
ib/powidf2.c
ib/powisf2.c
ib/subdf3.c
ib/subsf3.c
ib/subvdi3.c
ib/subvsi3.c
ib/truncdfsf2.c
ib/ucmpdi2.c
ib/udivdi3.c
ib/udivmoddi4.c
ib/udivmodsi4.c
ib/udivsi3.c
ib/umoddi3.c
ib/umodsi3.c
|
37b97d1cf4501b94347e0b4e880f4b25825a289f |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add ARM EABI function aliases to routines git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129768 91177308-0d34-0410-b5e6-96231b3b80d8
ib/adddf3.c
ib/addsf3.c
ib/arm/divsi3.S
ib/arm/udivsi3.S
ib/ashldi3.c
ib/ashrdi3.c
ib/assembly.h
ib/divdf3.c
ib/divsf3.c
ib/divsi3.c
ib/extendsfdf2.c
ib/fixdfdi.c
ib/fixdfsi.c
ib/fixsfdi.c
ib/fixsfsi.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatsidf.c
ib/floatsisf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatunsidf.c
ib/floatunsisf.c
ib/int_lib.h
ib/lshrdi3.c
ib/muldf3.c
ib/muldi3.c
ib/mulsf3.c
ib/negdf2.c
ib/negsf2.c
ib/subdf3.c
ib/subsf3.c
ib/truncdfsf2.c
ib/udivmoddi4.c
ib/udivsi3.c
|
e1f95ca8cf82f755d6c62a6dc5b745f2e5bdf7ba |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Make use of LOCAL_LABEL macro git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129767 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/udivmodsi4.S
ib/arm/udivsi3.S
ib/arm/umodsi3.S
|
647fc7336b2bc302bb51e50022b27bf9b929071c |
19-Apr-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Get rid of darwin'isms. Provide convenient macro for assembler local lables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129766 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/divmodsi4.S
ib/arm/divsi3.S
ib/arm/modsi3.S
ib/assembly.h
|
d0dbbc4c9ac73e7a7de8a90408a4982819e1811b |
19-Apr-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang_darwin: Tweak runtime library definitions to include divmod functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129757 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
7956ca95b55c421c99cc97932ad8f4dc5eb0e377 |
14-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9282305> install an archive for dyld and fix missing -static git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129492 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
|
4a3467bebb179d03af20c18133ca5d99a691322d |
14-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
don't add version info for static library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129489 91177308-0d34-0410-b5e6-96231b3b80d8
ib/apple_versioning.c
|
16dfc0b26052b7be98cd073c500e047b965e36b3 |
14-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9173756> enable CC.Release to be used always git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129487 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
7e9cd71711e5dbd9e62e69a3de58c134fdc68c4f |
12-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
fix typo git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129389 91177308-0d34-0410-b5e6-96231b3b80d8
ib/apple_versioning.c
|
bb301ce55d32adbe249f1303293750404237984a |
12-Apr-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9185449> update version info for arm git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129386 91177308-0d34-0410-b5e6-96231b3b80d8
ib/apple_versioning.c
|
358b3fd9c3fbdba1e0b8f5ed2aa4a4bfe62375eb |
25-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang/Darwin: Add all the comparison functions, the desire to cherry pick just the ones we want isn't worth the effort. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128298 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
ce750fdaab5c9c1d013817ad949c9109eb3f2af2 |
25-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
Revert "Split single & double comparison routines into separate implementation files," for now, I missed some necesary updates. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128296 91177308-0d34-0410-b5e6-96231b3b80d8
ib/comparedf2.c
ib/comparesf2.c
ib/eqdf2.c
ib/eqsf2.c
ib/fp_lib.h
ib/gedf2.c
ib/gesf2.c
ib/gtdf2.c
ib/gtsf2.c
ib/ledf2.c
ib/lesf2.c
ib/ltdf2.c
ib/ltsf2.c
ib/nedf2.c
ib/nesf2.c
ib/unorddf2.c
ib/unordsf2.c
ake/platform/clang_darwin.mk
|
fb92f4bd1dec8ddd6132d9a365fd7be3b8086824 |
25-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
Split single & double comparison routines into separate implementation files, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128282 91177308-0d34-0410-b5e6-96231b3b80d8
ib/comparedf2.c
ib/comparesf2.c
ib/eqdf2.c
ib/eqsf2.c
ib/fp_lib.h
ib/gedf2.c
ib/gesf2.c
ib/gtdf2.c
ib/gtsf2.c
ib/ledf2.c
ib/lesf2.c
ib/ltdf2.c
ib/ltsf2.c
ib/nedf2.c
ib/nesf2.c
ib/unorddf2.c
ib/unordsf2.c
ake/platform/clang_darwin.mk
|
f442f2622541ce54aea208fbe2ea5b79a104a481 |
22-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
compiler-rt/clang/cc_kext: Update for functions which we have sinced acquired implementations for. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128039 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
0868ca6589dee209effebdcb0aa2af1281b1a814 |
22-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
compiler-rt: Split subdf3 and subsf3 out of add implementations, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128038 91177308-0d34-0410-b5e6-96231b3b80d8
ib/adddf3.c
ib/addsf3.c
ib/subdf3.c
ib/subsf3.c
|
2caeeefe078e7c10170f02b717e4a5ab7623e554 |
21-Mar-2011 |
Stephen Canon <scanon@apple.com> |
slight re-arrangement to maybe pick up one cycle on dual-issue ARM cores git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@128003 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/divmodsi4.S
|
6bbe0bb0856f7e7cabe11bc0a10c268db034142b |
18-Mar-2011 |
Stephen Canon <scanon@apple.com> |
Carefully written implementations of the 32-bit integer divide and modulus functions for ARM. These are still using a naive digit-by-digit algorithm, but the core loop has been carefully written. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127882 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/divmodsi4.S
ib/arm/divsi3.S
ib/arm/modsi3.S
ib/arm/udivmodsi4.S
ib/arm/udivsi3.S
ib/arm/umodsi3.S
|
5c0809916b70dbb754cf0c999e2923909e5603c6 |
17-Mar-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/8914924> implement udivmodsi4 and divmodsi4 for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127778 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
ib/divmodsi4.c
ib/udivmodsi4.c
ake/platform/darwin_bni.mk
est/Unit/divmodsi4_test.c
est/Unit/udivmodsi4_test.c
|
1ea7a40c373d811250eb59259140453461e50c30 |
16-Mar-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9145073> use -Os for release builds git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127767 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
|
ee841f4a4aea0739d9a2e19e42593504ed873a78 |
10-Mar-2011 |
Chris Lattner <sabre@nondot.org> |
don't compile modsi3 into an infinite loop, patch by Matt Johnson! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127429 91177308-0d34-0410-b5e6-96231b3b80d8
ib/modsi3.c
|
b1aee72ea035253883718d2f895dda17e4052f08 |
08-Mar-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9099747> fix use of SDKROOT git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127270 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
|
3d40740383d6b80ab071b0f645b80f533c9bd55d |
05-Mar-2011 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/9091300> update Apple packaging of compiler-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127057 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/softfloat-alias.list
ake/AppleBI.mk
|
e512f7ffd8b7e6636b4a5cb66b2968b2c3608ff5 |
21-Jan-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang_darwin: We don't need clear_cache for use with Clang on ARM/Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123989 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
4e105fbbc36f267636e4fb5627a7a5face201ad9 |
21-Jan-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang_darwin: Build with -fno-builtin, primarily to avoid issues with defining possible builtin functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123988 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
cfa4feae4eafbc8a4eab2d6b25425fb3e7182581 |
21-Jan-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang_darwin: Start building an armv7 slice for cc_kext. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123987 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
341b7de5824fea386018ee7e5da9dfb2d0f8b786 |
21-Jan-2011 |
Daniel Dunbar <daniel@zuster.org> |
clang_darwin: Build cckext bits with -mthumb. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123986 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
ed9b014382e7af5d62358dd7cddc58598b050fd5 |
21-Jan-2011 |
Daniel Dunbar <daniel@zuster.org> |
Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123985 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
c31717b18c76a584eb36e49a31eff6810118b834 |
07-Jan-2011 |
Nick Kledzik <kledzik@apple.com> |
Add missing <stdint.h> to build properly on Solaris. Patch by Joakim Johansson git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123006 91177308-0d34-0410-b5e6-96231b3b80d8
ib/int_lib.h
|
9ad441ffec97db647fee3725b3424284fb913e14 |
16-Nov-2010 |
Howard Hinnant <hhinnant@apple.com> |
license change git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@119397 91177308-0d34-0410-b5e6-96231b3b80d8
REDITS.TXT
ib/absvdi2.c
ib/absvsi2.c
ib/absvti2.c
ib/adddf3.c
ib/addsf3.c
ib/addvdi3.c
ib/addvsi3.c
ib/addvti3.c
ib/apple_versioning.c
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
ib/arm/comparesf2.S
ib/arm/divdf3vfp.S
ib/arm/divsf3vfp.S
ib/arm/eqdf2vfp.S
ib/arm/eqsf2vfp.S
ib/arm/extendsfdf2vfp.S
ib/arm/fixdfsivfp.S
ib/arm/fixsfsivfp.S
ib/arm/fixunsdfsivfp.S
ib/arm/fixunssfsivfp.S
ib/arm/floatsidfvfp.S
ib/arm/floatsisfvfp.S
ib/arm/floatunssidfvfp.S
ib/arm/floatunssisfvfp.S
ib/arm/gedf2vfp.S
ib/arm/gesf2vfp.S
ib/arm/gtdf2vfp.S
ib/arm/gtsf2vfp.S
ib/arm/ledf2vfp.S
ib/arm/lesf2vfp.S
ib/arm/ltdf2vfp.S
ib/arm/ltsf2vfp.S
ib/arm/modsi3.S
ib/arm/muldf3vfp.S
ib/arm/mulsf3vfp.S
ib/arm/nedf2vfp.S
ib/arm/negdf2vfp.S
ib/arm/negsf2vfp.S
ib/arm/nesf2vfp.S
ib/arm/restore_vfp_d8_d15_regs.S
ib/arm/save_vfp_d8_d15_regs.S
ib/arm/subdf3vfp.S
ib/arm/subsf3vfp.S
ib/arm/switch16.S
ib/arm/switch32.S
ib/arm/switch8.S
ib/arm/switchu8.S
ib/arm/sync_synchronize.S
ib/arm/truncdfsf2vfp.S
ib/arm/unorddf2vfp.S
ib/arm/unordsf2vfp.S
ib/ashldi3.c
ib/ashlti3.c
ib/ashrdi3.c
ib/ashrti3.c
ib/assembly.h
ib/clear_cache.c
ib/clzdi2.c
ib/clzsi2.c
ib/clzti2.c
ib/cmpdi2.c
ib/cmpti2.c
ib/comparedf2.c
ib/comparesf2.c
ib/ctzdi2.c
ib/ctzsi2.c
ib/ctzti2.c
ib/divdc3.c
ib/divdf3.c
ib/divdi3.c
ib/divsc3.c
ib/divsf3.c
ib/divsi3.c
ib/divti3.c
ib/divxc3.c
ib/enable_execute_stack.c
ib/endianness.h
ib/eprintf.c
ib/extendsfdf2.c
ib/ffsdi2.c
ib/ffsti2.c
ib/fixdfdi.c
ib/fixdfsi.c
ib/fixdfti.c
ib/fixsfdi.c
ib/fixsfsi.c
ib/fixsfti.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunsdfti.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/fixunssfti.c
ib/fixunsxfdi.c
ib/fixunsxfsi.c
ib/fixunsxfti.c
ib/fixxfdi.c
ib/fixxfti.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatdixf.c
ib/floatsidf.c
ib/floatsisf.c
ib/floattidf.c
ib/floattisf.c
ib/floattixf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatundixf.c
ib/floatunsidf.c
ib/floatunsisf.c
ib/floatuntidf.c
ib/floatuntisf.c
ib/floatuntixf.c
ib/fp_lib.h
ib/gcc_personality_v0.c
ib/i386/ashldi3.S
ib/i386/ashrdi3.S
ib/i386/divdi3.S
ib/i386/floatdidf.S
ib/i386/floatdisf.S
ib/i386/floatdixf.S
ib/i386/floatundidf.S
ib/i386/floatundisf.S
ib/i386/floatundixf.S
ib/i386/lshrdi3.S
ib/i386/moddi3.S
ib/i386/muldi3.S
ib/i386/udivdi3.S
ib/i386/umoddi3.S
ib/int_lib.h
ib/lshrdi3.c
ib/lshrti3.c
ib/moddi3.c
ib/modsi3.c
ib/modti3.c
ib/muldc3.c
ib/muldf3.c
ib/muldi3.c
ib/mulsc3.c
ib/mulsf3.c
ib/multi3.c
ib/mulvdi3.c
ib/mulvsi3.c
ib/mulvti3.c
ib/mulxc3.c
ib/negdf2.c
ib/negdi2.c
ib/negsf2.c
ib/negti2.c
ib/negvdi2.c
ib/negvsi2.c
ib/negvti2.c
ib/paritydi2.c
ib/paritysi2.c
ib/parityti2.c
ib/popcountdi2.c
ib/popcountsi2.c
ib/popcountti2.c
ib/powidf2.c
ib/powisf2.c
ib/powitf2.c
ib/powixf2.c
ib/ppc/restFP.S
ib/ppc/saveFP.S
ib/subvdi3.c
ib/subvsi3.c
ib/subvti3.c
ib/trampoline_setup.c
ib/truncdfsf2.c
ib/ucmpdi2.c
ib/ucmpti2.c
ib/udivdi3.c
ib/udivmoddi4.c
ib/udivmodti4.c
ib/udivsi3.c
ib/udivti3.c
ib/umoddi3.c
ib/umodsi3.c
ib/umodti3.c
ib/x86_64/floatundidf.S
ib/x86_64/floatundisf.S
ib/x86_64/floatundixf.S
est/Unit/absvdi2_test.c
est/Unit/absvsi2_test.c
est/Unit/absvti2_test.c
est/Unit/adddf3vfp_test.c
est/Unit/addsf3vfp_test.c
est/Unit/addvdi3_test.c
est/Unit/addvsi3_test.c
est/Unit/addvti3_test.c
est/Unit/ashldi3_test.c
est/Unit/ashlti3_test.c
est/Unit/ashrdi3_test.c
est/Unit/ashrti3_test.c
est/Unit/bswapdi2_test.c
est/Unit/bswapsi2_test.c
est/Unit/clear_cache_test.c
est/Unit/clzdi2_test.c
est/Unit/clzsi2_test.c
est/Unit/clzti2_test.c
est/Unit/cmpdi2_test.c
est/Unit/cmpti2_test.c
est/Unit/comparedf2_test.c
est/Unit/comparesf2_test.c
est/Unit/ctzdi2_test.c
est/Unit/ctzsi2_test.c
est/Unit/ctzti2_test.c
est/Unit/divdc3_test.c
est/Unit/divdf3vfp_test.c
est/Unit/divdi3_test.c
est/Unit/divsc3_test.c
est/Unit/divsf3vfp_test.c
est/Unit/divsi3_test.c
est/Unit/divtc3_test.c
est/Unit/divti3_test.c
est/Unit/divxc3_test.c
est/Unit/enable_execute_stack_test.c
est/Unit/endianness.h
est/Unit/eqdf2vfp_test.c
est/Unit/eqsf2vfp_test.c
est/Unit/extebdsfdf2vfp_test.c
est/Unit/ffsdi2_test.c
est/Unit/ffsti2_test.c
est/Unit/fixdfdi_test.c
est/Unit/fixdfsivfp_test.c
est/Unit/fixdfti_test.c
est/Unit/fixsfdi_test.c
est/Unit/fixsfsivfp_test.c
est/Unit/fixsfti_test.c
est/Unit/fixunsdfdi_test.c
est/Unit/fixunsdfsi_test.c
est/Unit/fixunsdfsivfp_test.c
est/Unit/fixunsdfti_test.c
est/Unit/fixunssfdi_test.c
est/Unit/fixunssfsi_test.c
est/Unit/fixunssfsivfp_test.c
est/Unit/fixunssfti_test.c
est/Unit/fixunstfdi_test.c
est/Unit/fixunsxfdi_test.c
est/Unit/fixunsxfsi_test.c
est/Unit/fixunsxfti_test.c
est/Unit/fixxfdi_test.c
est/Unit/fixxfti_test.c
est/Unit/floatdidf_test.c
est/Unit/floatdisf_test.c
est/Unit/floatdixf_test.c
est/Unit/floatsidfvfp_test.c
est/Unit/floatsisfvfp_test.c
est/Unit/floattidf_test.c
est/Unit/floattisf_test.c
est/Unit/floattixf_test.c
est/Unit/floatundidf_test.c
est/Unit/floatundisf_test.c
est/Unit/floatundixf_test.c
est/Unit/floatunssidfvfp_test.c
est/Unit/floatunssisfvfp_test.c
est/Unit/floatuntidf_test.c
est/Unit/floatuntisf_test.c
est/Unit/floatuntixf_test.c
est/Unit/gcc_personality_test.c
est/Unit/gcc_personality_test_helper.cxx
est/Unit/gedf2vfp_test.c
est/Unit/gesf2vfp_test.c
est/Unit/gtdf2vfp_test.c
est/Unit/gtsf2vfp_test.c
est/Unit/ledf2vfp_test.c
est/Unit/lesf2vfp_test.c
est/Unit/lshrdi3_test.c
est/Unit/lshrti3_test.c
est/Unit/ltdf2vfp_test.c
est/Unit/ltsf2vfp_test.c
est/Unit/moddi3_test.c
est/Unit/modsi3_test.c
est/Unit/modti3_test.c
est/Unit/muldc3_test.c
est/Unit/muldf3vfp_test.c
est/Unit/muldi3_test.c
est/Unit/mulsc3_test.c
est/Unit/mulsf3vfp_test.c
est/Unit/multc3_test.c
est/Unit/multi3_test.c
est/Unit/mulvdi3_test.c
est/Unit/mulvsi3_test.c
est/Unit/mulvti3_test.c
est/Unit/mulxc3_test.c
est/Unit/nedf2vfp_test.c
est/Unit/negdf2vfp_test.c
est/Unit/negdi2_test.c
est/Unit/negsf2vfp_test.c
est/Unit/negti2_test.c
est/Unit/negvdi2_test.c
est/Unit/negvsi2_test.c
est/Unit/negvti2_test.c
est/Unit/nesf2vfp_test.c
est/Unit/paritydi2_test.c
est/Unit/paritysi2_test.c
est/Unit/parityti2_test.c
est/Unit/popcountdi2_test.c
est/Unit/popcountsi2_test.c
est/Unit/popcountti2_test.c
est/Unit/powidf2_test.c
est/Unit/powisf2_test.c
est/Unit/powitf2_test.c
est/Unit/powixf2_test.c
est/Unit/subdf3vfp_test.c
est/Unit/subsf3vfp_test.c
est/Unit/subvdi3_test.c
est/Unit/subvsi3_test.c
est/Unit/subvti3_test.c
est/Unit/trampoline_setup_test.c
est/Unit/truncdfsf2vfp_test.c
est/Unit/ucmpdi2_test.c
est/Unit/ucmpti2_test.c
est/Unit/udivdi3_test.c
est/Unit/udivmoddi4_test.c
est/Unit/udivmodti4_test.c
est/Unit/udivsi3_test.c
est/Unit/udivti3_test.c
est/Unit/umoddi3_test.c
est/Unit/umodsi3_test.c
est/Unit/umodti3_test.c
est/Unit/unorddf2vfp_test.c
est/Unit/unordsf2vfp_test.c
|
4b1219694b97516aa72ca498a336dbf19f295fd2 |
16-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
compiler_rt is now dual licensed under MIT and UIUC license. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@119389 91177308-0d34-0410-b5e6-96231b3b80d8
ICENSE.TXT
ww/index.html
|
1d16fdede4010acc771695cbcec63aa650564b99 |
14-Oct-2010 |
Daniel Dunbar <daniel@zuster.org> |
make: Add CheckCommandLineOverrides to my little Makefile library, a routine for validating the variables set on the make command line. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@116517 91177308-0d34-0410-b5e6-96231b3b80d8
ake/util.mk
|
8dd243303ae52a4bd6b389516a412eab32b25516 |
27-Sep-2010 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/8482056> Add Soft Floating Compares for armv6 and armv7 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@114854 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
ab94fd371211921be9ee3b3c7f9a817bddaff3e3 |
22-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
compiler-rt/clang/Darwin: Add a new library configuration which has nothing other than eprintf for i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@114504 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
4d055d584cdc9c65e09092238a905c6f20b829ec |
17-Aug-2010 |
Stephen Canon <scanon@apple.com> |
Adds an extra explicit cast to fix Bug 7931 and removes codepaths that were never used git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@111269 91177308-0d34-0410-b5e6-96231b3b80d8
ib/floatsidf.c
ib/floatunsidf.c
|
86d0ba4286ec42dcd055bd22434c7f40009834bd |
05-Aug-2010 |
Blaine Garst <blaine@apple.com> |
add unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@110278 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/tests/block-static.c
locksRuntime/tests/blockimport.c
locksRuntime/tests/byrefaccess.c
locksRuntime/tests/byrefcopy.c
locksRuntime/tests/byrefcopycopy.c
locksRuntime/tests/byrefcopyinner.c
locksRuntime/tests/byrefcopyint.c
locksRuntime/tests/byrefcopystack.c
locksRuntime/tests/byrefsanity.c
locksRuntime/tests/byrefstruct.c
locksRuntime/tests/c99.c
locksRuntime/tests/cast.c
locksRuntime/tests/constassign.c
locksRuntime/tests/copy-block-literal-rdar6439600.c
locksRuntime/tests/copyconstructor.C
locksRuntime/tests/copynull.c
locksRuntime/tests/dispatch_async.c
locksRuntime/tests/dispatch_call_Block_with_release.c
locksRuntime/tests/fail.c
locksRuntime/tests/flagsisa.c
locksRuntime/tests/globalexpression.c
locksRuntime/tests/goto.c
locksRuntime/tests/hasdescriptor.c
locksRuntime/tests/josh.C
locksRuntime/tests/k-and-r.c
locksRuntime/tests/large-struct.c
locksRuntime/tests/localisglobal.c
locksRuntime/tests/macro.c
locksRuntime/tests/makefile
locksRuntime/tests/modglobal.c
locksRuntime/tests/nestedimport.c
locksRuntime/tests/nullblockisa.c
locksRuntime/tests/objectRRGC.c
locksRuntime/tests/objectassign.c
locksRuntime/tests/orbars.c
locksRuntime/tests/rdar6396238.c
locksRuntime/tests/rdar6405500.c
locksRuntime/tests/rdar6414583.c
locksRuntime/tests/recursive-block.c
locksRuntime/tests/recursive-test.c
locksRuntime/tests/recursiveassign.c
locksRuntime/tests/reference.C
locksRuntime/tests/rettypepromotion.c
locksRuntime/tests/returnfunctionptr.c
locksRuntime/tests/shorthandexpression.c
locksRuntime/tests/sizeof.c
locksRuntime/tests/small-struct.c
locksRuntime/tests/structmember.c
locksRuntime/tests/testfilerunner.h
locksRuntime/tests/testfilerunner.m
locksRuntime/tests/varargs-bad-assign.c
locksRuntime/tests/varargs.c
locksRuntime/tests/variadic.c
locksRuntime/tests/voidarg.c
|
dada27592510a7f922a3198fd1dff1e391734182 |
27-Jul-2010 |
Nick Kledzik <kledzik@apple.com> |
add assembly implementation of modsi3 so compiler does not have to special case a - (a / b) * b optimization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@109492 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/modsi3.S
|
c41370b2c334c673a95eda48e93c07b28dccd949 |
26-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Fix error in rep_clz on non-LP64 targets. Patch by Christoph Gerum git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@109416 91177308-0d34-0410-b5e6-96231b3b80d8
ib/fp_lib.h
|
c8c6359f296d4f9e03b378b16ae34fb301e6b155 |
08-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Hand-tuning of single-precision soft-float comparison routines for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107891 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/comparesf2.S
|
dc0b559909e05c7296de455393657b2b62eee11b |
04-Jul-2010 |
Nick Kledzik <kledzik@apple.com> |
fix install location git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107589 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
|
3c2c684ce20c998bc027c162b7db853a43864e5c |
04-Jul-2010 |
Nick Kledzik <kledzik@apple.com> |
fix arvm5 builds git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107588 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/Makefile.mk
ake/platform/darwin_bni.mk
ake/platform/darwin_fat.mk
|
12a7d094b185795f478308f4fc27b43abebdde07 |
04-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Initial implementation of double-precision soft-float division, moved a couple utility functions from the multiplications into the utility header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107586 91177308-0d34-0410-b5e6-96231b3b80d8
ib/divdf3.c
ib/divsf3.c
ib/fp_lib.h
ib/muldf3.c
ib/mulsf3.c
|
c9d2b05ea63194c54f5f69aa35062c3f925c75ca |
04-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Single-precision soft-float division git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107579 91177308-0d34-0410-b5e6-96231b3b80d8
ib/divsf3.c
|
e735b297d08ea30dee8828ce18bfbe6c3e72c0f7 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Further cleanup of ARM bswap implementations, thanks to John Tytgat git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107576 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
|
fe22a3f1e1abddc4a512aa8f9bed64b3ada78094 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Marginally smaller implementations of bswap for ARMv4, ARMv5 that avoid the need to establish a frame git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107555 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
|
b6d4e2e3a87eb3c9a6dec0ad21d4c1dec545c137 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Renamed unsigned->float routines to match GCC convention git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107554 91177308-0d34-0410-b5e6-96231b3b80d8
ib/floatunsidf.c
ib/floatunsisf.c
ib/floatunssidf.c
ib/floatunssisf.c
ib/negdf2.c
ib/negsf2.c
|
455c2633311fe29b036a53eb466f6d65af97de4f |
03-Jul-2010 |
Nick Kledzik <kledzik@apple.com> |
ARM before armv6 did not supprt 'rev' instruction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107548 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
|
09009c50dd7118ed0bdf97e5c37e23c25e443682 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
[unsigned] int -> float soft-float conversions for single- and double-precision git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107535 91177308-0d34-0410-b5e6-96231b3b80d8
ib/floatsidf.c
ib/floatsisf.c
ib/floatunssidf.c
ib/floatunssisf.c
|
0ef6213cf2363ad443b92a2a7396e7c3fb32c630 |
03-Jul-2010 |
Stephen Canon <scanon@apple.com> |
float- and double-to-integer soft-float conversions for compiler-rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107524 91177308-0d34-0410-b5e6-96231b3b80d8
ib/fixdfsi.c
ib/fixsfsi.c
|
26e5f16341a8fcb99778cdeedc812e87ae756a69 |
01-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Tests for soft-float comparison functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107414 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/comparedf2_test.c
est/Unit/comparesf2_test.c
|
450137986bf514396d008d246b26a93c7362b34c |
01-Jul-2010 |
Stephen Canon <scanon@apple.com> |
... and one more fix to remove some warnings in the new double -> float conversion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107409 91177308-0d34-0410-b5e6-96231b3b80d8
ib/truncdfsf2.c
|
5c6d2ecb9c43d8b836b3203a243e24703d473765 |
01-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Correction to previous commit which mistakenly included older versions of some files; now includes the correct LLVM license header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107408 91177308-0d34-0410-b5e6-96231b3b80d8
ib/adddf3.c
ib/addsf3.c
ib/comparedf2.c
ib/comparesf2.c
ib/extendsfdf2.c
ib/fp_lib.h
ib/muldf3.c
ib/mulsf3.c
ib/negdf2.c
ib/negsf2.c
ib/truncdfsf2.c
|
e5086322295e5a345af02d09abfcf8ddca2d0897 |
01-Jul-2010 |
Stephen Canon <scanon@apple.com> |
Adding soft-float comparisons, addition, subtraction, multiplication and negation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@107400 91177308-0d34-0410-b5e6-96231b3b80d8
ib/adddf3.c
ib/addsf3.c
ib/comparedf2.c
ib/comparesf2.c
ib/extendsfdf2.c
ib/fp_lib.h
ib/muldf3.c
ib/mulsf3.c
ib/negdf2.c
ib/negsf2.c
|
06dfcbe20aff576643a0ecb2925f5f8e16df0a54 |
19-Jun-2010 |
Stephen Canon <scanon@apple.com> |
This is a test commit to verify repository access. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@106376 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
|
62d7d5fdd6db131361f865fe96f5ce4e3b2738a9 |
15-May-2010 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/7987491> Libcompiler_rt isn't platform aware git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@103852 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
4e8f12f9a62377bbe2ef1f02b3c1ef9b8f8d1407 |
08-May-2010 |
Nick Kledzik <kledzik@apple.com> |
tweak arm exports git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@103331 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
2579d72d1a7d462a2344b38cb1125cf15e26d5fb |
08-May-2010 |
Nick Kledzik <kledzik@apple.com> |
sjlj based personality requires a different name git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@103330 91177308-0d34-0410-b5e6-96231b3b80d8
ib/gcc_personality_v0.c
|
1bb4c3837fcf384c0106191fc405160e74d7d679 |
04-May-2010 |
Chris Lattner <sabre@nondot.org> |
improve bullets, patch by Mike Miller git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@103000 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
ffd69e7b181a486cbba10deb386558cf3ff5e24a |
30-Apr-2010 |
Charles Davis <cdavis@mines.edu> |
Fix build with MSVC. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@102671 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/Block_private.h
locksRuntime/runtime.c
|
afb7b6e421785106a7e13e13c2a5320e3f1d9bd3 |
22-Apr-2010 |
Nick Kledzik <kledzik@apple.com> |
improve arm build support on darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@102032 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
ake/platform/darwin_bni.mk
|
d016b38b065fbe3e22584728c3b8bc55fc8a5f9c |
22-Apr-2010 |
Nick Kledzik <kledzik@apple.com> |
add explicit alignment directives to assure arm code is 4-byte aligned git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@102030 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
ib/arm/divdf3vfp.S
ib/arm/divsf3vfp.S
ib/arm/eqdf2vfp.S
ib/arm/eqsf2vfp.S
ib/arm/extendsfdf2vfp.S
ib/arm/fixdfsivfp.S
ib/arm/fixsfsivfp.S
ib/arm/fixunsdfsivfp.S
ib/arm/fixunssfsivfp.S
ib/arm/floatsidfvfp.S
ib/arm/floatsisfvfp.S
ib/arm/floatunssidfvfp.S
ib/arm/floatunssisfvfp.S
ib/arm/gedf2vfp.S
ib/arm/gesf2vfp.S
ib/arm/gtdf2vfp.S
ib/arm/gtsf2vfp.S
ib/arm/ledf2vfp.S
ib/arm/lesf2vfp.S
ib/arm/ltdf2vfp.S
ib/arm/ltsf2vfp.S
ib/arm/muldf3vfp.S
ib/arm/mulsf3vfp.S
ib/arm/nedf2vfp.S
ib/arm/negdf2vfp.S
ib/arm/negsf2vfp.S
ib/arm/nesf2vfp.S
ib/arm/restore_vfp_d8_d15_regs.S
ib/arm/save_vfp_d8_d15_regs.S
ib/arm/subdf3vfp.S
ib/arm/subsf3vfp.S
ib/arm/switch16.S
ib/arm/switch32.S
ib/arm/switch8.S
ib/arm/switchu8.S
ib/arm/sync_synchronize.S
ib/arm/truncdfsf2vfp.S
ib/arm/unorddf2vfp.S
ib/arm/unordsf2vfp.S
|
b1c07156bab839c0502789f09654ec5da8d33c39 |
21-Apr-2010 |
Blaine Garst <blaine@apple.com> |
update copyright notices git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@101986 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/Block.h
locksRuntime/Block_private.h
locksRuntime/data.c
locksRuntime/runtime.c
|
d0d9913a7456c5fad3f4b09e0c94ab893077d1dd |
15-Apr-2010 |
Nick Kledzik <kledzik@apple.com> |
add include of int_lib.h to match change to use compilerrt_abort() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@101396 91177308-0d34-0410-b5e6-96231b3b80d8
ib/gcc_personality_v0.c
ib/trampoline_setup.c
|
e972d67ffbcd45e7b5f19cd404e41f4f505bfa76 |
01-Apr-2010 |
Daniel Dunbar <daniel@zuster.org> |
clang/Darwin: Don't include enable_execute_stack in libcc_kext.a. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100055 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
1f7ee1d663fc2c0f8760e5b78b1e5212b639964d |
31-Mar-2010 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/7733536> Move libcompiler_rt over to a dylib target for Libsystem git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100045 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
ake/platform/darwin_bni.mk
|
e7d0a5c76ca8dfd6277099b89f8bf65cfdab8842 |
31-Mar-2010 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/7813254> check enable_execute_stack implementation git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100036 91177308-0d34-0410-b5e6-96231b3b80d8
ib/enable_execute_stack.c
|
d3d22631ca0b314f0564a9bcfe96dd2d6ca85fa6 |
31-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add new build option KERNEL_USE, which compiles with -mkernel and gets propogated to CFLAGS. Use this to call panic() instead of abort() when enabled. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100015 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ib/int_lib.h
ake/lib_info.mk
ake/platform/clang_darwin.mk
|
48f46ac1d9a82210f6e469567cb60aa7e7cd2f3b |
31-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Use a private compilerrt_abort() define instead of calling abort directly. - Fiddling with abort directly is annoying given the way we use system includes, although it would be nice to fix this so we could make sure calling abort directly is verboten. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100014 91177308-0d34-0410-b5e6-96231b3b80d8
ib/absvdi2.c
ib/absvsi2.c
ib/absvti2.c
ib/addvdi3.c
ib/addvsi3.c
ib/addvti3.c
ib/clear_cache.c
ib/eprintf.c
ib/gcc_personality_v0.c
ib/int_lib.h
ib/mulvdi3.c
ib/mulvsi3.c
ib/mulvti3.c
ib/negvdi2.c
ib/negvsi2.c
ib/negvti2.c
ib/subvdi3.c
ib/subvsi3.c
ib/subvti3.c
ib/trampoline_setup.c
|
95f271b12981bf7f9254fcd4f51be441aa73e638 |
26-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Don't build an armv7 slice for now, it has the same stuff as on armv6. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@99654 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
b0be8f126f939dc6c7fdcb2489926556e62ed86d |
26-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Clang/Darwin: Add definition for files to put in cc_kext.a. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@99632 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
8ed16511fc83c535281b9770e2d17c1feb4f7bf5 |
02-Feb-2010 |
Nick Kledzik <kledzik@apple.com> |
add __sync_synchronize. Needed by compiler when emitting thumb1 with -fno-builtin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@95132 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/sync_synchronize.S
ake/platform/darwin_bni.mk
|
182800c03b0e14da4a9afd94cda44bf606fcda5f |
02-Feb-2010 |
Nick Kledzik <kledzik@apple.com> |
add compiler options for B&I builds git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@95123 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
e69709017819b9c267f6d55a58de9c9323131e06 |
01-Feb-2010 |
Nick Kledzik <kledzik@apple.com> |
FUNCTIONS.armv6 to have actual function names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@95018 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/darwin_bni.mk
|
a5556d7d7a7a7ff3ef4f7f78b4816dc60709b68e |
22-Jan-2010 |
Nick Kledzik <kledzik@apple.com> |
document runtime support functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@94223 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
|
d5feee3db8cf84a5789b728e223988f207b5ecbb |
22-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Tweak clang_darwin config to strip off any -arch if the user overrides CC, we do this during an Apple style build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@94216 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
82e3b8b100a8e96672709e5a00d299162090e885 |
20-Jan-2010 |
Howard Hinnant <hhinnant@apple.com> |
Updated README.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@94016 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
|
09d99f308a00b96bbe5eb7fd383da87be037c23c |
20-Jan-2010 |
Howard Hinnant <hhinnant@apple.com> |
Updated README.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@94011 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
|
b04c2c4ddd4e51075ea377e7c4d603f8bb9bf617 |
20-Jan-2010 |
Nick Kledzik <kledzik@apple.com> |
fix return type of _Unwind_Exception.exception_cleanup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93983 91177308-0d34-0410-b5e6-96231b3b80d8
ib/gcc_personality_v0.c
|
4a32c6e4fdcefa55602615c8fdb756af613a2a8e |
20-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
clang/Darwin: Rename x86_10.4 static lib config to just 10.4, and add 'eprintf' which seems to be needed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93969 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
8b790353436e0815e6b94a018c6e6b314cba9042 |
19-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add .mk for use by clang/Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93817 91177308-0d34-0410-b5e6-96231b3b80d8
ake/platform/clang_darwin.mk
|
06f38e5fc22bbeadabc1be11eb77f6d27cd3140c |
19-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Allow UniversalArchs variable to be overridden on a per-config basis. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93816 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/lib_platforms.mk
|
d057f7d5eec11c118af2a0620cb06495f03ca8b3 |
19-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Split up switch.S and save_restore_d8_d15.S to follow one function per file convention. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93815 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/restore_vfp_d8_d15_regs.S
ib/arm/save_restore_d8_d15.S
ib/arm/save_vfp_d8_d15_regs.S
ib/arm/switch.S
ib/arm/switch16.S
ib/arm/switch32.S
ib/arm/switch8.S
ib/arm/switchu8.S
|
6a571fb3c515c5ea53308ba0eda750e8dd76ef6b |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add a VISIBILITY_HIDDEN option, which can be used to make all compiler-rt function definitions hidden/private extern. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93790 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ib/assembly.h
ake/lib_info.mk
ake/options.mk
ake/platform/darwin_bni.mk
ake/platform/darwin_fat.mk
ake/platform/multi_arch.mk
|
4c01bb7a1fc5ea65e39a63593d96fa3ef5aaeed4 |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Unbreak symbol mangling in .s files, at least for Darwin/Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93789 91177308-0d34-0410-b5e6-96231b3b80d8
ib/assembly.h
|
e136da97a5700d25a2d23aa90ed714129b84fcdf |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add DEFINE_COMPILERRT_PRIVATE_FUNCTION_UNMANGLED for use in .S files -- restFP and saveFP don't get USER_LABEL_PREFIX prepended for some reason. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93788 91177308-0d34-0410-b5e6-96231b3b80d8
ib/assembly.h
ib/ppc/restFP.S
ib/ppc/saveFP.S
|
3c2a776b59f0c349b7ba8ec716266e6691f9df6f |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Update Apple-style build support for new Makefiles git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93721 91177308-0d34-0410-b5e6-96231b3b80d8
ake/AppleBI.mk
ake/platform/darwin_bni.mk
|
48464e0ee1c2de5bcbf0d609348f55d0c301085d |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add support for "platform" configurations, which define a suite of compiler-rt libraries to generate. - Each library may be built with different flags and for different architectures, and there is support for building Darwin style fat archives. - Uses an ambituous amount of make programming, but should be hidden to users and developers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93720 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/config.mk
ake/lib_info.mk
ake/lib_platforms.mk
ake/lib_util.mk
ake/options.mk
ake/platform/darwin_fat.mk
ake/platform/multi_arch.mk
ake/subdir.mk
ake/test/test-util.mk
ake/util.mk
est/Unit/test
est/timing/time
|
ba990c4981acfa55893e809e5c72de2800e6bf0c |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Remove old build logic, this is going to be replaced by a more configurable mechanism shortly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93719 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/config.mk
ake/subdir.mk
|
6db90e61b58ae72b07faf3272fa9f15d4ad9b3bc |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Rename subdir 'Target' variable to 'Implementation' to be less overloaded. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93718 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ib/Makefile.mk
ib/arm/Makefile.mk
ib/i386/Makefile.mk
ib/ppc/Makefile.mk
ib/x86_64/Makefile.mk
ake/lib_info.mk
ake/lib_util.mk
ake/subdir.mk
|
78cfbc57c62949e16fa7b4a69775aa6450343a00 |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add 'SelectFunctionDir' function, to select appropriate function implementation based on a configuration and architecture. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93717 91177308-0d34-0410-b5e6-96231b3b80d8
gitignore
akefile
ake/lib_info.mk
ake/lib_util.mk
|
6260e4a3af0d4cd136e7976feb3465489da59141 |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add more make utility functions. - With tests. :) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93716 91177308-0d34-0410-b5e6-96231b3b80d8
ake/test/test-util.mk
ake/util.mk
|
9edf5cdd69d2d2a74b37ec14e475c5d6367e6eec |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Change subdir traversal to primarily cache information about what is available in subdirectories. - Rest of makefiles will move to using the information after it has been computed, instead of during subdir traversal. Also, add 'make info-functions' target, which prints information on all the functions available in compiler-rt. Also, add 'make help-devel' for listing help on targets intended for compiler-rt developers or direct users. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93715 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/subdir.mk
|
faf0150036689985ecea64e78f2637093857cd7b |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Simplify subdirectory makefiles, and be more robust by checking that they define the appropriate variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93714 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ib/Makefile.mk
ib/arm/Makefile.mk
ib/i386/Makefile.mk
ib/ppc/Makefile.mk
ib/x86_64/Makefile.mk
ake/config.mk
ake/subdir.mk
ake/util.mk
|
f5722759b8fd2ae65042fe6f87908e3569dbfdf0 |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add basic make {help,help-hidden} targets. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93713 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
a68b0e41908d057f81f31e25346c8b96436b7e4b |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Rename DebugMake variable to DEBUGMAKE for consistency (variables that are designed to be overridden), and use VERBOSE=1 instead of VERBOSE!="" for controlling verbosity. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93712 91177308-0d34-0410-b5e6-96231b3b80d8
ake/config.mk
ake/subdir.mk
|
26d53d047263ca5f5afd81b0c0ecc6d35acebf53 |
18-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Unbreak trampoline test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93711 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/trampoline_setup_test.c
|
557a6eace292091d14419a334e8d62d9ec9e772b |
13-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Tidy up comments, remove whitespace, and rename 'print-%' make debugging target to 'make-print-%' to match LLVM. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93319 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/AppleBI.mk
ake/config.mk
ake/subdir.mk
ake/util.mk
|
fe4eb31f6b835d1cca3edb43db307ba36f603248 |
13-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
Sink {config.h,ConfigureChecks}.cmake into cmake directory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93318 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
onfigureChecks.cmake
make/ConfigureChecks.cmake
make/config.h.cmake
onfig.h.cmake
|
1f1f71b353fd8335c8f9b0bce6bd32c25b4bd607 |
13-Jan-2010 |
Nick Kledzik <kledzik@apple.com> |
Fix copy/paste error. http://llvm.org/bugs/show_bug.cgi?id=572 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93297 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ppc/restFP.S
|
6f608d521539a6c6d492185c964853021ba4a5a3 |
09-Nov-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use __USER_LABEL_PREFIX__ so that we don't add a _ prefix on ELF. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@86542 91177308-0d34-0410-b5e6-96231b3b80d8
ib/assembly.h
|
eed1300f303841d026f0769e489d7c3df6e0e87f |
05-Nov-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix x86/x64 on Linux, Credit to Rafael Espindola. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@86075 91177308-0d34-0410-b5e6-96231b3b80d8
ib/i386/floatdidf.S
ib/i386/floatdixf.S
ib/i386/floatundidf.S
ib/i386/floatundisf.S
ib/i386/floatundixf.S
ib/x86_64/floatundidf.S
ib/x86_64/floatundisf.S
ib/x86_64/floatundixf.S
|
ac4c794c61fa1871e519ad3cf0b26a53c6bb0f3c |
01-Nov-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Add DragonFly BSD to supported platforms list. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85727 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
c8a260cfb7bee8b3291f4ee26a4ce5478e88e66a |
01-Nov-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix DragonFly BSD define in compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85726 91177308-0d34-0410-b5e6-96231b3b80d8
ib/endianness.h
|
786d7d65a4e0a2bbc15954ea331ea513e7629329 |
31-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix CMakeLists.txt comment. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85686 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
670d09f2bd1e8830cdb17b628a8d33012bf6af6a |
29-Oct-2009 |
Nick Kledzik <kledzik@apple.com> |
add __save_vfp_d8_d15_regs and __restore_vfp_d8_d15_regs for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85531 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/save_restore_d8_d15.S
ake/AppleBI.mk
|
fb0e92637bf32a414114a6541d5436f462343a7f |
29-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Nested function test in compiler-rt should not be run under Clang. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85456 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/trampoline_setup_test.c
|
f632c06a16ca6bf4c4abefb17cc1597f65cd7b41 |
29-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix test suit for last CMake changes to CompilerRT. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85452 91177308-0d34-0410-b5e6-96231b3b80d8
est/CMakeLists.txt
|
e1fa0f36a4dfcc7766987830c78b400bdbc25d79 |
29-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Update CMake build system with target arch source file lists. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85448 91177308-0d34-0410-b5e6-96231b3b80d8
ib/CMakeLists.txt
|
a07fa29cead05031869b7488f4e845584e57b628 |
28-Oct-2009 |
Shantonu Sen <ssen@apple.com> |
Work around strictness in gcc 4.4.1 casting a function pointer to void * git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85397 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/clear_cache_test.c
est/Unit/enable_execute_stack_test.c
|
8973a27a086ecf87536cf16c94c787fe92801a6c |
28-Oct-2009 |
Shantonu Sen <ssen@apple.com> |
Add stdlib.h for rand() prototype git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85396 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/absvdi2_test.c
est/Unit/absvsi2_test.c
est/Unit/absvti2_test.c
|
8c8d1aaf3b776095d1fe5018d4b16622b46d4e12 |
28-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Update web docs for cmake test suit, comment out broken test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85350 91177308-0d34-0410-b5e6-96231b3b80d8
est/CMakeLists.txt
ww/index.html
|
e4ff347b72eac564821263ba25adef961fbc4d1d |
28-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix cmake test suit for compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85339 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/MacroAddCheckTest.cmake
est/CMakeLists.txt
|
b4b1e8c5085cf83a50242057775a33ae4323d402 |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Switch to using DEFINE_COMPILERRT_[PRIVATE_]FUNCTION to define function symbols inside .S files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85264 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
ib/arm/divdf3vfp.S
ib/arm/divsf3vfp.S
ib/arm/eqdf2vfp.S
ib/arm/eqsf2vfp.S
ib/arm/extendsfdf2vfp.S
ib/arm/fixdfsivfp.S
ib/arm/fixsfsivfp.S
ib/arm/fixunsdfsivfp.S
ib/arm/fixunssfsivfp.S
ib/arm/floatsidfvfp.S
ib/arm/floatsisfvfp.S
ib/arm/floatunssidfvfp.S
ib/arm/floatunssisfvfp.S
ib/arm/gedf2vfp.S
ib/arm/gesf2vfp.S
ib/arm/gtdf2vfp.S
ib/arm/gtsf2vfp.S
ib/arm/ledf2vfp.S
ib/arm/lesf2vfp.S
ib/arm/ltdf2vfp.S
ib/arm/ltsf2vfp.S
ib/arm/muldf3vfp.S
ib/arm/mulsf3vfp.S
ib/arm/nedf2vfp.S
ib/arm/negdf2vfp.S
ib/arm/negsf2vfp.S
ib/arm/nesf2vfp.S
ib/arm/subdf3vfp.S
ib/arm/subsf3vfp.S
ib/arm/switch.S
ib/arm/truncdfsf2vfp.S
ib/arm/unorddf2vfp.S
ib/arm/unordsf2vfp.S
ib/i386/ashldi3.S
ib/i386/ashrdi3.S
ib/i386/divdi3.S
ib/i386/floatdidf.S
ib/i386/floatdisf.S
ib/i386/floatdixf.S
ib/i386/floatundidf.S
ib/i386/floatundisf.S
ib/i386/floatundixf.S
ib/i386/lshrdi3.S
ib/i386/moddi3.S
ib/i386/muldi3.S
ib/i386/udivdi3.S
ib/i386/umoddi3.S
ib/ppc/restFP.S
ib/ppc/saveFP.S
ib/x86_64/floatundidf.S
ib/x86_64/floatundisf.S
ib/x86_64/floatundixf.S
|
19336a2d6b9b375ac106125950f4ff09742d1aec |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add assembly.h for use in .S files. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85263 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/Makefile.mk
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
ib/arm/divdf3vfp.S
ib/arm/divsf3vfp.S
ib/arm/eqdf2vfp.S
ib/arm/eqsf2vfp.S
ib/arm/extendsfdf2vfp.S
ib/arm/fixdfsivfp.S
ib/arm/fixsfsivfp.S
ib/arm/fixunsdfsivfp.S
ib/arm/fixunssfsivfp.S
ib/arm/floatsidfvfp.S
ib/arm/floatsisfvfp.S
ib/arm/floatunssidfvfp.S
ib/arm/floatunssisfvfp.S
ib/arm/gedf2vfp.S
ib/arm/gesf2vfp.S
ib/arm/gtdf2vfp.S
ib/arm/gtsf2vfp.S
ib/arm/ledf2vfp.S
ib/arm/lesf2vfp.S
ib/arm/ltdf2vfp.S
ib/arm/ltsf2vfp.S
ib/arm/muldf3vfp.S
ib/arm/mulsf3vfp.S
ib/arm/nedf2vfp.S
ib/arm/negdf2vfp.S
ib/arm/negsf2vfp.S
ib/arm/nesf2vfp.S
ib/arm/subdf3vfp.S
ib/arm/subsf3vfp.S
ib/arm/switch.S
ib/arm/truncdfsf2vfp.S
ib/arm/unorddf2vfp.S
ib/arm/unordsf2vfp.S
ib/assembly.h
ib/i386/Makefile.mk
ib/i386/ashldi3.S
ib/i386/ashrdi3.S
ib/i386/divdi3.S
ib/i386/floatdidf.S
ib/i386/floatdisf.S
ib/i386/floatdixf.S
ib/i386/floatundidf.S
ib/i386/floatundisf.S
ib/i386/floatundixf.S
ib/i386/lshrdi3.S
ib/i386/moddi3.S
ib/i386/muldi3.S
ib/i386/udivdi3.S
ib/i386/umoddi3.S
ib/ppc/Makefile.mk
ib/ppc/restFP.S
ib/ppc/saveFP.S
ib/x86_64/Makefile.mk
ib/x86_64/floatundidf.S
ib/x86_64/floatundisf.S
ib/x86_64/floatundixf.S
|
51c80ccf6f7779c3b88e9ede81c0e0cfc35dc959 |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update some .S file headers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85262 91177308-0d34-0410-b5e6-96231b3b80d8
ib/i386/floatundidf.S
ib/ppc/restFP.S
ib/ppc/saveFP.S
ib/x86_64/floatundidf.S
|
cff5248a12a36a7225b707b23ac088f5ba214f8a |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix tests broken by removal of de-anonyomizing structs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85261 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/absvti2_test.c
est/Unit/addvti3_test.c
est/Unit/ashlti3_test.c
est/Unit/ashrti3_test.c
est/Unit/clzti2_test.c
est/Unit/cmpti2_test.c
est/Unit/ctzti2_test.c
est/Unit/divti3_test.c
est/Unit/ffsti2_test.c
est/Unit/fixdfti_test.c
est/Unit/fixsfti_test.c
est/Unit/fixunsdfti_test.c
est/Unit/fixunssfti_test.c
est/Unit/fixunsxfti_test.c
est/Unit/fixxfti_test.c
est/Unit/floattidf_test.c
est/Unit/floattisf_test.c
est/Unit/floattixf_test.c
est/Unit/floatuntidf_test.c
est/Unit/floatuntisf_test.c
est/Unit/floatuntixf_test.c
est/Unit/lshrti3_test.c
est/Unit/modti3_test.c
est/Unit/multi3_test.c
est/Unit/mulvti3_test.c
est/Unit/negti2_test.c
est/Unit/negvti2_test.c
est/Unit/parityti2_test.c
est/Unit/popcountti2_test.c
est/Unit/subvti3_test.c
est/Unit/ucmpti2_test.c
est/Unit/udivmodti4_test.c
est/Unit/udivti3_test.c
est/Unit/umodti3_test.c
|
4467b65ff6e342ad4e8bef86f4e948f56e814bdf |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Remove duplicate copy of int_lib.h, and update test script to find copy inside lib/. Also, fix some brokenness in the test script w.r.t REMOTE. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85260 91177308-0d34-0410-b5e6-96231b3b80d8
ib/endianness.h
ib/int_lib.h
est/Unit/int_lib.h
est/Unit/test
|
005740fecf992bba1eb321a005929610ea2d705c |
27-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add .gitignore file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85259 91177308-0d34-0410-b5e6-96231b3b80d8
gitignore
|
cc75801564d50284d9e6d878cdf92e1b420babf6 |
17-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Comment out broken tests and make the rest build in cmake build system. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@84330 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
est/CMakeLists.txt
est/Unit/gcc_personality_test.c
est/Unit/int_lib.h
est/Unit/modsi3_test.c
|
48adb329aeb41e07a89a9f0b1341b9a948d47b47 |
06-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Improve doc readability. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@83414 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
ee0093b506cebe629e93a994b301628829352a60 |
06-Oct-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Update compiler-rt online docs to reflex recent work and testing. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@83413 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
6311a30c904305e1d975ce0897f6233ebc6d5785 |
23-Sep-2009 |
Shantonu Sen <ssen@apple.com> |
If the compiler does not support GCC-compatible atomic operations, skip building the blocks runtime git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82627 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
3f55c61a5d7428eb18e65393e2b9e91ea9444fdb |
23-Sep-2009 |
Shantonu Sen <ssen@apple.com> |
Keep on castin', in the name of -pedantic git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82626 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/runtime.c
|
667efbac431aede8a1ce1867eff90a6a262eb87b |
23-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Note about compiler-rt only building on Darwin no longer applies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82609 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
2d05d968e18065b85320bbd8bb7bde97b5d87f07 |
23-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Update site information to reflect using cmake to build compiler-rt and not legacy makefiles. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82608 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
87aa4f57c5050881519f5023f22d62a868a79d7f |
23-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
CMake should only pass GCC options to GCC. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82607 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/DefineCompilerFlags.cmake
|
b0f3cb3c458bbb41f51c3c7e766f29d81e7c3dff |
23-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
We don't need a C++ compiler to build Blocks, Don't check for one. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82606 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/CMakeLists.txt
|
26e507aa23c3c07a205510063c48c60dbfbc999d |
23-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix compile time warning: format '%#lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int' git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82605 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/runtime.c
|
962a63123c07b5fed500390eb83f2f3aa8e5f8cb |
23-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Improve readability. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82604 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/runtime.c
|
b4c3b6f8a2d3481bac6b0e9b4240fa0c99412d10 |
22-Sep-2009 |
Shantonu Sen <ssen@apple.com> |
1) Remove cmake-specific #define usage from the exported Block.h/Block_private.h headers, since clients won't know what to set. These are moved into runtime.c as appropriate 2) Use cmake checks for CAS builtins, instead of guessing based on GCC #defines (which aren't set by clang and llvm-gcc anyway) 3) "#pragma mark" isn't supported by FSF gcc, so "#if 0" it out. It should still show up in IDEs that support it 4) Fix some compiler warnings. GCC 4.3.3 seems super strict about %p. function pointers can't be cast to void * either. 5) Avoid a warning for apple_versioning.c that "ISO C does not allow empty files" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82504 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/Block.h
locksRuntime/Block_private.h
locksRuntime/CMakeLists.txt
locksRuntime/runtime.c
MakeLists.txt
onfigureChecks.cmake
onfig.h.cmake
ib/apple_versioning.c
|
92a6cf5b64bb661c8b67825a4a5583eb01807633 |
18-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
update make rules so libcompiler-rt can be built for armv6 the Apple way git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82185 91177308-0d34-0410-b5e6-96231b3b80d8
ib/apple_versioning.c
ake/AppleBI.mk
|
0c610555977c674691139d8bc348a32e428e94ff |
18-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
add support for __switch* needed for switch statements in thumb codegen git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@82184 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/switch.S
|
0963c9e8ea7f97732b0fce419fa6f2e96d951969 |
15-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
add conversion functions and test cases for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81809 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/extendsfdf2vfp.S
ib/arm/fixdfsivfp.S
ib/arm/fixsfsivfp.S
ib/arm/fixunsdfsivfp.S
ib/arm/fixunssfsivfp.S
ib/arm/floatsidfvfp.S
ib/arm/floatsisfvfp.S
ib/arm/floatunssidfvfp.S
ib/arm/floatunssisfvfp.S
ib/arm/truncdfsf2vfp.S
est/Unit/extebdsfdf2vfp_test.c
est/Unit/fixdfsivfp_test.c
est/Unit/fixsfsivfp_test.c
est/Unit/fixunsdfsivfp_test.c
est/Unit/fixunssfsivfp_test.c
est/Unit/floatsidfvfp_test.c
est/Unit/floatsisfvfp_test.c
est/Unit/floatunssidfvfp_test.c
est/Unit/floatunssisfvfp_test.c
est/Unit/truncdfsf2vfp_test.c
|
7b268dc996e9683b634072759eb8537e21284827 |
14-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Update cmake files for arm support hooks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81760 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
ib/arm/CMakeLists.txt
|
6e8c3ac5e881a8eacd00630a971c7020f3956661 |
13-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
fix typo in comment git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81686 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/bswapsi2.S
|
a468808564eb1983c46a1e30ef2e1a6fdb47e77a |
12-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Add Blocks support to CMake build system. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81617 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
d4048aa2f783eebcd1d4cf6099e61e3b8968ca6e |
12-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix include path to config.h for CMake build system. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81616 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
e8ce595140fa3f107db10a6b4d9184f7277e58c0 |
12-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
GCC atomic built-ins are available patch to Blocks. - Credit to Bobby Powers. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81615 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/runtime.c
|
09870645031d5a05c7c3b9a66a53348a0d82ae52 |
12-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Generalize Blocks code and intergrate with cmake build system more. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81613 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/Block.h
locksRuntime/Block_private.h
onfigureChecks.cmake
est/CMakeLists.txt
|
e80e978d6aa211056beddf4582390e374d1935ab |
12-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
add comparison functions for ARM git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81597 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/bswapdi2.S
ib/arm/bswapsi2.S
ib/arm/eqdf2vfp.S
ib/arm/eqsf2vfp.S
ib/arm/gedf2vfp.S
ib/arm/gesf2vfp.S
ib/arm/gtdf2vfp.S
ib/arm/gtsf2vfp.S
ib/arm/ledf2vfp.S
ib/arm/lesf2vfp.S
ib/arm/ltdf2vfp.S
ib/arm/ltsf2vfp.S
ib/arm/nedf2vfp.S
ib/arm/negdf2vfp.S
ib/arm/negsf2vfp.S
ib/arm/nesf2vfp.S
ib/arm/unorddf2vfp.S
ib/arm/unordsf2vfp.S
est/Unit/bswapdi2_test.c
est/Unit/bswapsi2_test.c
est/Unit/eqdf2vfp_test.c
est/Unit/eqsf2vfp_test.c
est/Unit/gedf2vfp_test.c
est/Unit/gesf2vfp_test.c
est/Unit/gtdf2vfp_test.c
est/Unit/gtsf2vfp_test.c
est/Unit/ledf2vfp_test.c
est/Unit/lesf2vfp_test.c
est/Unit/ltdf2vfp_test.c
est/Unit/ltsf2vfp_test.c
est/Unit/nedf2vfp_test.c
est/Unit/negdf2vfp_test.c
est/Unit/negsf2vfp_test.c
est/Unit/nesf2vfp_test.c
est/Unit/unorddf2vfp_test.c
est/Unit/unordsf2vfp_test.c
|
f058587327b8fe65aedd6ad29102e8dfdeeb50c3 |
11-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
rename files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81572 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/adddf3vfp.c
est/Unit/addsf3vfp.c
est/Unit/divdf3vfp.c
est/Unit/divsf3vfp.c
est/Unit/muldf3vfp.c
est/Unit/mulsf3vfp.c
est/Unit/subdf3vfp.c
est/Unit/subsf3vfp.c
|
ad98c81b7dc15729e8812628617f6f45dac3e666 |
11-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
add _test in file names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81561 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/adddf3vfp_test.c
est/Unit/addsf3vfp_test.c
est/Unit/divdf3vfp_test.c
est/Unit/divsf3vfp_test.c
est/Unit/muldf3vfp_test.c
est/Unit/mulsf3vfp_test.c
est/Unit/subdf3vfp_test.c
est/Unit/subsf3vfp_test.c
|
d47c2cfb86a7d9746f7665a73fa25a724c4ce354 |
11-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
start adding implementation of arm *vfp routines with test cases git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81558 91177308-0d34-0410-b5e6-96231b3b80d8
ib/arm/adddf3vfp.S
ib/arm/addsf3vfp.S
ib/arm/divdf3vfp.S
ib/arm/divsf3vfp.S
ib/arm/muldf3vfp.S
ib/arm/mulsf3vfp.S
ib/arm/subdf3vfp.S
ib/arm/subsf3vfp.S
est/Unit/adddf3vfp.c
est/Unit/addsf3vfp.c
est/Unit/divdf3vfp.c
est/Unit/divsf3vfp.c
est/Unit/muldf3vfp.c
est/Unit/mulsf3vfp.c
est/Unit/subdf3vfp.c
est/Unit/subsf3vfp.c
est/Unit/test
|
3ea8287d4f270edfa965d4defd824f4d6a117e6d |
11-Sep-2009 |
Nick Kledzik <kledzik@apple.com> |
use HAS_80_BIT_LONG_DOUBLE so some tests work properly on arm git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81552 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/fixunsxfdi_test.c
est/Unit/fixunsxfsi_test.c
est/Unit/fixxfdi_test.c
est/Unit/floatdixf_test.c
est/Unit/floatundixf_test.c
est/Unit/int_lib.h
|
01f9de572f21908fa63856cf294523f2ac1f1965 |
11-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Stub out structure for building armv{6,7} libs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81482 91177308-0d34-0410-b5e6-96231b3b80d8
ib/Makefile.mk
ib/arm/Makefile.mk
ake/config.mk
|
dc114bf3e390f5bcca5cbe46e4577d4cb32dbfc5 |
11-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Unbreak building of assembly files (broken by my .s -> .S rename). - Noticed & patched by Nick Kledzik. - This may expose portability issues in the .S files, if so we should either disable them on non-Darwin, or even better make them portable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81476 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ib/i386/Makefile.mk
ib/ppc/Makefile.mk
ib/x86_64/Makefile.mk
|
fd17b8a32c45a43ae95d1c3d5312adccb7264955 |
11-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Include universal build step in 'make {Debug,Release,Profile}' targets. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81474 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
866d2824095a5bc78307c103347695b52f3d49f0 |
03-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Support building for a single target architecture. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80943 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ake/config.mk
ake/subdir.mk
|
172e105cf58333a1a55468095c51d22868296a68 |
03-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Use -lc -lm to link with (in tests) on non-Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80939 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/test
|
7edbe041a72d9663d612abe1d9a978d3b9c66444 |
03-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Don't use -arch on non-Darwin. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80938 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/test
|
781a3b3ee6e90277eba14fb0cc4f0de88ffec0b6 |
03-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Convert tabs to spaces. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80937 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/test
|
863dd146bd186581ef71e38a4fac7df3c4c4e5ef |
03-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Adding FreeBSD to supported platforms list. Credit to Roman Divacky for testing. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80914 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
aabd961cc27f5d05f441375e5ba4242d63fea11f |
03-Sep-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix some files that got left behind in early changeset to unnamed unions fix. Credit to Roman Divacky. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80913 91177308-0d34-0410-b5e6-96231b3b80d8
ib/clzti2.c
ib/cmpti2.c
ib/ctzti2.c
ib/ffsti2.c
ib/fixdfti.c
ib/fixunsdfti.c
ib/fixunsxfti.c
ib/fixxfti.c
ib/floattidf.c
ib/floattixf.c
ib/floatuntidf.c
ib/floatuntixf.c
ib/multi3.c
ib/parityti2.c
ib/ucmpti2.c
|
e8178e2a99ae5d7ccfe5882804a294fd0d3f453f |
18-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Add support for ellcc, Credit to Richard Pennington. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@79332 91177308-0d34-0410-b5e6-96231b3b80d8
ib/endianness.h
est/Unit/endianness.h
|
6ee8d3312e5cb59777c7ddf7fb9ebc2eb1a780f1 |
18-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix testsuit build on linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@79331 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/endianness.h
|
4e19ff6f4fae51378748add5e1606bd921fea442 |
18-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix pre-processor mistake for BSDs in endianness.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@79330 91177308-0d34-0410-b5e6-96231b3b80d8
ib/endianness.h
est/Unit/endianness.h
|
b72794dfba84f063521f031ac7395fa4dd619983 |
10-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Temporary define HAVE_SYSCONF until cmake checks are done. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78546 91177308-0d34-0410-b5e6-96231b3b80d8
ib/enable_execute_stack.c
|
de1c6cfc90140c34469f78cba86040796ca4b98b |
10-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix a FIXME for configure check for HAVE_SYSCONF. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78545 91177308-0d34-0410-b5e6-96231b3b80d8
onfigureChecks.cmake
ib/enable_execute_stack.c
|
166b783fa2b1bf6329db080b3a7f922f37914974 |
09-Aug-2009 |
Nuno Lopes <nunoplopes@sapo.pt> |
fix build on linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78538 91177308-0d34-0410-b5e6-96231b3b80d8
ib/enable_execute_stack.c
ib/endianness.h
|
8bf1e094893cb24796137b47ee0d46d18d299996 |
09-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Refactor to remove un-named struct gnu extension usage. Now ISO C89 and C99 compliant. Comment trailing endifs git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78537 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
make/Modules/DefineCompilerFlags.cmake
onfig.h.cmake
ib/CMakeLists.txt
ib/apple_versioning.c
ib/ashldi3.c
ib/ashlti3.c
ib/ashrdi3.c
ib/ashrti3.c
ib/clzdi2.c
ib/clzti2.c
ib/cmpdi2.c
ib/ctzdi2.c
ib/ffsdi2.c
ib/ffsti2.c
ib/fixdfdi.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunsxfdi.c
ib/fixunsxfsi.c
ib/fixxfdi.c
ib/fixxfti.c
ib/floatdixf.c
ib/floatundixf.c
ib/int_lib.h
ib/lshrdi3.c
ib/lshrti3.c
ib/muldi3.c
ib/multi3.c
ib/paritydi2.c
ib/ppc/DD.h
ib/ppc/divtc3.c
ib/ppc/fixtfdi.c
ib/ppc/fixunstfdi.c
ib/ppc/floatditf.c
ib/ppc/floatunditf.c
ib/ppc/gcc_qadd.c
ib/ppc/gcc_qdiv.c
ib/ppc/gcc_qmul.c
ib/ppc/gcc_qsub.c
ib/ppc/multc3.c
ib/subvti3.c
ib/ucmpdi2.c
ib/udivmoddi4.c
ib/udivmodti4.c
est/CMakeLists.txt
est/Unit/CMakeLists.txt
|
33c134702e274fdbcb1672771a137efb82b498b2 |
08-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Optimized versions now buildable on Solaris. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78457 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ppc/divtc3.c
ib/ppc/multc3.c
ib/x86_64/floatdidf.c
ib/x86_64/floatdisf.c
ib/x86_64/floatdixf.c
|
bb119a4fae90e73d48c078024e101bebfdfae5d8 |
08-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix signedness warning in mprotect call, Clean up and improve endianness.h header. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78451 91177308-0d34-0410-b5e6-96231b3b80d8
make/Modules/DefineCompilerFlags.cmake
ib/enable_execute_stack.c
ib/endianness.h
est/Unit/endianness.h
|
37a6a455466e5b197311771a777ab241e471ed8a |
07-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Code style and Readability fixes. Credit to Craig van Vliet. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78403 91177308-0d34-0410-b5e6-96231b3b80d8
REDITS.TXT
ib/absvdi2.c
ib/absvsi2.c
ib/absvti2.c
ib/addvdi3.c
ib/addvsi3.c
ib/apple_versioning.c
ib/ashldi3.c
ib/ashlti3.c
ib/ashrdi3.c
ib/cmpdi2.c
ib/cmpti2.c
ib/ctzdi2.c
ib/ctzsi2.c
ib/divdc3.c
ib/divdi3.c
ib/divsc3.c
ib/divsi3.c
ib/divxc3.c
ib/fixdfdi.c
ib/fixdfti.c
ib/fixsfdi.c
ib/fixunssfti.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatdixf.c
ib/floattidf.c
ib/floattisf.c
ib/floattixf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatundixf.c
ib/moddi3.c
ib/modsi3.c
ib/modti3.c
ib/muldc3.c
ib/muldi3.c
ib/mulsc3.c
ib/multi3.c
ib/mulvdi3.c
ib/negvti2.c
ib/paritydi2.c
ib/paritysi2.c
ib/parityti2.c
ib/popcountsi2.c
ib/popcountti2.c
ib/powisf2.c
ib/ucmpdi2.c
ib/udivdi3.c
ib/udivmoddi4.c
ib/udivmodti4.c
ib/udivsi3.c
ib/udivti3.c
ib/umoddi3.c
ib/umodsi3.c
|
686fd2aec10c8fd090a58f70b5d1ebc2754c63a8 |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Forgot to add new endianness.h header file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78235 91177308-0d34-0410-b5e6-96231b3b80d8
est/Unit/endianness.h
|
0898ee9197a0049e479a12f4c5b3c65e3deaf03b |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Refactor test suit endianness pre-processor code. More style and readability fixes, start labling endif's git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78234 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/Block_private.h
ib/int_lib.h
ib/powidf2.c
est/Unit/int_lib.h
|
1fcb40b79d8fbfcc9acb0966d5f9bba09431f832 |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Next batch of C++ to C comment style changes. Also improve and factor out endianness pre-processor code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78226 91177308-0d34-0410-b5e6-96231b3b80d8
ib/addvti3.c
ib/ctzti2.c
ib/endianness.h
ib/fixsfti.c
ib/fixunsxfsi.c
ib/floatuntidf.c
ib/floatuntisf.c
ib/int_lib.h
ib/mulvsi3.c
ib/mulvti3.c
ib/mulxc3.c
ib/popcountdi2.c
ib/powitf2.c
ib/powixf2.c
ib/ucmpti2.c
ib/umodti3.c
|
2bf62728b8ce00e295c7bf0fb328427496cc85aa |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fixup C++ style comments are not allowed in ISO C90 to classic C style. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78152 91177308-0d34-0410-b5e6-96231b3b80d8
ib/ashrti3.c
ib/clear_cache.c
ib/clzdi2.c
ib/clzsi2.c
ib/clzti2.c
ib/divti3.c
ib/enable_execute_stack.c
ib/eprintf.c
ib/ffsdi2.c
ib/ffsti2.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunsdfti.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/fixunssfti.c
ib/fixunsxfdi.c
ib/fixunsxfti.c
ib/fixxfdi.c
ib/fixxfti.c
ib/floattixf.c
ib/floatuntixf.c
ib/gcc_personality_v0.c
ib/lshrdi3.c
ib/lshrti3.c
ib/negdi2.c
ib/negti2.c
ib/negvdi2.c
ib/negvsi2.c
ib/subvdi3.c
ib/subvsi3.c
ib/subvti3.c
ib/trampoline_setup.c
|
0e4ad9c55a8554a220af3dc6b0fc4b0a5d64c025 |
05-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Start porting compiler-rt testsuit to Solaris with new build system. Fix some C++ style comments which are not allowed in ISO C90. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78143 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
onfigureChecks.cmake
make/Modules/DefineCompilerFlags.cmake
make/Modules/MacroAddCheckTest.cmake
onfig.h.cmake
ib/CMakeLists.txt
ib/int_lib.h
est/CMakeLists.txt
est/Unit/CMakeLists.txt
est/Unit/int_lib.h
est/timing/CMakeLists.txt
|
f361ff15d3a8286e27f8adc8d02c9d3ed79fc8db |
04-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Some compiler-rt www site improvements. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78052 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
df479b6717e4300dfeb6cc51e6f6b68118fafdcd |
04-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Refactor out common pre-processor code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78037 91177308-0d34-0410-b5e6-96231b3b80d8
ib/divdc3.c
ib/divsc3.c
ib/divxc3.c
ib/int_lib.h
ib/muldc3.c
ib/mulsc3.c
ib/mulxc3.c
|
6c307f0ec927c9eb8bfcee8a4b7f7b8e12ef56be |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Fix newlinew warning in floatundidf.c , Bulkout CMake system more, complete port to AuroraUX and Solaris. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77958 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
onfigureChecks.cmake
make/Modules/MacroEnsureOutOfSourceBuild.cmake
onfig.h.cmake
ib/CMakeLists.txt
ib/divdc3.c
ib/divsc3.c
ib/divxc3.c
ib/floatundidf.c
ib/int_lib.h
ib/muldc3.c
ib/mulsc3.c
ib/mulxc3.c
|
880cafccfc68095d42cb61de71d1d31db330b705 |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
A few CMake formating fixes for compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77937 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ib/CMakeLists.txt
|
18678da08fa7acd077b8c9884c7b8feffea46984 |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Small syntax error in HTML. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77936 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
f998156715cdf8ba5d07ab8c853d803a22867e77 |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Small improvement to Compiler-RT docs and add a CREDITS.TXT file to source. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77934 91177308-0d34-0410-b5e6-96231b3b80d8
REDITS.TXT
ww/index.html
|
d904635616ca27a56531375a7d25547c930a4040 |
03-Aug-2009 |
Edward O'Callaghan <eocallaghan@auroraux.org> |
Initial import of CMake type build system. Just like the rest of llvm.. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77933 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/CMakeLists.txt
MakeLists.txt
ib/CMakeLists.txt
ib/i386/CMakeLists.txt
ib/ppc/CMakeLists.txt
ib/x86_64/CMakeLists.txt
est/CMakeLists.txt
est/Unit/CMakeLists.txt
est/Unit/ppc/CMakeLists.txt
est/timing/CMakeLists.txt
|
ad9a17686dff730aa89f181b22ab4ec827d40be2 |
07-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
improve portability to platforms that don't put python in /usr/bin. Patch by Pawel Worach! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74869 91177308-0d34-0410-b5e6-96231b3b80d8
ake/filter-inputs
|
34ecf0fc6ecadb5d8debe8c6171ec0ddea875442 |
03-Jul-2009 |
Gabor Greif <ggreif@gmail.com> |
typos git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74771 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
|
d02ea672969690c678a491257240267d8335e266 |
03-Jul-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Misc compiler-rt fixes. Clarify neg implementations to show what is actually happening. Fix mod implementation so it doesn't get optimized to a recursive call. Make x86-32 non-SSE2 shift implementation use shld/shrd instead of emulating it (the only x86 processor where the emulation might be remotely close to justifiable is the Pentium 4). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74756 91177308-0d34-0410-b5e6-96231b3b80d8
ib/i386/ashldi3.S
ib/i386/ashrdi3.S
ib/i386/lshrdi3.S
ib/negdi2.c
ib/negti2.c
ib/umodsi3.c
|
4c8aa0d2c7520a078f4bcc1cb41e082633031859 |
02-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
fix broken links. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74727 91177308-0d34-0410-b5e6-96231b3b80d8
ww/menu.html.incl
|
135bcdf9ca7584489050b23b2ee155cce6d6cce3 |
02-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
test commit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74726 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
eb561bef8f503f399d1a429737f5657aa6e21369 |
02-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
mention the license. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74725 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
c1346747862498226b5af3c4d4bd3c4dc429d5d7 |
01-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
add the "get it and get involved" section. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74617 91177308-0d34-0410-b5e6-96231b3b80d8
ww/index.html
|
f6392137118661add2ab7fc98be42a0c8748bb1d |
01-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add missing include for getpagesize, and fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74588 91177308-0d34-0410-b5e6-96231b3b80d8
ib/enable_execute_stack.c
|
940515afdb99568d5d9cc9f6b9a80335a8e35646 |
01-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix a Darwinism, .s files meant to be preprocessed should be named .S. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74587 91177308-0d34-0410-b5e6-96231b3b80d8
ib/i386/ashldi3.S
ib/i386/ashldi3.s
ib/i386/ashrdi3.S
ib/i386/ashrdi3.s
ib/i386/divdi3.S
ib/i386/divdi3.s
ib/i386/floatdidf.S
ib/i386/floatdidf.s
ib/i386/floatdisf.S
ib/i386/floatdisf.s
ib/i386/floatdixf.S
ib/i386/floatdixf.s
ib/i386/floatundidf.S
ib/i386/floatundidf.s
ib/i386/floatundisf.S
ib/i386/floatundisf.s
ib/i386/floatundixf.S
ib/i386/floatundixf.s
ib/i386/lshrdi3.S
ib/i386/lshrdi3.s
ib/i386/moddi3.S
ib/i386/moddi3.s
ib/i386/muldi3.S
ib/i386/muldi3.s
ib/i386/udivdi3.S
ib/i386/udivdi3.s
ib/i386/umoddi3.S
ib/i386/umoddi3.s
ib/ppc/restFP.S
ib/ppc/restFP.s
ib/ppc/saveFP.S
ib/ppc/saveFP.s
ib/x86_64/floatundidf.S
ib/x86_64/floatundidf.s
ib/x86_64/floatundisf.S
ib/x86_64/floatundisf.s
ib/x86_64/floatundixf.S
ib/x86_64/floatundixf.s
|
72b5907f318972685252659ca191d63fbe2f352b |
01-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Use getpagesize() on non-Darwin platforms. - Presumably we will eventually need configure magic for this stuff. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74586 91177308-0d34-0410-b5e6-96231b3b80d8
ib/enable_execute_stack.c
|
ff5380f65f639f043680868c74927c15f7428499 |
01-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
initial web page for compiler_rt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74567 91177308-0d34-0410-b5e6-96231b3b80d8
ww/content.css
ww/index.html
ww/menu.css
ww/menu.html.incl
|
5603674a23966bd93e3d2e2fc505b96d81e5f1f7 |
01-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
add directory for web page. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74562 91177308-0d34-0410-b5e6-96231b3b80d8
|
b3a6901e66f55b35aa9e01bcb24134e6a65ea004 |
26-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Initial import of compiler-rt. - git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74292 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/Block.h
locksRuntime/Block_private.h
locksRuntime/data.c
locksRuntime/runtime.c
ICENSE.TXT
akefile
EADME.txt
ib/Makefile.mk
ib/absvdi2.c
ib/absvsi2.c
ib/absvti2.c
ib/addvdi3.c
ib/addvsi3.c
ib/addvti3.c
ib/apple_versioning.c
ib/ashldi3.c
ib/ashlti3.c
ib/ashrdi3.c
ib/ashrti3.c
ib/clear_cache.c
ib/clzdi2.c
ib/clzsi2.c
ib/clzti2.c
ib/cmpdi2.c
ib/cmpti2.c
ib/ctzdi2.c
ib/ctzsi2.c
ib/ctzti2.c
ib/divdc3.c
ib/divdi3.c
ib/divsc3.c
ib/divsi3.c
ib/divti3.c
ib/divxc3.c
ib/enable_execute_stack.c
ib/eprintf.c
ib/ffsdi2.c
ib/ffsti2.c
ib/fixdfdi.c
ib/fixdfti.c
ib/fixsfdi.c
ib/fixsfti.c
ib/fixunsdfdi.c
ib/fixunsdfsi.c
ib/fixunsdfti.c
ib/fixunssfdi.c
ib/fixunssfsi.c
ib/fixunssfti.c
ib/fixunsxfdi.c
ib/fixunsxfsi.c
ib/fixunsxfti.c
ib/fixxfdi.c
ib/fixxfti.c
ib/floatdidf.c
ib/floatdisf.c
ib/floatdixf.c
ib/floattidf.c
ib/floattisf.c
ib/floattixf.c
ib/floatundidf.c
ib/floatundisf.c
ib/floatundixf.c
ib/floatuntidf.c
ib/floatuntisf.c
ib/floatuntixf.c
ib/gcc_personality_v0.c
ib/i386/Makefile.mk
ib/i386/ashldi3.s
ib/i386/ashrdi3.s
ib/i386/divdi3.s
ib/i386/floatdidf.s
ib/i386/floatdisf.s
ib/i386/floatdixf.s
ib/i386/floatundidf.s
ib/i386/floatundisf.s
ib/i386/floatundixf.s
ib/i386/lshrdi3.s
ib/i386/moddi3.s
ib/i386/muldi3.s
ib/i386/udivdi3.s
ib/i386/umoddi3.s
ib/int_lib.h
ib/lshrdi3.c
ib/lshrti3.c
ib/moddi3.c
ib/modsi3.c
ib/modti3.c
ib/muldc3.c
ib/muldi3.c
ib/mulsc3.c
ib/multi3.c
ib/mulvdi3.c
ib/mulvsi3.c
ib/mulvti3.c
ib/mulxc3.c
ib/negdi2.c
ib/negti2.c
ib/negvdi2.c
ib/negvsi2.c
ib/negvti2.c
ib/paritydi2.c
ib/paritysi2.c
ib/parityti2.c
ib/popcountdi2.c
ib/popcountsi2.c
ib/popcountti2.c
ib/powidf2.c
ib/powisf2.c
ib/powitf2.c
ib/powixf2.c
ib/ppc/DD.h
ib/ppc/Makefile.mk
ib/ppc/divtc3.c
ib/ppc/fixtfdi.c
ib/ppc/fixunstfdi.c
ib/ppc/floatditf.c
ib/ppc/floatunditf.c
ib/ppc/gcc_qadd.c
ib/ppc/gcc_qdiv.c
ib/ppc/gcc_qmul.c
ib/ppc/gcc_qsub.c
ib/ppc/multc3.c
ib/ppc/restFP.s
ib/ppc/saveFP.s
ib/subvdi3.c
ib/subvsi3.c
ib/subvti3.c
ib/trampoline_setup.c
ib/ucmpdi2.c
ib/ucmpti2.c
ib/udivdi3.c
ib/udivmoddi4.c
ib/udivmodti4.c
ib/udivsi3.c
ib/udivti3.c
ib/umoddi3.c
ib/umodsi3.c
ib/umodti3.c
ib/x86_64/Makefile.mk
ib/x86_64/floatdidf.c
ib/x86_64/floatdisf.c
ib/x86_64/floatdixf.c
ib/x86_64/floatundidf.s
ib/x86_64/floatundisf.s
ib/x86_64/floatundixf.s
ake/AppleBI.mk
ake/config.mk
ake/filter-inputs
ake/subdir.mk
ake/util.mk
est/Unit/absvdi2_test.c
est/Unit/absvsi2_test.c
est/Unit/absvti2_test.c
est/Unit/addvdi3_test.c
est/Unit/addvsi3_test.c
est/Unit/addvti3_test.c
est/Unit/ashldi3_test.c
est/Unit/ashlti3_test.c
est/Unit/ashrdi3_test.c
est/Unit/ashrti3_test.c
est/Unit/clear_cache_test.c
est/Unit/clzdi2_test.c
est/Unit/clzsi2_test.c
est/Unit/clzti2_test.c
est/Unit/cmpdi2_test.c
est/Unit/cmpti2_test.c
est/Unit/ctzdi2_test.c
est/Unit/ctzsi2_test.c
est/Unit/ctzti2_test.c
est/Unit/divdc3_test.c
est/Unit/divdi3_test.c
est/Unit/divsc3_test.c
est/Unit/divsi3_test.c
est/Unit/divtc3_test.c
est/Unit/divti3_test.c
est/Unit/divxc3_test.c
est/Unit/enable_execute_stack_test.c
est/Unit/ffsdi2_test.c
est/Unit/ffsti2_test.c
est/Unit/fixdfdi_test.c
est/Unit/fixdfti_test.c
est/Unit/fixsfdi_test.c
est/Unit/fixsfti_test.c
est/Unit/fixunsdfdi_test.c
est/Unit/fixunsdfsi_test.c
est/Unit/fixunsdfti_test.c
est/Unit/fixunssfdi_test.c
est/Unit/fixunssfsi_test.c
est/Unit/fixunssfti_test.c
est/Unit/fixunstfdi_test.c
est/Unit/fixunsxfdi_test.c
est/Unit/fixunsxfsi_test.c
est/Unit/fixunsxfti_test.c
est/Unit/fixxfdi_test.c
est/Unit/fixxfti_test.c
est/Unit/floatdidf_test.c
est/Unit/floatdisf_test.c
est/Unit/floatdixf_test.c
est/Unit/floattidf_test.c
est/Unit/floattisf_test.c
est/Unit/floattixf_test.c
est/Unit/floatundidf_test.c
est/Unit/floatundisf_test.c
est/Unit/floatundixf_test.c
est/Unit/floatuntidf_test.c
est/Unit/floatuntisf_test.c
est/Unit/floatuntixf_test.c
est/Unit/gcc_personality_test.c
est/Unit/gcc_personality_test_helper.cxx
est/Unit/int_lib.h
est/Unit/lshrdi3_test.c
est/Unit/lshrti3_test.c
est/Unit/moddi3_test.c
est/Unit/modsi3_test.c
est/Unit/modti3_test.c
est/Unit/muldc3_test.c
est/Unit/muldi3_test.c
est/Unit/mulsc3_test.c
est/Unit/multc3_test.c
est/Unit/multi3_test.c
est/Unit/mulvdi3_test.c
est/Unit/mulvsi3_test.c
est/Unit/mulvti3_test.c
est/Unit/mulxc3_test.c
est/Unit/negdi2_test.c
est/Unit/negti2_test.c
est/Unit/negvdi2_test.c
est/Unit/negvsi2_test.c
est/Unit/negvti2_test.c
est/Unit/paritydi2_test.c
est/Unit/paritysi2_test.c
est/Unit/parityti2_test.c
est/Unit/popcountdi2_test.c
est/Unit/popcountsi2_test.c
est/Unit/popcountti2_test.c
est/Unit/powidf2_test.c
est/Unit/powisf2_test.c
est/Unit/powitf2_test.c
est/Unit/powixf2_test.c
est/Unit/ppc/DD.h
est/Unit/ppc/fixtfdi_test.c
est/Unit/ppc/floatditf_test.c
est/Unit/ppc/floatditf_test.h
est/Unit/ppc/floatunditf_test.c
est/Unit/ppc/floatunditf_test.h
est/Unit/ppc/qadd_test.c
est/Unit/ppc/qdiv_test.c
est/Unit/ppc/qmul_test.c
est/Unit/ppc/qsub_test.c
est/Unit/ppc/test
est/Unit/subvdi3_test.c
est/Unit/subvsi3_test.c
est/Unit/subvti3_test.c
est/Unit/test
est/Unit/trampoline_setup_test.c
est/Unit/ucmpdi2_test.c
est/Unit/ucmpti2_test.c
est/Unit/udivdi3_test.c
est/Unit/udivmoddi4_test.c
est/Unit/udivmodti4_test.c
est/Unit/udivsi3_test.c
est/Unit/udivti3_test.c
est/Unit/umoddi3_test.c
est/Unit/umodsi3_test.c
est/Unit/umodti3_test.c
est/timing/ashldi3.c
est/timing/ashrdi3.c
est/timing/divdi3.c
est/timing/floatdidf.c
est/timing/floatdisf.c
est/timing/floatdixf.c
est/timing/floatundidf.c
est/timing/floatundisf.c
est/timing/floatundixf.c
est/timing/lshrdi3.c
est/timing/moddi3.c
est/timing/muldi3.c
est/timing/negdi2.c
est/timing/time
est/timing/timing.h
est/timing/udivdi3.c
est/timing/umoddi3.c
|
8cbe163cba77c772621f89ddb33793ac170b1fa2 |
26-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Flesh out svn structure, tuck blocks stuff away until we figure out where it goes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@74290 91177308-0d34-0410-b5e6-96231b3b80d8
locksRuntime/Block.h
locksRuntime/Block_private.h
locksRuntime/data.c
locksRuntime/runtime.c
|