diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2014-01-29 06:59:20 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2014-01-29 06:59:20 +0000 |
commit | 99c3e481f3c1028b48764a7d30a48f8cda56c9ea (patch) | |
tree | c8de73f7da84cbc6719676789e89d1334d6879a4 /test | |
parent | 52de96920610cc1f1ccfd9dc163c21012836afc1 (diff) | |
download | llvm-99c3e481f3c1028b48764a7d30a48f8cda56c9ea.tar.gz llvm-99c3e481f3c1028b48764a7d30a48f8cda56c9ea.tar.bz2 llvm-99c3e481f3c1028b48764a7d30a48f8cda56c9ea.tar.xz |
[Sparc] Use %r_disp32 for pc_rel entries in FDE as well.
This makes MCAsmInfo::getExprForFDESymbol() a virtual function and overrides it in SparcMCAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/SPARC/exception.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/SPARC/exception.ll b/test/CodeGen/SPARC/exception.ll index d6044e199f..fd9e871dd9 100644 --- a/test/CodeGen/SPARC/exception.ll +++ b/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: |