Index: lib/Target/X86/X86NaClDecls.h |
diff --git a/lib/Target/X86/X86NaClDecls.h b/lib/Target/X86/X86NaClDecls.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4050187c68c172afebaebe7f62859ca9003ce560 |
--- /dev/null |
+++ b/lib/Target/X86/X86NaClDecls.h |
@@ -0,0 +1,28 @@ |
+//===-- X86NaClDecls.h - Common X86 NaCl declarations -----------*- C++ -*-===// |
+// |
+// The LLVM Compiler Infrastructure |
+// |
+// This file is distributed under the University of Illinois Open Source |
+// License. See LICENSE.TXT for details. |
+// |
+//===----------------------------------------------------------------------===// |
+// |
+// This file provides various NaCl-related declarations for the X86-32 |
+// and X86-64 architectures. |
+// |
+//===----------------------------------------------------------------------===// |
+ |
+#ifndef X86NACLDECLS_H |
+#define X86NACLDECLS_H |
+ |
+#include "llvm/Support/CommandLine.h" |
+ |
+using namespace llvm; |
+ |
+extern const int kNaClX86InstructionBundleSize; |
+ |
+extern cl::opt<bool> FlagRestrictR15; |
+extern cl::opt<bool> FlagUseZeroBasedSandbox; |
+extern cl::opt<bool> FlagHideSandboxBase; |
+ |
+#endif // X86NACLDECLS_H |