1 ; RUN: llc -O0 -mtriple=i386-pc-win32 -filetype=asm -o - %s | FileCheck %s 2 3 !0 = metadata !{ i32 6, metadata !"Linker Options", 4 metadata !{ 5 metadata !{ metadata !"/DEFAULTLIB:msvcrt.lib" }, 6 metadata !{ metadata !"/DEFAULTLIB:msvcrt.lib", 7 metadata !"/DEFAULTLIB:secur32.lib" }, 8 metadata !{ metadata !"/with spaces" } } } 9 10 !llvm.module.flags = !{ !0 } 11 12 define dllexport void @foo() { 13 ret void 14 } 15 16 ; CHECK: .section .drectve,"r" 17 ; CHECK: .ascii " /DEFAULTLIB:msvcrt.lib" 18 ; CHECK: .ascii " /DEFAULTLIB:msvcrt.lib" 19 ; CHECK: .ascii " /DEFAULTLIB:secur32.lib" 20 ; CHECK: .ascii " \"/with spaces\"" 21 ; CHECK: .ascii " /EXPORT:_foo" 22