1 ; The purpose of this test is to verify that various module level assembly 2 ; constructs work. 3 4 ; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s 5 ; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o - | coff-dump.py | FileCheck %s 6 7 module asm ".text" 8 module asm "_foo:" 9 module asm " ret" 10 11 ; CHECK: Name = .text 12 ; CHECK-NEXT: VirtualSize = 0 13 ; CHECK-NEXT: VirtualAddress = 0 14 ; CHECK-NEXT: SizeOfRawData = {{[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: NumberOfRelocations = 0 19 ; CHECK-NEXT: NumberOfLineNumbers = 0 20 ; CHECK-NEXT: Charateristics = 0x60300020 21 ; CHECK-NEXT: IMAGE_SCN_CNT_CODE 22 ; CHECK-NEXT: IMAGE_SCN_ALIGN_4BYTES 23 ; CHECK-NEXT: IMAGE_SCN_MEM_EXECUTE 24 ; CHECK-NEXT: IMAGE_SCN_MEM_READ 25 ; CHECK-NEXT: SectionData = 26 ; CHECK-NEXT: C3 27