mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
Target: move enum back into MC
Move the enumeration back to avoid the layering violation. Should repair the modules build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f6808a785
commit
e7579a0096
@ -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 };
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user