gcc/libsanitizer/sanitizer_common
Jakub Jelinek b5f58ba331 * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
(LibbacktraceSymbolizer::Demangle): New declaration.
	* sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
	(POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
	method if possible.
	* sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
	"demangle.h" if SANITIZE_CP_DEMANGLE is defined.
	(struct CplusV3DemangleData): New type.
	(CplusV3DemangleCallback, CplusV3Demangle): New functions.
	(SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
	SymbolizeDataCallback): Use CplusV3Demangle.
	* sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
	-DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
	* libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
	cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
	cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
	cplus_demangle_init_info, cplus_demangle_mangled_name,
	cplus_demangle_operators, cplus_demangle_print,
	cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
	cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
	is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
	Define.
	(__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
	(memcmp, strncmp): Redefine.
	* libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
	../../libiberty/cp-demangle.c.
	* libbacktrace/bridge.cc (__asan_internal_memcmp,
	__asan_internal_strncmp): New functions.
	* sanitizer_common/Makefile.in: Regenerated.
	* libbacktrace/Makefile.in: Regenerated.
	* configure: Regenerated.
	* configure.ac: Regenerated.
	* config.h.in: Regenerated.

From-SVN: r206477
2014-01-09 19:16:40 +01:00
..
Makefile.am * sanitizer_common/sanitizer_symbolizer_libbacktrace.h 2014-01-09 19:16:40 +01:00
Makefile.in * sanitizer_common/sanitizer_symbolizer_libbacktrace.h 2014-01-09 19:16:40 +01:00
sanitizer_allocator_internal.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_allocator.cc libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_allocator.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_asm.h Add forgotten file. 2013-12-05 12:06:10 +01:00
sanitizer_atomic_clang.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_atomic_msvc.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_atomic.h
sanitizer_common_interceptors_ioctl.inc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_common_interceptors_scanf.inc libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_common_interceptors.inc libsanitizer merge from upstream r196489 2013-12-05 10:28:59 +00:00
sanitizer_common_libcdep.cc libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_common_syscalls.inc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_common.cc libsanitizer merge from upstream r196489 2013-12-05 10:28:59 +00:00
sanitizer_common.h libsanitizer merge from upstream r196489 2013-12-05 10:28:59 +00:00
sanitizer_coverage.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_flags.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_flags.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_internal_defs.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_lfstack.h
sanitizer_libc.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_libc.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_libignore.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_libignore.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_linux_libcdep.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_linux.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_linux.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_list.h
sanitizer_mac.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_mutex.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_placement_new.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_platform_interceptors.h libsanitizer merge from upstream r196489 2013-12-05 10:28:59 +00:00
sanitizer_platform_limits_linux.cc Include <sys/stat.h> if __x86_64__ is defined 2013-12-06 03:44:55 -08:00
sanitizer_platform_limits_posix.cc libsanitizer: fix build on Mac 10.6 2013-12-19 12:54:11 +00:00
sanitizer_platform_limits_posix.h Use int64 on time and clock for x32 2013-12-06 03:48:24 -08:00
sanitizer_platform.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_posix_libcdep.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_posix.cc libsanitizer merge from upstream r196489 2013-12-05 10:28:59 +00:00
sanitizer_printf.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_procmaps.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_quarantine.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_report_decorator.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_stackdepot.cc libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_stackdepot.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_stacktrace_libcdep.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_stacktrace.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_stacktrace.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_stoptheworld_linux_libcdep.cc libsanitizer merge from upstream r196489 2013-12-05 10:28:59 +00:00
sanitizer_stoptheworld.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_suppressions.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_suppressions.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_symbolizer_libbacktrace.cc * sanitizer_common/sanitizer_symbolizer_libbacktrace.h 2014-01-09 19:16:40 +01:00
sanitizer_symbolizer_libbacktrace.h * sanitizer_common/sanitizer_symbolizer_libbacktrace.h 2014-01-09 19:16:40 +01:00
sanitizer_symbolizer_libcdep.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_symbolizer_posix_libcdep.cc * sanitizer_common/sanitizer_symbolizer_libbacktrace.h 2014-01-09 19:16:40 +01:00
sanitizer_symbolizer_win.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_symbolizer.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_symbolizer.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_syscall_generic.inc libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sanitizer_syscall_linux_x86_64.inc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_thread_registry.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_thread_registry.h libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00
sanitizer_win.cc libsanitizer merge from upstream r196090 2013-12-05 09:18:38 +00:00