2012-01-05 07:58:17 +08:00
|
|
|
# RUN: lld-core %s | FileCheck %s
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tests auto-hide bit during coalescing
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
atoms:
|
|
|
|
- name: _inlineFunc1
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
|
|
|
|
- name: _inlineFunc2
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
|
|
|
|
- name: _inlineFunc3
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asAddressedWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
|
|
|
|
- name: _inlineFunc4
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asAddressedWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
---
|
|
|
|
atoms:
|
|
|
|
- name: _inlineFunc1
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
|
|
|
|
- name: _inlineFunc2
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asAddressedWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
|
|
|
|
- name: _inlineFunc3
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
|
|
|
|
- name: _inlineFunc4
|
|
|
|
scope: global
|
|
|
|
definition: regular
|
|
|
|
type: code
|
2012-01-11 09:06:19 +08:00
|
|
|
merge: asAddressedWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
# CHECK: name: _inlineFunc1
|
2012-01-11 09:06:19 +08:00
|
|
|
# CHECK: merge: asWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: name: _inlineFunc3
|
2012-01-11 09:06:19 +08:00
|
|
|
# CHECK: merge: asAddressedWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: name: _inlineFunc4
|
2012-01-11 09:06:19 +08:00
|
|
|
# CHECK: merge: asAddressedWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: name: _inlineFunc2
|
2012-01-11 09:06:19 +08:00
|
|
|
# CHECK: merge: asAddressedWeak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: ...
|