llvm-project/compiler-rt/lib
Alexey Samsonov aa05110a17 [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...

llvm-svn: 161568
2012-08-09 07:40:58 +00:00
..
arm Remove the old, and non-functional CMake build system from CompilerRT. 2012-04-04 22:12:01 +00:00
asan [ASan] Create new files asan_report.{h,cc} as a preparation for refactoring of ASan error reporting code. 2012-08-09 07:40:58 +00:00
i386 Remove the old, and non-functional CMake build system from CompilerRT. 2012-04-04 22:12:01 +00:00
interception [Sanitizer] cleanup CMake files for interception and sanitizer_common helper libraries 2012-08-08 09:46:51 +00:00
ppc Remove the old, and non-functional CMake build system from CompilerRT. 2012-04-04 22:12:01 +00:00
profile Free the allocated filename. Found by clang static analyzer. 2012-06-15 09:12:04 +00:00
sanitizer_common [Sanitizer] cleanup CMake files for interception and sanitizer_common helper libraries 2012-08-08 09:46:51 +00:00
tsan [Sanitizer] Make ASan/TSan sources depend on headers from interception library 2012-08-01 14:55:49 +00:00
x86_64 Remove the old, and non-functional CMake build system from CompilerRT. 2012-04-04 22:12:01 +00:00
CMakeLists.txt 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. 2012-07-25 11:15:00 +00:00
Makefile.mk [asan,tsan] Add a new directory compiler-rt/lib/sanitizer_common 2012-05-29 12:18:18 +00:00
absvdi2.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
absvsi2.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
absvti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
adddf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
addsf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
addvdi3.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
addvsi3.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
addvti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
apple_versioning.c don't add version info for static library 2011-04-14 00:40:20 +00:00
ashldi3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
ashlti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
ashrdi3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
ashrti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
assembly.h <rdar://problem/11668446> Add .subsections_via_symbols to Darwin assembly files 2012-07-11 19:21:39 +00:00
atomic.c Update atomic.c to work with the new clang builtins. 2012-05-15 12:36:14 +00:00
clear_cache.c Fix missing include of int_lib.h and ppc ifdef for FreeBSD. 2012-01-03 18:59:25 +00:00
clzdi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
clzsi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
clzti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
cmpdi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
cmpti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
comparedf2.c Revert "Split single & double comparison routines into separate implementation 2011-03-25 18:45:39 +00:00
comparesf2.c Revert "Split single & double comparison routines into separate implementation 2011-03-25 18:45:39 +00:00
ctzdi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
ctzsi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
ctzti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
divdc3.c lib: Finish int_math.h definitions using compiler builtins and eliminate 2011-11-16 07:33:06 +00:00
divdf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
divdi3.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
divmoddi4.c Proper divmod implementation 2012-01-30 10:21:51 +00:00
divmodsi4.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
divsc3.c lib: Finish int_math.h definitions using compiler builtins and eliminate 2011-11-16 07:33:06 +00:00
divsf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
divsi3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
divti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
divxc3.c lib: Finish int_math.h definitions using compiler builtins and eliminate 2011-11-16 07:33:06 +00:00
enable_execute_stack.c lib: Include stdbool.h in int_lib.h, and eliminate duplicate includes from a number of source files. 2011-11-15 19:02:22 +00:00
eprintf.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
extendsfdf2.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
ffsdi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
ffsti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
fixdfdi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixdfsi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixdfti.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
fixsfdi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixsfsi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixsfti.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
fixunsdfdi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixunsdfsi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixunsdfti.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
fixunssfdi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixunssfsi.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
fixunssfti.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
fixunsxfdi.c license change 2010-11-16 22:13:33 +00:00
fixunsxfsi.c license change 2010-11-16 22:13:33 +00:00
fixunsxfti.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
fixxfdi.c license change 2010-11-16 22:13:33 +00:00
fixxfti.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
floatdidf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floatdisf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floatdixf.c license change 2010-11-16 22:13:33 +00:00
floatsidf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floatsisf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floattidf.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
floattisf.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
floattixf.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
floatundidf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floatundisf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floatundixf.c license change 2010-11-16 22:13:33 +00:00
floatunsidf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floatunsisf.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
floatuntidf.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
floatuntisf.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
floatuntixf.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
fp_lib.h Declare some variables unsigned to avoid signed vs unsigned mismatches. 2012-06-18 18:51:13 +00:00
gcc_personality_v0.c lib/gcc_personality_v0: Remove an unnecessary include. 2011-11-16 01:19:29 +00:00
int_endianness.h Add some basic mingw support. 2012-01-12 21:13:48 +00:00
int_lib.h lib: Finish int_math.h definitions using compiler builtins and eliminate 2011-11-16 07:33:06 +00:00
int_math.h lib/int_math: Some versions of GCC don't provide __builtin_isfinite. Support 2011-11-16 18:56:55 +00:00
int_types.h lib: Rename endianness.h to int_endianness.h (for consistency) and tidy up a bit. 2011-11-15 18:56:21 +00:00
int_util.c On Apple platforms, wire up compilerrt_abort() to log file and function info 2012-02-03 23:53:40 +00:00
int_util.h 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 2012-02-03 23:10:55 +00:00
lit.common.cfg [ASan] add llvm_tools_dir to lit.site.cfg for ASan and add it to PATH 2012-08-07 11:00:19 +00:00
lit.common.unit.cfg [ASan] Add support for running unit tests by lit (as a part of 'make check-asan' command) 2012-08-07 08:59:15 +00:00
lshrdi3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
lshrti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
moddi3.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
modsi3.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
modti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
muldc3.c lib: Finish int_math.h definitions using compiler builtins and eliminate 2011-11-16 07:33:06 +00:00
muldf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
muldi3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
mulodi4.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
mulosi4.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
muloti4.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
mulsc3.c lib: Finish int_math.h definitions using compiler builtins and eliminate 2011-11-16 07:33:06 +00:00
mulsf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
multi3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
mulvdi3.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
mulvsi3.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
mulvti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
mulxc3.c lib: Finish int_math.h definitions using compiler builtins and eliminate 2011-11-16 07:33:06 +00:00
negdf2.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
negdi2.c license change 2010-11-16 22:13:33 +00:00
negsf2.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
negti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
negvdi2.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
negvsi2.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
negvti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
paritydi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
paritysi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
parityti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
popcountdi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
popcountsi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
popcountti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
powidf2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
powisf2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
powitf2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
powixf2.c license change 2010-11-16 22:13:33 +00:00
subdf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
subsf3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
subvdi3.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
subvsi3.c lib: Eliminate direct include of stdlib.h from files that used to (potentially) 2011-11-16 01:19:26 +00:00
subvti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
trampoline_setup.c Fix missing include of int_lib.h and ppc ifdef for FreeBSD. 2012-01-03 18:59:25 +00:00
truncdfsf2.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
ucmpdi2.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
ucmpti2.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
udivdi3.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
udivmoddi4.c Proper divmod implementation 2012-01-30 10:21:51 +00:00
udivmodsi4.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
udivmodti4.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
udivsi3.c Remove extraneous semicolons outside of functions. This fixes a large 2012-06-22 21:09:15 +00:00
udivti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00
umoddi3.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
umodsi3.c lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity. 2011-11-15 18:34:44 +00:00
umodti3.c Mechanical change to sink a #ifdef guard for a platform below the 2012-06-22 21:09:22 +00:00