Path: blob/main/contrib/llvm-project/llvm/lib/Support/DebugOptions.h
35234 views
//===-- DebugOptions.h - Global Command line opt for libSupport *- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file defines the entry point to initialize the options registered on the9// command line for libSupport, this is internal to libSupport.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_SUPPORT_DEBUGOPTIONS_H14#define LLVM_SUPPORT_DEBUGOPTIONS_H1516namespace llvm {1718// These are invoked internally before parsing command line options.19// This enables lazy-initialization of all the globals in libSupport, instead20// of eagerly loading everything on program startup.21void initDebugCounterOptions();22void initGraphWriterOptions();23void initSignalsOptions();24void initStatisticOptions();25void initTimerOptions();26void initTypeSizeOptions();27void initWithColorOptions();28void initDebugOptions();29void initRandomSeedOptions();3031} // namespace llvm3233#endif // LLVM_SUPPORT_DEBUGOPTIONS_H343536