LLVM 20.0.0git
DebugOptions.h
Go to the documentation of this file.
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.
26void initTimerOptions();
29void initDebugOptions();
31
32} // namespace llvm
33
34#endif // LLVM_SUPPORT_DEBUGOPTIONS_H
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
void initWithColorOptions()
Definition: WithColor.cpp:34
void initDebugOptions()
Definition: Debug.cpp:145
void initDebugCounterOptions()
void initSignalsOptions()
Definition: Signals.cpp:64
void initTypeSizeOptions()
Definition: TypeSize.cpp:34
void initStatisticOptions()
Definition: Statistic.cpp:49
void initTimerOptions()
Definition: Timer.cpp:90
void initRandomSeedOptions()
void initGraphWriterOptions()
Definition: GraphWriter.cpp:53