summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/abs-dup.objtxt
blob: 7340a29b0f00da9e0cfea9a32c18b3b0893885e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Tests handling an absolute symbol with no name
# RUN: lld -flavor gnu -target x86_64 -r %s \
# RUN:     --output-filetype=yaml | FileCheck %s

absolute-atoms:
  - name:            abs
    scope:           static
    value:           0x10
  - name:            ''
    scope:           static
    value:           0x15

# CHECK: absolute-atoms:
# CHECK:   - name:            abs
# CHECK:     scope:           static
# CHECK:     value:           0x0000000000000010
# CHECK:   - name:            ''
# CHECK:     scope:           static
# CHECK:     value:           0x0000000000000015
OpenPOWER on IntegriCloud