blob: 5cf534c0dec54901a706d84dfb12f16d28d4d77b [file] [log] [blame]
Karl Schimpf8d7abae2014-07-07 14:50:30 -07001//===- subzero/src/IceClFlags.h - Cl Flags for translation ------*- C++ -*-===//
2//
3// The Subzero Code Generator
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file declares command line flags controlling translation.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef SUBZERO_SRC_ICECLFLAGS_H
15#define SUBZERO_SRC_ICECLFLAGS_H
16
17namespace Ice {
18
19class ClFlags {
20public:
21 ClFlags()
22 : DisableInternal(false), SubzeroTimingEnabled(false),
Jim Stichnoth989a7032014-08-08 10:13:44 -070023 DisableTranslation(false), DisableGlobals(false),
Jim Stichnothbfb03e52014-08-26 10:29:05 -070024 FunctionSections(false), UseSandboxing(false) {}
Karl Schimpf8d7abae2014-07-07 14:50:30 -070025 bool DisableInternal;
26 bool SubzeroTimingEnabled;
27 bool DisableTranslation;
Jim Stichnoth206833c2014-08-07 10:58:05 -070028 bool DisableGlobals;
Jim Stichnoth989a7032014-08-08 10:13:44 -070029 bool FunctionSections;
Jim Stichnothbfb03e52014-08-26 10:29:05 -070030 bool UseSandboxing;
Karl Schimpf8d7abae2014-07-07 14:50:30 -070031};
Jim Stichnoth989a7032014-08-08 10:13:44 -070032
33} // end of namespace Ice
Karl Schimpf8d7abae2014-07-07 14:50:30 -070034
35#endif // SUBZERO_SRC_ICECLFLAGS_H