[Orc] Remote the <unistd> include introduced in r257305 - it's not needed, and
[oota-llvm.git] / test / MC / COFF / linker-options.ll
1 ; RUN: llc -O0 -mtriple=i386-pc-win32 -filetype=asm -o - %s | FileCheck %s
2
3 !0 = !{i32 6, !"Linker Options", !{!{!"/DEFAULTLIB:msvcrt.lib"}, !{!"/DEFAULTLIB:msvcrt.lib", !"/DEFAULTLIB:secur32.lib"}, !{!"/DEFAULTLIB:\22C:\5Cpath to\5Casan_rt.lib\22"}, !{!"\22/with spaces\22"}}}
4
5 !llvm.module.flags = !{ !0 }
6
7 define dllexport void @foo() {
8   ret void
9 }
10
11 ; CHECK: .section        .drectve,"yn"
12 ; CHECK: .ascii   " /DEFAULTLIB:msvcrt.lib"
13 ; CHECK: .ascii   " /DEFAULTLIB:msvcrt.lib"
14 ; CHECK: .ascii   " /DEFAULTLIB:secur32.lib"
15 ; CHECK: .ascii   " /DEFAULTLIB:\"C:\\path to\\asan_rt.lib\""
16 ; CHECK: .ascii   " \"/with spaces\""
17 ; CHECK: .ascii   " /EXPORT:_foo"