1 //===-- ubsan_init.h --------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Initialization function for UBSan runtime.
12 //===----------------------------------------------------------------------===//
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();
22 } // namespace __ubsan
24 #endif // UBSAN_INIT_H