1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Target: move enum back into MC

Move the enumeration back to avoid the layering violation.  Should repair the
modules build.

llvm-svn: 270184
This commit is contained in:
Saleem Abdulrasool 2016-05-20 05:13:35 +00:00
parent 3d9d65f12a
commit 2fe41d42b0
2 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,6 @@
#ifndef LLVM_MC_MCASMINFO_H
#define LLVM_MC_MCASMINFO_H
#include "llvm/Target/TargetOptions.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCDwarf.h"
#include <cassert>
@ -42,6 +41,14 @@ enum class EncodingType {
};
}
enum class ExceptionHandling {
None, /// No exception support
DwarfCFI, /// DWARF-like instruction based exceptions
SjLj, /// setjmp/longjmp based exceptions
ARM, /// ARM EHABI
WinEH, /// Windows Exception Handling
};
namespace LCOMM {
enum LCOMMType { NoAlignment, ByteAlignment, Log2Alignment };
}

View File

@ -17,6 +17,7 @@
#include "llvm/Target/TargetRecip.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/MC/MCAsmInfo.h"
namespace llvm {
class MachineFunction;
@ -88,14 +89,6 @@ namespace llvm {
SCE // Tune debug info for SCE targets (e.g. PS4).
};
enum class ExceptionHandling {
None, /// No exception support
DwarfCFI, /// DWARF-like instruction based exceptions
SjLj, /// setjmp/longjmp based exceptions
ARM, /// ARM EHABI
WinEH, /// Windows Exception Handling
};
class TargetOptions {
public:
TargetOptions()