Skip to content

[SR-11539] llvm-link: dsymutil prints warning: could not find referenced DIE #53940

Closed
@swift-ci

Description

@swift-ci
Previous ID SR-11539
Radar rdar://problem/55802700
Original Reporter jholajter (JIRA User)
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 4
Component/s
Labels Bug
Assignee @JDevlieghere
Priority Medium

md5: f5a1284ed6017ecdbfbe081809c954a1

Issue Description:

When using llvm-link to link multiple bitcode files from swift source, the following warning is seen when using dsymutil:

warning: could not find referenced DIE
note: while processing /private/tmp/gulps/llvm-linked-bitcode.bc.o

This is very similar to the problem reported in https://bugs.swift.org/browse/SR-5935 which has been marked as resolved.

In the attached llvm-link-dsymutil-repro.zip, if the "17.bc" and "24.bc" are linked together using llvm-link, dsymutil outputs warnings as seen in the attached "repro-output.txt"

The "repro.sh" script can be used to reproduce the issue. However because of the limits in the attachment size, I could not include the dependent Frameworks. I can send those via another mechanism upon request. Alternatively, they can be obtained by building the open source Gulps application found at https://github.com/FancyPixel/gulps

The artifacts in the attachments were generated using Xcode 11.1 GM.

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions