[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / COFF / module-asm.ll
blob900694e0532598ccf8dbe72e7721364e7b4efbf6
1 ; The purpose of this test is to verify that various module level assembly
2 ; constructs work.
4 ; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o - | llvm-readobj -S --sd | FileCheck %s
5 ; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o - | llvm-readobj -S --sd | FileCheck %s
7 module asm ".text"
8 module asm "_foo:"
9 module asm "  ret"
11 ; CHECK:            Name:                      .text
12 ; CHECK-NEXT:       VirtualSize:               0
13 ; CHECK-NEXT:       VirtualAddress:            0
14 ; CHECK-NEXT:       RawDataSize:               {{[0-9]+}}
15 ; CHECK-NEXT:       PointerToRawData:          0x{{[0-9A-F]+}}
16 ; CHECK-NEXT:       PointerToRelocations:      0x{{[0-9A-F]+}}
17 ; CHECK-NEXT:       PointerToLineNumbers:      0x0
18 ; CHECK-NEXT:       RelocationCount:           0
19 ; CHECK-NEXT:       LineNumberCount:           0
20 ; CHECK-NEXT:       Characteristics [ (0x60300020)
21 ; CHECK-NEXT:         IMAGE_SCN_ALIGN_4BYTES
22 ; CHECK-NEXT:         IMAGE_SCN_CNT_CODE
23 ; CHECK-NEXT:         IMAGE_SCN_MEM_EXECUTE
24 ; CHECK-NEXT:         IMAGE_SCN_MEM_READ
25 ; CHECK-NEXT:       ]
26 ; CHECK-NEXT:       SectionData (
27 ; CHECK-NEXT:         0000: C3
28 ; CHECK-NEXT:       )