llvm-project/lld/test/core/auto-hide-coalesce.objtxt

61 lines
1.5 KiB
Plaintext

# RUN: lld -core %s | FileCheck %s
#
# Tests auto-hide bit during coalescing
#
---
defined-atoms:
- name: _inlineFunc1
scope: global
type: code
merge: as-weak
- name: _inlineFunc2
scope: global
type: code
merge: as-weak
- name: _inlineFunc3
scope: global
type: code
merge: as-addressed-weak
- name: _inlineFunc4
scope: global
type: code
merge: as-addressed-weak
---
defined-atoms:
- name: _inlineFunc1
scope: global
type: code
merge: as-weak
- name: _inlineFunc2
scope: global
type: code
merge: as-addressed-weak
- name: _inlineFunc3
scope: global
type: code
merge: as-weak
- name: _inlineFunc4
scope: global
type: code
merge: as-addressed-weak
...
# CHECK: name: _inlineFunc1
# CHECK: merge: as-weak
# CHECK: name: _inlineFunc3
# CHECK: merge: as-addressed-weak
# CHECK: name: _inlineFunc4
# CHECK: merge: as-addressed-weak
# CHECK: name: _inlineFunc2
# CHECK: merge: as-addressed-weak
# CHECK: ...