]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/llvm/MC/MCWinEH.h
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / include / llvm / MC / MCWinEH.h
1 //===- MCWinEH.h - Windows Unwinding Support --------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_MC_MCWINEH_H
11 #define LLVM_MC_MCWINEH_H
12
13 namespace llvm {
14 class MCSymbol;
15
16 namespace WinEH {
17 struct Instruction {
18   const MCSymbol *Label;
19   const unsigned Offset;
20   const unsigned Register;
21   const unsigned Operation;
22
23   Instruction(unsigned Op, MCSymbol *L, unsigned Reg, unsigned Off)
24     : Label(L), Offset(Off), Register(Reg), Operation(Op) {}
25 };
26 }
27 }
28
29 #endif