Mercurial > hg > CbC > CbC_llvm
view lld/test/mach-o/data-only-dylib.yaml @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
# RUN: ld64.lld -arch x86_64 -dylib %s -o %t %p/Inputs/x86_64/libSystem.yaml # RUN: llvm-nm %t | FileCheck %s # # Test that a data-only dylib can be built. # --- !mach-o arch: x86_64 file-type: MH_OBJECT flags: [ MH_SUBSECTIONS_VIA_SYMBOLS ] sections: - segment: __DATA section: __data type: S_REGULAR attributes: [ ] alignment: 2 address: 0x0000000000000000 content: [ 0x00, 0x00, 0x00, 0x00 ] global-symbols: - name: _myData type: N_SECT scope: [ N_EXT ] sect: 1 value: 0x0000000000000000 ... # CHECK: _myData