Mercurial > hg > CbC > CbC_llvm
view lld/test/ELF/just-symbols.s @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 5f17cb93ff66 |
children |
line wrap: on
line source
# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000 # RUN: ld.lld -just-symbols=%t1.exe -o %t2.exe # RUN: llvm-readelf -s %t2.exe | FileCheck %s # CHECK: 0000000000010000 0 NOTYPE GLOBAL DEFAULT ABS foo # CHECK: 0000000000011001 40 OBJECT GLOBAL DEFAULT ABS bar .globl foo, bar foo: ret .section .data .type bar, @object .size bar, 40 bar: .zero 40