reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: echo "TARGET(binary) INPUT(\"%t.o\") TARGET(elf64-x86-64) INPUT(\"%t.o\")" > %t.script # RUN: ld.lld --script %t.script -o %t.exe # RUN: llvm-readelf -symbols %t.exe | FileCheck %s # CHECK: _binary_ # CHECK: foobar # RUN: echo "TARGET(foo)" > %t2.script # RUN: not ld.lld --script %t2.script -o /dev/null 2>&1 | FileCheck -check-prefix=ERR %s # ERR: unknown target: foo .global foobar foobar: nop |