2013-12-27 16:37:40 +08:00
|
|
|
# RUN: lld -flavor link /out:%t.exe /subsystem:console /force \
|
|
|
|
# RUN: -- %p/Inputs/bss.obj
|
|
|
|
# RUN: llvm-readobj -sections %t.exe | FileCheck %s
|
2013-07-31 06:56:46 +08:00
|
|
|
|
|
|
|
CHECK: Section {
|
2013-11-27 08:55:45 +08:00
|
|
|
CHECK: Number: 1
|
2013-07-31 06:56:46 +08:00
|
|
|
CHECK-NEXT: Name: .bss
|
|
|
|
CHECK-NEXT: VirtualSize: 0x0
|
2013-11-27 08:55:45 +08:00
|
|
|
CHECK-NEXT: VirtualAddress: 0x1000
|
2013-12-11 12:06:26 +08:00
|
|
|
CHECK-NEXT: RawDataSize: 800
|
2013-07-31 06:56:46 +08:00
|
|
|
CHECK-NEXT: PointerToRawData: 0x0
|
|
|
|
CHECK-NEXT: PointerToRelocations: 0x0
|
|
|
|
CHECK-NEXT: PointerToLineNumbers: 0x0
|
|
|
|
CHECK-NEXT: RelocationCount: 0
|
|
|
|
CHECK-NEXT: LineNumberCount: 0
|
|
|
|
CHECK-NEXT: Characteristics [
|
|
|
|
CHECK-NEXT: IMAGE_SCN_CNT_UNINITIALIZED_DATA
|
|
|
|
CHECK-NEXT: IMAGE_SCN_MEM_READ
|
|
|
|
CHECK-NEXT: IMAGE_SCN_MEM_WRITE
|
|
|
|
CHECK-NEXT: ]
|
|
|
|
CHECK-NEXT: }
|