2013-09-14 05:11:00 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/alignment.obj.yaml > %t.obj
|
|
|
|
#
|
2014-07-09 07:11:01 +08:00
|
|
|
# RUN: lld -flavor link /out:%t.exe /subsystem:console /force \
|
|
|
|
# RUN: /entry:start /opt:noref -- %t.obj
|
2013-12-27 16:37:40 +08:00
|
|
|
# RUN: llvm-readobj -sections %t.exe | FileCheck %s
|
2013-09-14 05:11:00 +08:00
|
|
|
|
2014-07-09 07:11:01 +08:00
|
|
|
CHECK: Name: .bss (2E 62 73 73 00 00 00 00)
|
2014-08-01 06:40:35 +08:00
|
|
|
CHECK: RawDataSize: 0
|
2014-07-09 07:11:01 +08:00
|
|
|
|
2013-11-27 08:55:45 +08:00
|
|
|
CHECK: Name: .data (2E 64 61 74 61 00 00 00)
|
2013-11-27 08:25:17 +08:00
|
|
|
CHECK-NEXT: VirtualSize: 0x6
|
2013-11-27 08:55:45 +08:00
|
|
|
|
|
|
|
CHECK: Name: .text (2E 74 65 78 74 00 00 00)
|
|
|
|
CHECK-NEXT: VirtualSize: 0x1001
|