summaryrefslogtreecommitdiffstats
path: root/lld/test/mach-o/flat_namespace_undef_suppress.yaml
blob: 5152a1cd985cda34a5dd43d58ed6db12b466916f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.9 -flat_namespace -undefined suppress %s -o %t %p/Inputs/libSystem.yaml
#
# Sanity check '-flat_namespace -undefined suppress'.
# This should pass without error, even though '_bar' is undefined.

--- !native
defined-atoms:
  - name:            _main
    scope:           global
    content:         [ E9, 00, 00, 00, 00 ]
    alignment:       16
    references:
      - kind:            branch32
        offset:          1
        target:          _bar
undefined-atoms:
  - name:            _bar
OpenPOWER on IntegriCloud