diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-04-07 02:24:20 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-04-07 02:24:20 +0000 |
| commit | b95f64134e424cb2ea0e1a8f7064fd3b8d340879 (patch) | |
| tree | 7772f48802448ae7ff57b2db1e4d797535a2e397 /llvm/lib/Target/X86 | |
| parent | 5a1528f49d3137febbed48dfa3a902a8075dcb3f (diff) | |
| download | bcm5719-llvm-b95f64134e424cb2ea0e1a8f7064fd3b8d340879.tar.gz bcm5719-llvm-b95f64134e424cb2ea0e1a8f7064fd3b8d340879.zip | |
Target/X86/MCTargetDesc/X86MCAsmInfo.cpp: Enable DwarfCFI (aka DW2) on Cygming.
Cygwin-1.7 supports dw2. Some recent mingw distros support one, too.
I have confirmed test-suite/SingleSource/Benchmarks/Shootout-C++/except.cpp can pass on Cygwin.
llvm-svn: 154247
Diffstat (limited to 'llvm/lib/Target/X86')
| -rw-r--r-- | llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp index 003a14ab215..afa545cbb31 100644 --- a/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp +++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp @@ -155,4 +155,7 @@ X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) { AssemblerDialect = AsmWriterFlavor; TextAlignFillValue = 0x90; + + // Exceptions handling + ExceptionsType = ExceptionHandling::DwarfCFI; } |

