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
20 lines
578 B
Plaintext
20 lines
578 B
Plaintext
#
|
|
# Source File:
|
|
# .local absGlobalSymbol
|
|
# .set absLocalSymbol,0xC0000
|
|
# .type absLocalSymbol, @object
|
|
# .globl absGlobalSymbol
|
|
# .set absGlobalSymbol,0xD0000
|
|
# .type absGlobalSymbol, @object
|
|
|
|
# built using: "gcc -m32"
|
|
#
|
|
RUN: lld -flavor gnu --output-filetype=yaml -r %p/Inputs/abs-test.i386 | FileCheck -check-prefix=YAML %s
|
|
|
|
YAML: absolute-atoms:
|
|
YAML: - name: absLocalSymbol
|
|
YAML: value: {{0x[0]+C0000}}
|
|
YAML: - name: absGlobalSymbol
|
|
YAML: scope: global
|
|
YAML: value: {{0x[0]+D0000}}
|