summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SPARC/exception.ll
diff options
context:
space:
mode:
authorVenkatraman Govindaraju <venkatra@cs.wisc.edu>2014-01-29 06:59:20 +0000
committerVenkatraman Govindaraju <venkatra@cs.wisc.edu>2014-01-29 06:59:20 +0000
commit141d0e2221ac05bf8fe039eb7e6ca9b9a4779f16 (patch)
treebaf3aa2c7f73688f58a00c874487bfd804df7e8e /llvm/test/CodeGen/SPARC/exception.ll
parentb366f01f836d1dc61a449c6d4656e6b3117142fb (diff)
downloadbcm5719-llvm-141d0e2221ac05bf8fe039eb7e6ca9b9a4779f16.tar.gz
bcm5719-llvm-141d0e2221ac05bf8fe039eb7e6ca9b9a4779f16.zip
[Sparc] Use %r_disp32 for pc_rel entries in FDE as well.
This makes MCAsmInfo::getExprForFDESymbol() a virtual function and overrides it in SparcMCAsmInfo. llvm-svn: 200376
Diffstat (limited to 'llvm/test/CodeGen/SPARC/exception.ll')
-rw-r--r--llvm/test/CodeGen/SPARC/exception.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/SPARC/exception.ll b/llvm/test/CodeGen/SPARC/exception.ll
index d6044e199f5..fd9e871dd9a 100644
--- a/llvm/test/CodeGen/SPARC/exception.ll
+++ b/llvm/test/CodeGen/SPARC/exception.ll
@@ -57,6 +57,7 @@
; V8PIC_NOCFI: .section .eh_frame
; V8PIC_NOCFI-NOT: .section
; V8PIC_NOCFI: .word %r_disp32(DW.ref.__gxx_personality_v0)
+; V8PIC_NOCFI: .word %r_disp32(.Ltmp{{.+}}) ! FDE initial location
; V9ABS-LABEL: main:
@@ -94,6 +95,7 @@
; V9PIC_NOCFI: .section .eh_frame
; V9PIC_NOCFI-NOT: .section
; V9PIC_NOCFI: .word %r_disp32(DW.ref.__gxx_personality_v0)
+; V9PIC_NOCFI: .word %r_disp32(.Ltmp{{.+}}) ! FDE initial location
define i32 @main(i32 %argc, i8** nocapture readnone %argv) unnamed_addr #0 {
entry:
OpenPOWER on IntegriCloud