xref: /freebsd/contrib/llvm-project/llvm/lib/Support/DebugOptions.h (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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 
17 namespace 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.
22 void initDebugCounterOptions();
23 void initGraphWriterOptions();
24 void initSignalsOptions();
25 void initStatisticOptions();
26 void initTimerOptions();
27 void initTypeSizeOptions();
28 void initWithColorOptions();
29 void initDebugOptions();
30 void initRandomSeedOptions();
31 
32 } // namespace llvm
33 
34 #endif // LLVM_SUPPORT_DEBUGOPTIONS_H
35