[llvm-bugs] [Bug 48637] New: lld.darwinnew asserts linking a default Xcode cocoa project, with Assertion failed: (std::next(it) == units.end()), function parseDebugInfo

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 30 17:26:58 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48637

            Bug ID: 48637
           Summary: lld.darwinnew asserts linking a default Xcode cocoa
                    project, with Assertion failed: (std::next(it) ==
                    units.end()), function parseDebugInfo
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 24331
  --> https://bugs.llvm.org/attachment.cgi?id=24331&action=edit
repro

Repro:

1. Open Xcode, New Project, App, ObjC, disable everything, build, run
2. Open Report navigator (rightmost icon in left panel), disable filters at
bottom, pick Link step, copy link command
3. Open terminal, go to the right dir (it's a weird one -- in my case,
/Users/thakis/Library/Developer/Xcode/DerivedData/cocoatestapp-ebtsvyricfqrmbbcwlxpjnrdedcb/Build/Products/Debug),
run command, reduce it a bit, switch it to use lld.darwinnew

Expected: Works
Actual: Asserts

Repro zip attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201231/01f60e62/attachment.html>


More information about the llvm-bugs mailing list