2013-08-03 05:26:14 +08:00
|
|
|
# Test if the linker can properly parse the .drectve section contents.
|
|
|
|
# "drectve.obj" contains "/subsystem:console,42.195" in its .drectve
|
|
|
|
# section.
|
|
|
|
|
|
|
|
# RUN: yaml2obj %p/Inputs/drectve.obj.yaml > %t.obj
|
|
|
|
#
|
2013-08-27 11:18:11 +08:00
|
|
|
# RUN: lld -flavor link /out:%t1 /entry:_start -- %t.obj \
|
2013-08-03 05:26:14 +08:00
|
|
|
# RUN: && llvm-readobj -file-headers %t1 | FileCheck %s
|
|
|
|
|
|
|
|
CHECK: MajorOperatingSystemVersion: 42
|
|
|
|
CHECK: MinorOperatingSystemVersion: 195
|