1 //===-- ubsan_init.h --------------------------------------------*- C++ -*-===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // Initialization function for UBSan runtime.
10 //===----------------------------------------------------------------------===//
16 // NOTE: This function might take a lock (if .preinit_array initialization is
17 // not used). It's generally a bad idea to call it on a fast path.
18 void InitIfNecessary();
20 } // namespace __ubsan
22 #endif // UBSAN_INIT_H