Uploaded image for project: 'Swift'
  1. Swift
  2. SR-11539

llvm-link: dsymutil prints warning: could not find referenced DIE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None

      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.

       

       

        Attachments

        1. llvm-link-bug.zip
          554 kB
        2. llvm-link-dsymutil-repro.zip
          1.10 MB
        3. reduced.ll
          29 kB
        4. repro-output.txt
          21 kB

          Activity

            People

            Assignee:
            JDevlieghere Jonas Devlieghere
            Reporter:
            jholajter Jason Holajter
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: