]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/ubsan/ubsan_init.h
Update LLDB snapshot to upstream r225923 (git 2b588ecd)
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / ubsan / ubsan_init.h
1 //===-- ubsan_init.h --------------------------------------------*- C++ -*-===//
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 //
10 // Initialization function for UBSan runtime.
11 //
12 //===----------------------------------------------------------------------===//
13 #ifndef UBSAN_INIT_H
14 #define UBSAN_INIT_H
15
16 namespace __ubsan {
17
18 // NOTE: This function might take a lock (if .preinit_array initialization is
19 // not used). It's generally a bad idea to call it on a fast path.
20 void InitIfNecessary();
21
22 }  // namespace __ubsan
23
24 #endif  // UBSAN_INIT_H