2017-03-31 04:10:40 +08:00
|
|
|
; 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
|
|
|
|
|
2019-09-11 07:15:38 +08:00
|
|
|
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
2017-03-31 04:10:40 +08:00
|
|
|
target triple = "x86_64-pc-windows-msvc"
|
|
|
|
|
|
|
|
define void @dummy() {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
define void @_DllMainCRTStartup() {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK: Pass Arguments:
|