brintos

brintos / llvm-project-archived public Read only

0
0
Text · 483 B · f456da7 Raw
12 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: echo "SECTIONS {" > %t.script4# RUN: echo ". = 0x150; . = 0x10; .text : {} }" >> %t.script5# RUN: ld.lld %t.o --script %t.script -o %t -shared6# RUN: llvm-objdump --section-headers %t | FileCheck %s7# CHECK:  Name   Size   VMA8# CHECK: .text 00000000 00000000000000109 10# RUN: echo "SECTIONS { . = 0x20; . = ASSERT(0x1, "foo"); }" > %t2.script11# RUN: ld.lld %t.o --script %t2.script -o %t -shared12