[llvm-commits] [llvm] r154247 - in /llvm/trunk: docs/ReleaseNotes.html lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Fri Apr 6 19:24:20 PDT 2012
Author: chapuni
Date: Fri Apr 6 21:24:20 2012
New Revision: 154247
URL: http://llvm.org/viewvc/llvm-project?rev=154247&view=rev
Log:
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.
Modified:
llvm/trunk/docs/ReleaseNotes.html
llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
Modified: llvm/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ReleaseNotes.html?rev=154247&r1=154246&r2=154247&view=diff
==============================================================================
--- llvm/trunk/docs/ReleaseNotes.html (original)
+++ llvm/trunk/docs/ReleaseNotes.html Fri Apr 6 21:24:20 2012
@@ -384,6 +384,7 @@
<li>Call instructions use the new register mask operands for faster compile
times and better support for different calling conventions. The old WINCALL
instructions are no longer needed.</li>
+ <li>DW2 Exception Handling is enabled on Cygwin and MinGW.</li>
</ul>
</div>
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp?rev=154247&r1=154246&r2=154247&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp Fri Apr 6 21:24:20 2012
@@ -155,4 +155,7 @@
AssemblerDialect = AsmWriterFlavor;
TextAlignFillValue = 0x90;
+
+ // Exceptions handling
+ ExceptionsType = ExceptionHandling::DwarfCFI;
}
More information about the llvm-commits
mailing list