Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions llvm/include/llvm/MC/MCTargetOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,14 @@
#define LLVM_MC_MCTARGETOPTIONS_H

#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Compression.h"
#include <string>
#include <vector>

namespace llvm {

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
Wasm, ///< WebAssembly Exception Handling
AIX, ///< AIX Exception Handling
ZOS, ///< z/OS MVS Exception Handling. Very similar to DwarfCFI, but the PPA1
///< is used instead of an .eh_frame section.
};

enum class EmitDwarfUnwindType {
Always, // Always emit dwarf unwind
NoCompactUnwind, // Only emit if compact unwind isn't available
Expand Down
12 changes: 12 additions & 0 deletions llvm/include/llvm/Support/CodeGen.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ namespace llvm {
};
}

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
Wasm, ///< WebAssembly Exception Handling
AIX, ///< AIX Exception Handling
ZOS, ///< z/OS MVS Exception Handling. Very similar to DwarfCFI, but the
///< PPA1 is used instead of an .eh_frame section.
};

namespace FloatABI {
enum ABIType {
Default, // Target-specific (either soft or hard depending on triple, etc).
Expand Down
Loading