~ubuntu-branches/ubuntu/maverick/clamav/maverick-backports

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran, Stephen Gran, Michael Tautschnig
  • Date: 2010-04-26 21:41:18 UTC
  • mfrom: (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100426214118-i6lo606wnh7ywfj6
Tags: 0.96+dfsg-4
[ Stephen Gran ]
* Fixed typo in clamav-milter's postinst

[ Michael Tautschnig ]
* Fixed typo in clamav-freshclam's postinst (closes: #579271)
* Debconf translation updates
  - Portuguese (closes: #579068)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=x86 | grep {(%esp}
 
2
; RUN: llc < %s -march=x86 | grep {pushl        %ebp} | count 1
 
3
; RUN: llc < %s -march=x86 | grep {popl %ebp} | count 1
 
4
 
 
5
declare i8* @llvm.returnaddress(i32)
 
6
 
 
7
declare i8* @llvm.frameaddress(i32)
 
8
 
 
9
define i8* @test1() {
 
10
        %X = call i8* @llvm.returnaddress( i32 0 )              ; <i8*> [#uses=1]
 
11
        ret i8* %X
 
12
}
 
13
 
 
14
define i8* @test2() {
 
15
        %X = call i8* @llvm.frameaddress( i32 0 )               ; <i8*> [#uses=1]
 
16
        ret i8* %X
 
17
}
 
18