diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-06-29 21:43:47 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-06-29 21:43:47 +0000 |
commit | 67b548154ea08dd9c0e3456c2d7c82803fe2d64b (patch) | |
tree | eab169feada64590bdbe20542e633943ddd756a4 /llvm/lib/CodeGen/Passes.cpp | |
parent | f94e7d74f7c231151ab2c92882f585e625cd03f6 (diff) | |
download | bcm5719-llvm-67b548154ea08dd9c0e3456c2d7c82803fe2d64b.tar.gz bcm5719-llvm-67b548154ea08dd9c0e3456c2d7c82803fe2d64b.zip |
CodeGen: rename Win64 ExceptionHandling to WinEH
This exception format is not specific to Windows x64. A similar approach is
taken on nearly all architectures. Generalise the name to reflect reality.
This will eventually be used for Windows on ARM data emission as well.
Switch the enum and namespace into an enum class.
llvm-svn: 212000
Diffstat (limited to 'llvm/lib/CodeGen/Passes.cpp')
-rw-r--r-- | llvm/lib/CodeGen/Passes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Passes.cpp b/llvm/lib/CodeGen/Passes.cpp index 4eec623e079..249b2d0f6bb 100644 --- a/llvm/lib/CodeGen/Passes.cpp +++ b/llvm/lib/CodeGen/Passes.cpp @@ -416,7 +416,7 @@ void TargetPassConfig::addPassesToHandleExceptions() { // FALLTHROUGH case ExceptionHandling::DwarfCFI: case ExceptionHandling::ARM: - case ExceptionHandling::Win64: + case ExceptionHandling::WinEH: addPass(createDwarfEHPass(TM)); break; case ExceptionHandling::None: |