]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
Merge llvm, clang, compiler-rt, libc++, lld, and lldb release_80 branch
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / sanitizer_common / sanitizer_common_interface.inc
1 //===-- sanitizer_common_interface.inc ------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 // Sanitizer Common interface list.
10 //===----------------------------------------------------------------------===//
11 INTERFACE_FUNCTION(__sanitizer_acquire_crash_state)
12 INTERFACE_FUNCTION(__sanitizer_annotate_contiguous_container)
13 INTERFACE_FUNCTION(__sanitizer_contiguous_container_find_bad_address)
14 INTERFACE_FUNCTION(__sanitizer_set_death_callback)
15 INTERFACE_FUNCTION(__sanitizer_set_report_path)
16 INTERFACE_FUNCTION(__sanitizer_set_report_fd)
17 INTERFACE_FUNCTION(__sanitizer_verify_contiguous_container)
18 INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary)
19 INTERFACE_WEAK_FUNCTION(__sanitizer_sandbox_on_notify)
20 // Sanitizer weak hooks
21 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_memcmp)
22 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strcmp)
23 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strncmp)
24 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strstr)
25 // Stacktrace interface.
26 INTERFACE_FUNCTION(__sanitizer_get_module_and_offset_for_pc)
27 INTERFACE_FUNCTION(__sanitizer_symbolize_global)
28 INTERFACE_FUNCTION(__sanitizer_symbolize_pc)
29 // Allocator interface.
30 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
31 INTERFACE_FUNCTION(__sanitizer_get_current_allocated_bytes)
32 INTERFACE_FUNCTION(__sanitizer_get_estimated_allocated_size)
33 INTERFACE_FUNCTION(__sanitizer_get_free_bytes)
34 INTERFACE_FUNCTION(__sanitizer_get_heap_size)
35 INTERFACE_FUNCTION(__sanitizer_get_ownership)
36 INTERFACE_FUNCTION(__sanitizer_get_unmapped_bytes)
37 INTERFACE_FUNCTION(__sanitizer_install_malloc_and_free_hooks)
38 INTERFACE_FUNCTION(__sanitizer_purge_allocator)
39 INTERFACE_FUNCTION(__sanitizer_print_memory_profile)
40 INTERFACE_WEAK_FUNCTION(__sanitizer_free_hook)
41 INTERFACE_WEAK_FUNCTION(__sanitizer_malloc_hook)