2018-06-06 21:56:51 +08:00
|
|
|
; REQUIRES: x86
|
2015-07-31 13:33:34 +08:00
|
|
|
; RUN: llvm-as -o %t.obj %s
|
2015-08-07 00:47:46 +08:00
|
|
|
; RUN: lld-link /out:%t.exe %t.obj /entry:main /subsystem:console
|
2019-05-01 13:49:01 +08:00
|
|
|
; RUN: llvm-readobj --file-headers %t.exe | FileCheck %s
|
2015-07-31 13:33:34 +08:00
|
|
|
|
2018-04-05 03:15:55 +08:00
|
|
|
; CHECK: LoadConfigTableRVA: 0x2000
|
2015-07-31 13:33:34 +08:00
|
|
|
; CHECK: LoadConfigTableSize: 0x70
|
|
|
|
|
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"
|
2015-07-31 13:33:34 +08:00
|
|
|
target triple = "x86_64-pc-windows-msvc"
|
|
|
|
|
2016-03-15 17:48:27 +08:00
|
|
|
@_load_config_used = constant [28 x i32] [i32 112, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0]
|
2015-07-31 13:33:34 +08:00
|
|
|
|
|
|
|
define void @main() {
|
|
|
|
ret void
|
|
|
|
}
|