ubsan_init.h revision 1.1.1.1
1//===-- ubsan_init.h --------------------------------------------*- C++ -*-===// 2// 3// This file is distributed under the University of Illinois Open Source 4// License. See LICENSE.TXT for details. 5// 6//===----------------------------------------------------------------------===// 7// 8// Initialization function for UBSan runtime. 9// 10//===----------------------------------------------------------------------===// 11#ifndef UBSAN_INIT_H 12#define UBSAN_INIT_H 13 14namespace __ubsan { 15 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. 18void InitIfNecessary(); 19 20} // namespace __ubsan 21 22#endif // UBSAN_INIT_H 23