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

            Bug ID: 48693
           Summary: LLD crashes when building with "-g -ggnu-pubnames
                    -Wl,--emit-relocs -Wl,--gdb-index"
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Minimized repro:

echo "int main() { return 0; }" > main.c
clang -fuse-ld=lld -g -ggnu-pubnames -Wl,--emit-relocs -Wl,--gdb-index main.c
-o main

Removing any of "-g", "-ggnu-pubnames", "--emit-relocs", or "--gdb-index"
causes the crash to disappear.

-- 
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