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