2015-04-24 23:51:45 +08:00
|
|
|
# RUN: lld -core %s %p/Inputs/weak-coalesce.objtxt \
|
|
|
|
# RUN: %p/Inputs/weak-coalesce2.objtxt | FileCheck %s
|
2011-12-22 10:38:01 +08:00
|
|
|
|
|
|
|
---
|
2013-01-05 10:22:35 +08:00
|
|
|
defined-atoms:
|
2011-12-22 10:38:01 +08:00
|
|
|
- name: _foo
|
2013-01-05 10:22:35 +08:00
|
|
|
merge: as-weak
|
2012-01-05 07:58:17 +08:00
|
|
|
scope: global
|
2011-12-22 10:38:01 +08:00
|
|
|
type: data
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
# CHECK: name: _foo
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK-NOT: merge: as-weak
|
2011-12-22 10:38:01 +08:00
|
|
|
# CHECK-NOT: name: _foo
|
|
|
|
# CHECK: ...
|