llvm-project/lld/test/core/inline-coalesce.objtxt

20 lines
445 B
Plaintext

# RUN: lld -core %s %p/Inputs/inline-coalesce.objtxt %p/Inputs/inline-coalesce2.objtxt | FileCheck %s
#
# Test that non-inlined inlined functions are silently coalesced
#
---
defined-atoms:
- name: _inlineFunc
scope: global
type: code
merge: as-weak
...
# CHECK: name: _inlineFunc
# CHECK: merge: as-weak
# CHECK-NOT: name: _inlineFunc
# CHECK: ...