1//===-- DebugOptions.h - Global Command line opt for libSupport *- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines the entry point to initialize the options registered on the
10// command line for libSupport, this is internal to libSupport.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_SUPPORT_DEBUGOPTIONS_H
15#define LLVM_SUPPORT_DEBUGOPTIONS_H
16
17namespace llvm {
18
19// These are invoked internally before parsing command line options.
20// This enables lazy-initialization of all the globals in libSupport, instead
21// of eagerly loading everything on program startup.
22void initDebugCounterOptions();
23void initGraphWriterOptions();
24void initSignalsOptions();
25void initStatisticOptions();
26void initTimerOptions();
27void initTypeSizeOptions();
28void initWithColorOptions();
29void initDebugOptions();
30void initRandomSeedOptions();
31
32} // namespace llvm
33
34#endif // LLVM_SUPPORT_DEBUGOPTIONS_H
35

source code of llvm/lib/Support/DebugOptions.h