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 | // REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: rm -rf %t.dir // RUN: mkdir %t.dir // RUN: cd %t.dir // RUN: echo > file.bin // RUN: not ld.lld %t.o --format=binary file.bin -o %t.elf 2>&1 | FileCheck %s // RUN: not ld.lld %t.o --format binary file.bin -o %t.elf 2>&1 | FileCheck %s // CHECK: duplicate symbol: _binary_file_bin_start // CHECK-NEXT: defined at {{.*}}.o:(.text+0x0) // CHECK-NEXT: defined at file.bin:(.data+0x0) .globl _binary_file_bin_start _binary_file_bin_start: .long 0 |