xref: /llvm-project/llvm/lib/Support/DebugOptions.h (revision 972a4e889dec3adcad5f9a4c218872db57b88603)
176374573SMehdi Amini //===-- DebugOptions.h - Global Command line opt for libSupport  *- C++ -*-===//
276374573SMehdi Amini //
376374573SMehdi Amini // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
476374573SMehdi Amini // See https://llvm.org/LICENSE.txt for license information.
576374573SMehdi Amini // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
676374573SMehdi Amini //
776374573SMehdi Amini //===----------------------------------------------------------------------===//
876374573SMehdi Amini //
976374573SMehdi Amini // This file defines the entry point to initialize the options registered on the
1076374573SMehdi Amini // command line for libSupport, this is internal to libSupport.
1176374573SMehdi Amini //
1276374573SMehdi Amini //===----------------------------------------------------------------------===//
1376374573SMehdi Amini 
14*972a4e88SElliot Goodrich #ifndef LLVM_SUPPORT_DEBUGOPTIONS_H
15*972a4e88SElliot Goodrich #define LLVM_SUPPORT_DEBUGOPTIONS_H
16*972a4e88SElliot Goodrich 
1776374573SMehdi Amini namespace llvm {
1876374573SMehdi Amini 
1976374573SMehdi Amini // These are invoked internally before parsing command line options.
2076374573SMehdi Amini // This enables lazy-initialization of all the globals in libSupport, instead
2176374573SMehdi Amini // of eagerly loading everything on program startup.
2276374573SMehdi Amini void initDebugCounterOptions();
2376374573SMehdi Amini void initGraphWriterOptions();
2476374573SMehdi Amini void initSignalsOptions();
2576374573SMehdi Amini void initStatisticOptions();
2676374573SMehdi Amini void initTimerOptions();
2776374573SMehdi Amini void initTypeSizeOptions();
2876374573SMehdi Amini void initWithColorOptions();
2976374573SMehdi Amini void initDebugOptions();
3076374573SMehdi Amini void initRandomSeedOptions();
3176374573SMehdi Amini 
3276374573SMehdi Amini } // namespace llvm
33*972a4e88SElliot Goodrich 
34*972a4e88SElliot Goodrich #endif // LLVM_SUPPORT_DEBUGOPTIONS_H
35