Home | History | Annotate | Download | only in COFF
      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 !"/DEFAULTLIB:C:\5Cpath to\5Casan_rt.lib" },
      9       metadata !{ metadata !"/with spaces" } } }
     10 
     11 !llvm.module.flags = !{ !0 }
     12 
     13 define dllexport void @foo() {
     14   ret void
     15 }
     16 
     17 ; CHECK: .section        .drectve,"r"
     18 ; CHECK: .ascii   " /DEFAULTLIB:msvcrt.lib"
     19 ; CHECK: .ascii   " /DEFAULTLIB:msvcrt.lib"
     20 ; CHECK: .ascii   " /DEFAULTLIB:secur32.lib"
     21 ; CHECK: .ascii   " \"/DEFAULTLIB:C:\\path to\\asan_rt.lib\""
     22 ; CHECK: .ascii   " \"/with spaces\""
     23 ; CHECK: .ascii   " /EXPORT:_foo"
     24