[ORC] Merge ostream operators for SymbolStringPtrs into SymbolStringPool.h. NFC.
[llvm-project.git] / lld / test / ELF / linkerscript / copy-rel-symbol-value-err.s
blob70ca582affc46233dfa26870ff54e5fc32416072
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/copy-rel-symbol-value.s -o %t2.o
4 # RUN: ld.lld %t2.o -o %t2.so -shared
5 # RUN: echo "SECTIONS { . = . + SIZEOF_HEADERS; foo = bar; }" > %t.script
6 # RUN: not ld.lld %t.o %t2.so --script %t.script -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
8 # CHECK-COUNT-2: error: {{.*}}.script:1: symbol not found: bar
10 .global _start
11 _start:
12 .quad bar@got