Go to file
Dan Liew 3868e468fe [LibFuzzer]
Work around crashes in ``__sanitizer_malloc_hook()`` under Mac OSX.

Under Mac OSX we intercept calls to malloc before thread local
storage is initialised leading to a crash when accessing
``AllocTracer``. To workaround this ``AllocTracer`` is only accessed
in the hook under Linux. For symmetry ``__sanitizer_free_hook()``
is also modified in the same way.

To support this change a set of new macros
LIBFUZZER_LINUX and LIBFUZZER_APPLE has been defined which can be
used to check the target being compiled for.

Differential Revision: http://reviews.llvm.org/D20402

llvm-svn: 270145
2016-05-19 22:00:33 +00:00
clang [Sema] Fix use after move. Found by ubsan. 2016-05-19 21:53:33 +00:00
clang-tools-extra [include-fixer] Fix unused variable warning in Release builds. 2016-05-19 16:57:57 +00:00
compiler-rt [profile] entry eviction support in value profiler 2016-05-19 21:35:34 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Use single precision fmax in sp path 2016-05-17 19:44:01 +00:00
libcxx Cleanup superfluous std:: qualifiers in <type_traits> 2016-05-18 23:09:24 +00:00
libcxxabi libc++abi: make __cxa_call_unexpected visible 2016-05-11 23:56:37 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Fix the function to set the section VMA/LMA fields in case of using 2016-05-19 18:15:54 +00:00
lldb Fixed a crash if a FunctionDecl couldn't be imported. 2016-05-19 19:23:37 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [LibFuzzer] 2016-05-19 22:00:33 +00:00
openmp Remove unnecessary unistd.h header from tests. 2016-05-18 21:36:34 +00:00
polly Revert "Optimistic assume required invariant loads to be invariant" 2016-05-19 13:47:34 +00:00