Files
clang-p2996/lld/test/Driver/undef-basic.objtxt
Shankar Easwaran 7915ff34b7 [lld][LinkingContext][ELF] Allow different output file types.
This adds an option --output-filetype that can be set to either
YAML/Native(case insensitive). The linker would create the outputs
associated with the type specified by the user.

Changes all the tests to use the new option.

llvm-svn: 191183
2013-09-23 04:24:15 +00:00

23 lines
526 B
Plaintext

# RUN: lld -flavor gnu -u undefinedsymbol -e entrysymbol %s \
# RUN: --output-filetype=yaml --noinhibit-exec | FileCheck %s
#
# Test that we are able to add undefined atoms from the command line
#
---
absolute-atoms:
- name: putchar
value: 0xFFFF0040
- name: reset
value: 0xFFFF0080
...
# CHECK: undefined-atoms:
# CHECK: - name: entrysymbol
# CHECK: - name: undefinedsymbol
# CHECK: can-be-null: at-buildtime