forked from OSchip/llvm-project
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# RUN: lld -core %s %p/Inputs/code-model-attributes.objtxt \
|
|
# RUN: %p/Inputs/code-model-attributes2.objtxt \
|
|
# RUN: %p/Inputs/code-model-attributes3.objtxt \
|
|
# RUN: %p/Inputs/code-model-attributes4.objtxt \
|
|
# RUN: %p/Inputs/code-model-attributes5.objtxt | FileCheck %s
|
|
#
|
|
# Test that code model attributes are preserved
|
|
#
|
|
|
|
---
|
|
defined-atoms:
|
|
- name: _def
|
|
...
|
|
|
|
# CHECK: name: _def
|
|
# CHECK-NOT: code-model: mips-pic
|
|
# CHECK-NOT: code-model: mips-micro
|
|
# CHECK-NOT: code-model: mips-micro-pic
|
|
# CHECK-NOT: code-model: mips-16
|
|
# CHECK: name: _none
|
|
# CHECK-NOT: code-model: mips-pic
|
|
# CHECK-NOT: code-model: mips-micro
|
|
# CHECK-NOT: code-model: mips-micro-pic
|
|
# CHECK-NOT: code-model: mips-16
|
|
# CHECK: name: _mips_pic
|
|
# CHECK: code-model: mips-pic
|
|
# CHECK: name: _mips_micro
|
|
# CHECK: code-model: mips-micro
|
|
# CHECK: name: _mips_micro_pic
|
|
# CHECK: code-model: mips-micro-pic
|
|
# CHECK: name: _mips_16
|
|
# CHECK: code-model: mips-16
|
|
# CHECK: ...
|