OLD | NEW |
1 //===- subzero/src/IceClFlags.h - Cl Flags for translation ------*- C++ -*-===// | 1 //===- subzero/src/IceClFlags.h - Cl Flags for translation ------*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file declares command line flags controlling translation. | 10 // This file declares command line flags controlling translation. |
11 // | 11 // |
12 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
13 | 13 |
14 #ifndef SUBZERO_SRC_ICECLFLAGS_H | 14 #ifndef SUBZERO_SRC_ICECLFLAGS_H |
15 #define SUBZERO_SRC_ICECLFLAGS_H | 15 #define SUBZERO_SRC_ICECLFLAGS_H |
16 | 16 |
17 namespace Ice { | 17 namespace Ice { |
18 | 18 |
19 class ClFlags { | 19 class ClFlags { |
20 public: | 20 public: |
21 ClFlags() | 21 ClFlags() |
22 : DisableInternal(false), SubzeroTimingEnabled(false), | 22 : DisableInternal(false), SubzeroTimingEnabled(false), |
23 DisableTranslation(false), DisableGlobals(false), | 23 DisableTranslation(false), DisableGlobals(false), |
24 FunctionSections(false) {} | 24 FunctionSections(false), UseSandboxing(false) {} |
25 bool DisableInternal; | 25 bool DisableInternal; |
26 bool SubzeroTimingEnabled; | 26 bool SubzeroTimingEnabled; |
27 bool DisableTranslation; | 27 bool DisableTranslation; |
28 bool DisableGlobals; | 28 bool DisableGlobals; |
29 bool FunctionSections; | 29 bool FunctionSections; |
| 30 bool UseSandboxing; |
30 }; | 31 }; |
31 | 32 |
32 } // end of namespace Ice | 33 } // end of namespace Ice |
33 | 34 |
34 #endif // SUBZERO_SRC_ICECLFLAGS_H | 35 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |