File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1010#define LLVM_MC_MCTARGETOPTIONS_H
1111
1212#include " llvm/ADT/ArrayRef.h"
13+ #include " llvm/Support/CodeGen.h"
1314#include " llvm/Support/Compiler.h"
1415#include " llvm/Support/Compression.h"
1516#include < string>
1617#include < vector>
1718
1819namespace llvm {
1920
20- enum class ExceptionHandling {
21- None, // /< No exception support
22- DwarfCFI, // /< DWARF-like instruction based exceptions
23- SjLj, // /< setjmp/longjmp based exceptions
24- ARM, // /< ARM EHABI
25- WinEH, // /< Windows Exception Handling
26- Wasm, // /< WebAssembly Exception Handling
27- AIX, // /< AIX Exception Handling
28- ZOS, // /< z/OS MVS Exception Handling. Very similar to DwarfCFI, but the PPA1
29- // /< is used instead of an .eh_frame section.
30- };
31-
3221enum class EmitDwarfUnwindType {
3322 Always, // Always emit dwarf unwind
3423 NoCompactUnwind, // Only emit if compact unwind isn't available
Original file line number Diff line number Diff line change @@ -50,6 +50,18 @@ namespace llvm {
5050 };
5151 }
5252
53+ enum class ExceptionHandling {
54+ None, // /< No exception support
55+ DwarfCFI, // /< DWARF-like instruction based exceptions
56+ SjLj, // /< setjmp/longjmp based exceptions
57+ ARM, // /< ARM EHABI
58+ WinEH, // /< Windows Exception Handling
59+ Wasm, // /< WebAssembly Exception Handling
60+ AIX, // /< AIX Exception Handling
61+ ZOS, // /< z/OS MVS Exception Handling. Very similar to DwarfCFI, but the
62+ // /< PPA1 is used instead of an .eh_frame section.
63+ };
64+
5365 namespace FloatABI {
5466 enum ABIType {
5567 Default, // Target-specific (either soft or hard depending on triple, etc).
You can’t perform that action at this time.
0 commit comments