brintos

brintos / llvm-project-archived public Read only

0
0
Text · 613 B · abf93f1 Raw
23 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: not ld.lld %t -o /dev/null4# RUN: ld.lld %t --noinhibit-exec -o %t25# RUN: llvm-objdump -d %t2 | FileCheck %s6# RUN: llvm-readobj -r %t2 | FileCheck %s --check-prefix=RELOC7 8# RUN: ld.lld %t -w --noinhibit-exec -o /dev/null 2>&1 | count 09 10# CHECK: Disassembly of section .text:11# CHECK-EMPTY:12# CHECK-NEXT: _start13# CHECK-NEXT: 201120: {{.*}} callq 0x014 15# RELOC:      Relocations [16# RELOC-NEXT: ]17 18# next code will not link without noinhibit-exec flag19# because of undefined symbol _bar20.globl _start21_start:22  call _bar23