2013-04-05 02:59:24 +08:00
|
|
|
# RUN: lld -core %s | FileCheck %s
|
2012-01-05 07:58:17 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Tests auto-hide bit during coalescing
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
2013-01-05 10:22:35 +08:00
|
|
|
defined-atoms:
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc1
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-weak
|
2014-01-27 11:09:26 +08:00
|
|
|
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc2
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-weak
|
2014-01-27 11:09:26 +08:00
|
|
|
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc3
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-addressed-weak
|
2014-01-27 11:09:26 +08:00
|
|
|
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc4
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-addressed-weak
|
2012-01-05 07:58:17 +08:00
|
|
|
---
|
2013-01-05 10:22:35 +08:00
|
|
|
defined-atoms:
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc1
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-weak
|
2014-01-27 11:09:26 +08:00
|
|
|
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc2
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-addressed-weak
|
2014-01-27 11:09:26 +08:00
|
|
|
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc3
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-weak
|
2014-01-27 11:09:26 +08:00
|
|
|
|
2012-01-05 07:58:17 +08:00
|
|
|
- name: _inlineFunc4
|
|
|
|
scope: global
|
|
|
|
type: code
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-addressed-weak
|
2012-01-05 07:58:17 +08:00
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
# CHECK: name: _inlineFunc1
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK: merge: as-weak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: name: _inlineFunc3
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK: merge: as-addressed-weak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: name: _inlineFunc4
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK: merge: as-addressed-weak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: name: _inlineFunc2
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK: merge: as-addressed-weak
|
2012-01-05 07:58:17 +08:00
|
|
|
# CHECK: ...
|