b5f58ba331
(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 |
||
---|---|---|
.. | ||
Makefile.am | ||
Makefile.in | ||
sanitizer_allocator_internal.h | ||
sanitizer_allocator.cc | ||
sanitizer_allocator.h | ||
sanitizer_asm.h | ||
sanitizer_atomic_clang.h | ||
sanitizer_atomic_msvc.h | ||
sanitizer_atomic.h | ||
sanitizer_common_interceptors_ioctl.inc | ||
sanitizer_common_interceptors_scanf.inc | ||
sanitizer_common_interceptors.inc | ||
sanitizer_common_libcdep.cc | ||
sanitizer_common_syscalls.inc | ||
sanitizer_common.cc | ||
sanitizer_common.h | ||
sanitizer_coverage.cc | ||
sanitizer_flags.cc | ||
sanitizer_flags.h | ||
sanitizer_internal_defs.h | ||
sanitizer_lfstack.h | ||
sanitizer_libc.cc | ||
sanitizer_libc.h | ||
sanitizer_libignore.cc | ||
sanitizer_libignore.h | ||
sanitizer_linux_libcdep.cc | ||
sanitizer_linux.cc | ||
sanitizer_linux.h | ||
sanitizer_list.h | ||
sanitizer_mac.cc | ||
sanitizer_mutex.h | ||
sanitizer_placement_new.h | ||
sanitizer_platform_interceptors.h | ||
sanitizer_platform_limits_linux.cc | ||
sanitizer_platform_limits_posix.cc | ||
sanitizer_platform_limits_posix.h | ||
sanitizer_platform.h | ||
sanitizer_posix_libcdep.cc | ||
sanitizer_posix.cc | ||
sanitizer_printf.cc | ||
sanitizer_procmaps.h | ||
sanitizer_quarantine.h | ||
sanitizer_report_decorator.h | ||
sanitizer_stackdepot.cc | ||
sanitizer_stackdepot.h | ||
sanitizer_stacktrace_libcdep.cc | ||
sanitizer_stacktrace.cc | ||
sanitizer_stacktrace.h | ||
sanitizer_stoptheworld_linux_libcdep.cc | ||
sanitizer_stoptheworld.h | ||
sanitizer_suppressions.cc | ||
sanitizer_suppressions.h | ||
sanitizer_symbolizer_libbacktrace.cc | ||
sanitizer_symbolizer_libbacktrace.h | ||
sanitizer_symbolizer_libcdep.cc | ||
sanitizer_symbolizer_posix_libcdep.cc | ||
sanitizer_symbolizer_win.cc | ||
sanitizer_symbolizer.cc | ||
sanitizer_symbolizer.h | ||
sanitizer_syscall_generic.inc | ||
sanitizer_syscall_linux_x86_64.inc | ||
sanitizer_thread_registry.cc | ||
sanitizer_thread_registry.h | ||
sanitizer_win.cc |