aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86NaClDecls.h
blob: 4050187c68c172afebaebe7f62859ca9003ce560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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