diff options
Diffstat (limited to 'test/COFF/lto-debug-pass-arguments.ll')
-rw-r--r-- | test/COFF/lto-debug-pass-arguments.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/COFF/lto-debug-pass-arguments.ll b/test/COFF/lto-debug-pass-arguments.ll new file mode 100644 index 000000000000..4381590ff130 --- /dev/null +++ b/test/COFF/lto-debug-pass-arguments.ll @@ -0,0 +1,16 @@ +; REQUIRES: x86 +; RUN: llvm-as %s -o %t.obj +; RUN: lld-link /dll /out:%t.dll %t.obj /mllvm:-debug-pass=Arguments 2>&1 | FileCheck %s + +target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-pc-windows-msvc" + +define void @dummy() { + ret void +} + +define void @_DllMainCRTStartup() { + ret void +} + +; CHECK: Pass Arguments: |