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 | 847307a35b33bf3b9c68510c71b41794de9f2cca (patch) | |
tree | 9d87d7afa65db66bcf263fb818f49d6ffc3c9cff /lib/Target/X86/MCTargetDesc | |
parent | 0fdfaafb70f4570fe8f11f83a5ef11304163ff65 (diff) | |
download | external_llvm-847307a35b33bf3b9c68510c71b41794de9f2cca.zip external_llvm-847307a35b33bf3b9c68510c71b41794de9f2cca.tar.gz external_llvm-847307a35b33bf3b9c68510c71b41794de9f2cca.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/MCTargetDesc')
-rw-r--r-- | lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp index 003a14a..afa545c 100644 --- a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp +++ b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp @@ -155,4 +155,7 @@ X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) { AssemblerDialect = AsmWriterFlavor; TextAlignFillValue = 0x90; + + // Exceptions handling + ExceptionsType = ExceptionHandling::DwarfCFI; } |