forked from OSchip/llvm-project
22 lines
698 B
Plaintext
22 lines
698 B
Plaintext
# RUN: lld -flavor link /out:%t.exe /subsystem:console /force \
|
|
# RUN: -- %p/Inputs/bss.obj
|
|
# RUN: llvm-readobj -sections %t.exe | FileCheck %s
|
|
|
|
CHECK: Section {
|
|
CHECK: Number: 1
|
|
CHECK-NEXT: Name: .bss
|
|
CHECK-NEXT: VirtualSize: 0x0
|
|
CHECK-NEXT: VirtualAddress: 0x1000
|
|
CHECK-NEXT: RawDataSize: 800
|
|
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: }
|