https://bugs.llvm.org/show_bug.cgi?id=38918
Bug ID: 38918
Summary: lld crashes (nullptr derference) when linking kernel
with --icf=all
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedb...@nondot.org
Reporter: pho...@chromium.org
CC: llvm-bugs@lists.llvm.org
It's a null pointer crash in lld::elf::InputSection::copyRelocations:
=> P->r_addend = Sym.getVA(Addend) - Section->getOutputSection()->Addr;
Looks like getOutputSection returned nullptr.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs