aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCNaCl.h
blob: 654131bc048c50968fc10d11c649bd6503919238 (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
29
//===- MCNaCl.h - NaCl-specific code for MC  --------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "llvm/Support/CommandLine.h"

namespace llvm {

extern cl::opt<bool> FlagSfiZeroMask;
extern cl::opt<bool> FlagSfiData;
extern cl::opt<bool> FlagSfiLoad;
extern cl::opt<bool> FlagSfiStore;
extern cl::opt<bool> FlagSfiStack;
extern cl::opt<bool> FlagSfiBranch;

class MCContext;
class MCStreamer;
class Triple;
/// Initialize target-specific bundle alignment and emit target-specific NaCl
/// ELF note sections.
void initializeNaClMCStreamer(MCStreamer &Streamer, MCContext &Ctx,
                              const Triple &TheTriple);

}