[Bug 14944] New: a.out N_SO in symbol with UID 0 has invalid sibling in debug map

http://llvm.org/bugs/show_bug.cgi?id=14944

             Bug #: 14944
           Summary: a.out N_SO in symbol with UID 0 has invalid sibling in
                    debug map
           Product: lldb
           Version: 3.2
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev@cs.uiuc.edu
        ReportedBy: stedwards87@gmail.com
    Classification: Unclassified

Created attachment 9869
  --> http://llvm.org/bugs/attachment.cgi?id=9869
compiled executable with bad DWARF info.

LLDB is telling me I should submit a bug about this error message:

(lldb) source list -n main
error: a.out N_SO in symbol with UID 0 has invalid sibling in debug map, please
file a bug and attach the binary listed in this error
error: Could not find function named: "main".

This is the full LLVM assembly for the attached executable. It's compiled with
the command: llc -O0 "Ides Module.ilib" && clang -c -O0 "Ides Module.ilib.s" &&
clang -O0 "Ides Module.ilib.o"

; ModuleID = 'Ides Module'

@llvm.global_ctors = appending global [0 x { i32, void ()* }] zeroinitializer

define i32 @main() {
entry:
  br label %scope

scope: ; preds = %entry
  ret i32 0, !dbg !8
}

!llvm.dbg.cu = !{!0}

!0 = metadata !{i32 786449, i32 0, i32 2, metadata !"test.ides", metadata !".",
metadata !"idesc", i1 true, i1 false, metadata !"", i32 0, metadata !1,
metadata !1, metadata !3, metadata !1} ; [ DW_TAG_compile_unit ] [./test.ides]
[DW_LANG_C]
!1 = metadata !{metadata !2}
!2 = metadata !{i32 0}
!3 = metadata !{metadata !4}
!4 = metadata !{metadata !5}
!5 = metadata !{i32 786478, i32 0, metadata !6, metadata !"main", metadata
!"main", metadata !"main", null, i32 4, metadata !7, i1 false, i1 true, i32 0,
i32 0, null, i32 0, i1 false, null, null, null, metadata !1, i32 4} ; [
DW_TAG_subprogram ] [line 4] [def] [main]
!6 = metadata !{i32 786473, metadata !"test.ides", metadata !".", null} ; [
DW_TAG_file_type ]
!7 = metadata !{i32 786453, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0,
i64 0, i32 0, null, metadata !2, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]
[line 0, size 0, align 0, offset 0] [from ]
!8 = metadata !{i32 6, i32 2, metadata !9, null}
!9 = metadata !{i32 786443, metadata !5, i32 6, i32 2, null, i32 0} ; [
DW_TAG_lexical_block ] [/]