# RUN: lld -core %s | FileCheck %s # # Test references to unnamed atoms # --- defined-atoms: - name: foo type: code content: [ 48, 8D, 3D, 00, 00, 00, 00, 48, 8D, 3D, 00, 00, 00, 00 ] references: - offset: 3 kind: pcrel32 target: LC1 - offset: 10 kind: pcrel32 target: LC2 - ref-name: LC1 type: c-string merge: by-content content: [ 68, 65, 6c, 6c, 6f, 00 ] - ref-name: LC2 type: c-string merge: by-content content: [ 74, 68, 65, 72, 65, 00 ] ... # CHECK: name: foo # CHECK: references: # CHECK: offset: 3 # CHECK: offset: 10 # CHECK: ref-name: # CHECK: ref-name: