OSDN Git Service

Enable exceptions handling on PPC64 now that cr misaligned spilling
authorRoman Divacky <rdivacky@freebsd.org>
Wed, 12 Sep 2012 15:29:32 +0000 (15:29 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Wed, 12 Sep 2012 15:29:32 +0000 (15:29 +0000)
was fixed in r163713.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163715 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp

index b9ea8b5..215aa40 100644 (file)
@@ -59,8 +59,7 @@ PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
   HasLEB128 = true;  // Target asm supports leb128 directives (little-endian)
 
   // Exceptions handling
-  if (!is64Bit)
-    ExceptionsType = ExceptionHandling::DwarfCFI;
+  ExceptionsType = ExceptionHandling::DwarfCFI;
     
   ZeroDirective = "\t.space\t";
   Data64bitsDirective = is64Bit ? "\t.quad\t" : 0;