forked from OSchip/llvm-project
22 lines
702 B
Plaintext
22 lines
702 B
Plaintext
# Check symbols defined with the EXTERN command are added as undefined
|
|
# symbols.
|
|
|
|
# RUN: lld -flavor gnu -target x86_64 -T %p/Inputs/externs.ls -r %s \
|
|
# RUN: --output-filetype=yaml | FileCheck %s
|
|
|
|
defined-atoms:
|
|
- name: main
|
|
scope: global
|
|
content: [ B8, 00, 00, 00, 00, C7, 44, 24, FC, 00, 00, 00, 00, C3 ]
|
|
alignment: 2^4
|
|
section-choice: custom-required
|
|
section-name: .text
|
|
|
|
# CHECK: undefined-atoms:
|
|
# CHECK: - name: _foo
|
|
# CHECK: can-be-null: at-buildtime
|
|
# CHECK: - name: bar
|
|
# CHECK: can-be-null: at-buildtime
|
|
# CHECK: - name: __baz
|
|
# CHECK: can-be-null: at-buildtime
|