xref: /freebsd/contrib/llvm-project/llvm/lib/Support/DebugOptions.h (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
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 namespace llvm {
15 
16 // These are invoked internally before parsing command line options.
17 // This enables lazy-initialization of all the globals in libSupport, instead
18 // of eagerly loading everything on program startup.
19 void initDebugCounterOptions();
20 void initGraphWriterOptions();
21 void initSignalsOptions();
22 void initStatisticOptions();
23 void initTimerOptions();
24 void initTypeSizeOptions();
25 void initWithColorOptions();
26 void initDebugOptions();
27 void initRandomSeedOptions();
28 
29 } // namespace llvm