brintos

brintos / llvm-project-archived public Read only

0
0
Text · 435 B · 0262d73 Raw
18 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o3# RUN: echo "SECTIONS { .text : { *(.text*) QUAD(bar) } }" > %t.script4# RUN: ld.lld --gc-sections -o %t %t.o --script %t.script5# RUN: llvm-objdump -t %t | FileCheck %s6 7# CHECK: 0000000000000008 g       .rodata.bar    0000000000000000 bar8 9.section .rodata.bar10.quad 0x112233445566778811.global bar12bar:13 14.section .text15.global _start16_start:17  nop18