llvm-project/lld/test/error-fixup-target.objtxt

27 lines
469 B
Plaintext

# RUN: not lld -core %s 2> %t.err
# RUN: FileCheck < %t.err %s
#
# Test that unbindable target name produces a readable error.
#
---
defined-atoms:
- name: entry
scope: hidden
references:
- offset: 3
kind: pcrel32
target: bar
- offset: 5
kind: pcrel32
target: baz
undefined-atoms:
- name: bar
...
# CHECK: error: no such atom name: baz