forked from OSchip/llvm-project
21 lines
809 B
Plaintext
21 lines
809 B
Plaintext
# This tests the functionality of handling BSS symbols
|
|
# BSS symbols don't occupy file content and are associated with typeZeroFill
|
|
# Any typeZeroFill content wouldn't have space reserved in the file to store
|
|
# its content
|
|
|
|
RUN: lld -flavor old-gnu -target x86_64 %p/Inputs/largebss.o --output-filetype=yaml --noinhibit-exec | FileCheck %s
|
|
|
|
CHECK: - name: largecommon
|
|
CHECK: scope: global
|
|
CHECK: type: zero-fill
|
|
CHECK: size: 4000
|
|
CHECK: merge: as-tentative
|
|
CHECK: - name: largebss
|
|
CHECK: scope: global
|
|
CHECK: type: zero-fill
|
|
CHECK: size: 4000
|
|
CHECK: - name: largetbss
|
|
CHECK: scope: global
|
|
CHECK: type: thread-zero-fill
|
|
CHECK: size: 4000
|