2013-04-05 02:59:24 +08:00
|
|
|
# RUN: not lld -core %s 2> %t.err
|
2013-11-15 04:52:28 +08:00
|
|
|
# RUN: FileCheck %s < %t.err
|
2012-05-04 07:55:34 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test that unbindable target name produces a readable error.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
2013-01-05 10:22:35 +08:00
|
|
|
defined-atoms:
|
2012-05-04 07:55:34 +08:00
|
|
|
- name: entry
|
|
|
|
scope: hidden
|
2013-01-09 05:12:13 +08:00
|
|
|
references:
|
2012-05-04 07:55:34 +08:00
|
|
|
- offset: 3
|
2013-04-05 02:59:24 +08:00
|
|
|
kind: pcrel32
|
2012-05-04 07:55:34 +08:00
|
|
|
target: bar
|
|
|
|
- offset: 5
|
2013-04-05 02:59:24 +08:00
|
|
|
kind: pcrel32
|
2012-05-04 07:55:34 +08:00
|
|
|
target: baz
|
|
|
|
|
2013-01-05 10:22:35 +08:00
|
|
|
undefined-atoms:
|
2012-05-04 07:55:34 +08:00
|
|
|
- name: bar
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK: error: no such atom name: baz
|