1018981977
libsanitizer/ * All source files: Merge from upstream 285547. * configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): New variable. * configure.ac (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Handle it. * asan/Makefile.am (asan_files): Add new files. * asan/Makefile.in: Regenerate. * ubsan/Makefile.in: Likewise. * lsan/Makefile.in: Likewise. * tsan/Makefile.am (tsan_files): Add new files. * tsan/Makefile.in: Regenerate. * sanitizer_common/Makefile.am (sanitizer_common_files): Add new files. (EXTRA_libsanitizer_common_la_SOURCES): Define. (libsanitizer_common_la_LIBADD): Likewise. (libsanitizer_common_la_DEPENDENCIES): Likewise. * sanitizer_common/Makefile.in: Regenerate. * interception/Makefile.in: Likewise. * libbacktace/Makefile.in: Likewise. * Makefile.in: Likewise. * configure: Likewise. * merge.sh: Handle builtins/assembly.h merging. * builtins/assembly.h: New file. * asan/libtool-version: Bump the libasan SONAME. From-SVN: r241977
37 lines
1.6 KiB
C++
37 lines
1.6 KiB
C++
//===-- asan_init_version.h -------------------------------------*- C++ -*-===//
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file is a part of AddressSanitizer, an address sanity checker.
|
|
//
|
|
// This header defines a versioned __asan_init function to be called at the
|
|
// startup of the instrumented program.
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef ASAN_INIT_VERSION_H
|
|
#define ASAN_INIT_VERSION_H
|
|
|
|
extern "C" {
|
|
// Every time the ASan ABI changes we also change the version number in the
|
|
// __asan_init function name. Objects built with incompatible ASan ABI
|
|
// versions will not link with run-time.
|
|
//
|
|
// Changes between ABI versions:
|
|
// v1=>v2: added 'module_name' to __asan_global
|
|
// v2=>v3: stack frame description (created by the compiler)
|
|
// contains the function PC as the 3rd field (see
|
|
// DescribeAddressIfStack)
|
|
// v3=>v4: added '__asan_global_source_location' to __asan_global
|
|
// v4=>v5: changed the semantics and format of __asan_stack_malloc_ and
|
|
// __asan_stack_free_ functions
|
|
// v5=>v6: changed the name of the version check symbol
|
|
// v6=>v7: added 'odr_indicator' to __asan_global
|
|
// v7=>v8: added '__asan_(un)register_image_globals' functions for dead
|
|
// stripping support on Mach-O platforms
|
|
#define __asan_version_mismatch_check __asan_version_mismatch_check_v8
|
|
}
|
|
|
|
#endif // ASAN_INIT_VERSION_H
|