~ubuntu-branches/ubuntu/trusty/llvm-toolchain-snapshot/trusty-201310232150

« back to all changes in this revision

Viewing changes to test/Object/yaml2obj-readobj.test

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-27 15:01:57 UTC
  • mfrom: (0.10.1) (0.9.1) (0.8.1) (0.7.1) (0.6.1) (0.5.2)
  • Revision ID: package-import@ubuntu.com-20130527150157-tdkrsjpuvht7v0qx
Tags: 1:3.4~svn182733-1~exp1
* New snapshot release (3.4 release)
* Add a symlink of libLLVM-3.4.so.1 to usr/lib/llvm-3.4/lib/libLLVM-3.4.so
    to fix make the llvm-config-3.4 --libdir work (Closes: #708677)
  * Various packages rename to allow co installations:
    * libclang1 => libclang1-3.4
    * libclang1-dbg => libclang1-3.4-dbg
    * libclang-dev => libclang-3.4-dev
    * libclang-common-dev => libclang-common-3.4-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers - | FileCheck %s --check-prefix COFF-I386
 
1
RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers -relocations -expand-relocs - | FileCheck %s --check-prefix COFF-I386
2
2
 
3
3
// COFF-I386:  Characteristics [ (0x200)
4
4
// COFF-I386-NEXT:    IMAGE_FILE_DEBUG_STRIPPED (0x200)
5
5
// COFF-I386-NEXT:  ]
 
6
 
 
7
// COFF-I386:      Relocations [
 
8
// COFF-I386-NEXT:   Section (1) .text {
 
9
// COFF-I386-NEXT:     Relocation {
 
10
// COFF-I386-NEXT:       Offset: 0xE
 
11
// COFF-I386-NEXT:       Type: IMAGE_REL_I386_DIR32 (6)
 
12
// COFF-I386-NEXT:       Symbol: L_.str
 
13
// COFF-I386-NEXT:     }
 
14
// COFF-I386-NEXT:     Relocation {
 
15
// COFF-I386-NEXT:       Offset: 0x13
 
16
// COFF-I386-NEXT:       Type: IMAGE_REL_I386_REL32 (20)
 
17
// COFF-I386-NEXT:       Symbol: _puts
 
18
// COFF-I386-NEXT:     }
 
19
// COFF-I386-NEXT:     Relocation {
 
20
// COFF-I386-NEXT:       Offset: 0x18
 
21
// COFF-I386-NEXT:       Type: IMAGE_REL_I386_REL32 (20)
 
22
// COFF-I386-NEXT:       Symbol: _SomeOtherFunction
 
23
// COFF-I386-NEXT:     }
 
24
// COFF-I386-NEXT:   }
 
25
// COFF-I386-NEXT: ]