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 - | llvm-readobj -s -sd | FileCheck %s 5; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o - | llvm-readobj -s -sd | FileCheck %s 6 7module asm ".text" 8module asm "_foo:" 9module asm " ret" 10 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: ) 29