[LLVMbugs] [Bug 13467] New: lld seg-fault due to null pointer (lazy creation too lazy!)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 26 07:23:16 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13467
Bug #: 13467
Summary: lld seg-fault due to null pointer (lazy creation too
lazy!)
Product: new-bugs
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: andyg1001 at hotmail.co.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8952
--> http://llvm.org/bugs/attachment.cgi?id=8952
Patch to create helper atoms for addStubAtoms
mach_o::StubsPass lazily creates a number of helper atoms, but too lazily,
meaning that they are not created in time for a call to addStubAtoms(...).
Attached is a patch that ensures that these helper atoms are created in time,
but I don't know that this is the preferred solution. Also included in the
patch is an update to test/darwin/hello-world.objtxt which was still using the
old -platform switch. This has been changed to -writer=mach-o, but has also
been marked "XFAIL" since it is still broken (llvm-nm says 'unrecognizable file
type').
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list