Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
flags.cc File Reference
#include "vm/flags.h"
#include "platform/assert.h"
#include "vm/isolate.h"
#include "vm/json_stream.h"
#include "vm/os.h"

Go to the source code of this file.

Classes

class  dart::Flag
 

Namespaces

namespace  dart
 

Macros

#define PRODUCT_FLAG_MACRO(name, type, default_value, comment)
 
#define DEBUG_FLAG_MACRO(name, type, default_value, comment)
 
#define RELEASE_FLAG_MACRO(name, product_value, type, default_value, comment)
 
#define PRECOMPILE_FLAG_MACRO(name, pre_value, product_value, type, default_value, comment)
 

Functions

 dart::DEFINE_FLAG (bool, print_flags, false, "Print flags as they are being parsed.")
 
 dart::DEFINE_FLAG (bool, ignore_unrecognized_flags, false, "Ignore unrecognized flags.")
 
static void dart::Normalize (char *s)
 
static bool dart::IsValidFlag (const char *name, const char *prefix, intptr_t prefix_length)
 

Macro Definition Documentation

◆ DEBUG_FLAG_MACRO

#define DEBUG_FLAG_MACRO (   name,
  type,
  default_value,
  comment 
)

Definition at line 29 of file flags.cc.

◆ PRECOMPILE_FLAG_MACRO

#define PRECOMPILE_FLAG_MACRO (   name,
  pre_value,
  product_value,
  type,
  default_value,
  comment 
)
Value:
type FLAG_##name = \
Flags::Register_##type(&FLAG_##name, #name, default_value, comment);
GLenum type
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Definition at line 58 of file flags.cc.

◆ PRODUCT_FLAG_MACRO

#define PRODUCT_FLAG_MACRO (   name,
  type,
  default_value,
  comment 
)
Value:
type FLAG_##name = \
Flags::Register_##type(&FLAG_##name, #name, default_value, comment);

Definition at line 20 of file flags.cc.

◆ RELEASE_FLAG_MACRO

#define RELEASE_FLAG_MACRO (   name,
  product_value,
  type,
  default_value,
  comment 
)
Value:
type FLAG_##name = \
Flags::Register_##type(&FLAG_##name, #name, default_value, comment);

Definition at line 55 of file flags.cc.