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