[llvm-commits] [llvm] r130626 - in /llvm/trunk: lib/MC/MCAsmStreamer.cpp lib/MC/MCMachOStreamer.cpp lib/Target/X86/X86MCAsmInfo.cpp test/CodeGen/PowerPC/mulhs.ll test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll test/CodeGen/X86/2008-04-02-unnamedEH.ll test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll test/CodeGen/X86/hidden-vis-pic.ll test/CodeGen/X86/personality.ll
Rafael Espindola
rafael.espindola at gmail.com
Sat Apr 30 16:03:44 PDT 2011
Author: rafael
Date: Sat Apr 30 18:03:44 2011
New Revision: 130626
URL: http://llvm.org/viewvc/llvm-project?rev=130626&view=rev
Log:
Revert the previous patch while I figure out how to make llvm-gcc
less agressive about disabling cfi on linux :-(
Modified:
llvm/trunk/lib/MC/MCAsmStreamer.cpp
llvm/trunk/lib/MC/MCMachOStreamer.cpp
llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp
llvm/trunk/test/CodeGen/PowerPC/mulhs.ll
llvm/trunk/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll
llvm/trunk/test/CodeGen/X86/2008-04-02-unnamedEH.ll
llvm/trunk/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
llvm/trunk/test/CodeGen/X86/hidden-vis-pic.ll
llvm/trunk/test/CodeGen/X86/personality.ll
Modified: llvm/trunk/lib/MC/MCAsmStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAsmStreamer.cpp?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAsmStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCAsmStreamer.cpp Sat Apr 30 18:03:44 2011
@@ -1070,9 +1070,6 @@
// Dump out the dwarf file & directory tables and line tables.
if (getContext().hasDwarfFiles() && !UseLoc)
MCDwarfFileTable::Emit(this);
-
- if (getNumFrameInfos() && !UseCFI)
- MCDwarfFrameEmitter::Emit(*this);
}
MCStreamer *llvm::createAsmStreamer(MCContext &Context,
Modified: llvm/trunk/lib/MC/MCMachOStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCMachOStreamer.cpp?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCMachOStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCMachOStreamer.cpp Sat Apr 30 18:03:44 2011
@@ -377,9 +377,6 @@
}
void MCMachOStreamer::Finish() {
- if (getNumFrameInfos())
- MCDwarfFrameEmitter::Emit(*this);
-
// We have to set the fragment atom associations so we can relax properly for
// Mach-O.
Modified: llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp Sat Apr 30 18:03:44 2011
@@ -71,7 +71,7 @@
DwarfUsesInlineInfoSection = true;
// Exceptions handling
- ExceptionsType = ExceptionHandling::DwarfCFI;
+ ExceptionsType = ExceptionHandling::DwarfTable;
}
const MCExpr *
Modified: llvm/trunk/test/CodeGen/PowerPC/mulhs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mulhs.ll?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mulhs.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mulhs.ll Sat Apr 30 18:03:44 2011
@@ -5,7 +5,7 @@
; RUN: not grep add %t
; RUN: grep mulhw %t | count 1
-define i32 @mulhs(i32 %a, i32 %b) nounwind {
+define i32 @mulhs(i32 %a, i32 %b) {
entry:
%tmp.1 = sext i32 %a to i64 ; <i64> [#uses=1]
%tmp.3 = sext i32 %b to i64 ; <i64> [#uses=1]
Modified: llvm/trunk/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll Sat Apr 30 18:03:44 2011
@@ -1,6 +1,4 @@
-; RUN: llc < %s -disable-cfi -march=x86 -mtriple=i686-apple-darwin | grep {isNullOrNil].eh"} | FileCheck %s
-
-; CHECK: "_-[NSString(local) isNullOrNil].eh":
+; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin | grep {isNullOrNil].eh"} | count 2
%struct.NSString = type { }
%struct._objc__method_prototype_list = type opaque
Modified: llvm/trunk/test/CodeGen/X86/2008-04-02-unnamedEH.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2008-04-02-unnamedEH.ll?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2008-04-02-unnamedEH.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2008-04-02-unnamedEH.ll Sat Apr 30 18:03:44 2011
@@ -1,4 +1,4 @@
-; RUN: llc < %s -disable-cfi | FileCheck %s
+; RUN: llc < %s | FileCheck %s
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
target triple = "i386-apple-darwin8"
Modified: llvm/trunk/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll Sat Apr 30 18:03:44 2011
@@ -1,5 +1,5 @@
-; RUN: llc < %s -disable-cfi -march=x86-64 -mtriple=x86_64-apple-darwin9 | grep ^__Z1fv.eh
-; RUN: llc < %s -disable-cfi -march=x86 -mtriple=i386-apple-darwin9 | grep ^__Z1fv.eh
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin9 | grep ^__Z1fv.eh
+; RUN: llc < %s -march=x86 -mtriple=i386-apple-darwin9 | grep ^__Z1fv.eh
define void @_Z1fv() {
entry:
Modified: llvm/trunk/test/CodeGen/X86/hidden-vis-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/hidden-vis-pic.ll?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/hidden-vis-pic.ll (original)
+++ llvm/trunk/test/CodeGen/X86/hidden-vis-pic.ll Sat Apr 30 18:03:44 2011
@@ -1,4 +1,4 @@
-; RUN: llc < %s -disable-cfi -mtriple=i386-apple-darwin9 -relocation-model=pic -disable-fp-elim -unwind-tables | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin9 -relocation-model=pic -disable-fp-elim -unwind-tables | FileCheck %s
Modified: llvm/trunk/test/CodeGen/X86/personality.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/personality.ll?rev=130626&r1=130625&r2=130626&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/personality.ll (original)
+++ llvm/trunk/test/CodeGen/X86/personality.ll Sat Apr 30 18:03:44 2011
@@ -1,5 +1,5 @@
-; RUN: llc < %s -disable-cfi -mtriple=x86_64-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X64
-; RUN: llc < %s -disable-cfi -mtriple=i386-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=x86_64-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=i386-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X32
; PR1632
define void @_Z1fv() {
@@ -38,15 +38,13 @@
declare void @__cxa_end_catch()
-; X64: zPLR
-; X64: .byte 155
-; X64-NEXT: .long ___gxx_personality_v0 at GOTPCREL+4
-
-; X32: .section __IMPORT,__pointers,non_lazy_symbol_pointers
-; X32-NEXT: L___gxx_personality_v0$non_lazy_ptr:
-; X32-NEXT: .indirect_symbol ___gxx_personality_v0
-
-; X32: zPLR
-; X32: .byte 155
-; X32-NEXT: :
-; X32-NEXT: .long L___gxx_personality_v0$non_lazy_ptr-
+; X64: Leh_frame_common_begin0:
+; X64: .long ___gxx_personality_v0 at GOTPCREL+4
+
+; X32: Leh_frame_common_begin0:
+; X32: .long L___gxx_personality_v0$non_lazy_ptr-
+; ....
+
+; X32: .section __IMPORT,__pointers,non_lazy_symbol_pointers
+; X32: L___gxx_personality_v0$non_lazy_ptr:
+; X32: .indirect_symbol ___gxx_personality_v0
More information about the llvm-commits
mailing list