~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/PowerPC/available-externally.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -relocation-model=static | FileCheck %s -check-prefix=STATIC
 
2
; RUN: llc < %s -relocation-model=pic | FileCheck %s -check-prefix=PIC
 
3
; RUN: llc < %s -relocation-model=dynamic-no-pic | FileCheck %s -check-prefix=DYNAMIC
 
4
; PR4482
 
5
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"
 
6
target triple = "powerpc-apple-darwin8"
 
7
 
 
8
define i32 @foo(i64 %x) nounwind {
 
9
entry:
 
10
; STATIC: _foo:
 
11
; STATIC: bl _exact_log2
 
12
; STATIC: blr
 
13
; STATIC: .subsections_via_symbols
 
14
 
 
15
; PIC: _foo:
 
16
; PIC: bl L_exact_log2$stub
 
17
; PIC: blr
 
18
 
 
19
; DYNAMIC: _foo:
 
20
; DYNAMIC: bl L_exact_log2$stub
 
21
; DYNAMIC: blr
 
22
 
 
23
        %A = call i32 @exact_log2(i64 %x) nounwind
 
24
        ret i32 %A
 
25
}
 
26
 
 
27
define available_externally i32 @exact_log2(i64 %x) nounwind {
 
28
entry:
 
29
        ret i32 42
 
30
}
 
31
 
 
32
 
 
33
; PIC: .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
 
34
; PIC: L_exact_log2$stub:
 
35
; PIC: .indirect_symbol _exact_log2
 
36
; PIC: mflr r0
 
37
; PIC: bcl 20,31,L_exact_log2$stub$tmp
 
38
 
 
39
; PIC: L_exact_log2$stub$tmp:
 
40
; PIC: mflr r11
 
41
; PIC: addis r11,r11,ha16(L_exact_log2$lazy_ptr-L_exact_log2$stub$tmp)
 
42
; PIC: mtlr r0
 
43
; PIC: lwzu r12,lo16(L_exact_log2$lazy_ptr-L_exact_log2$stub$tmp)(r11)
 
44
; PIC: mtctr r12
 
45
; PIC: bctr
 
46
 
 
47
; PIC: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers
 
48
; PIC: L_exact_log2$lazy_ptr:
 
49
; PIC: .indirect_symbol _exact_log2
 
50
; PIC: .long dyld_stub_binding_helper
 
51
 
 
52
; PIC: .subsections_via_symbols
 
53
 
 
54
 
 
55
; DYNAMIC: .section __TEXT,__symbol_stub1,symbol_stubs,pure_instructions,16
 
56
; DYNAMIC: L_exact_log2$stub:
 
57
; DYNAMIC: .indirect_symbol _exact_log2
 
58
; DYNAMIC: lis r11,ha16(L_exact_log2$lazy_ptr)
 
59
; DYNAMIC: lwzu r12,lo16(L_exact_log2$lazy_ptr)(r11)
 
60
; DYNAMIC: mtctr r12
 
61
; DYNAMIC: bctr
 
62
 
 
63
; DYNAMIC: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers
 
64
; DYNAMIC: L_exact_log2$lazy_ptr:
 
65
; DYNAMIC: .indirect_symbol _exact_log2
 
66
; DYNAMIC: .long dyld_stub_binding_helper
 
67
 
 
68
 
 
69
 
 
70
 
 
71