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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to