Closed Bug 634763 Opened 13 years ago Closed 13 years ago

PrepareAndDispatch is only referenced from inline assembly

Categories

(Core :: XPConnect, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: espindola, Assigned: espindola)

References

Details

Attachments

(1 file, 1 obsolete file)

When doing LTO the liker has to know all the undefined symbols in order to decide what it can drop. Since LTO happens at the IL level, undefined references in inline assembly are not seem.

Since PrepareAndDispatch is only referenced from inline assembly, the linker thinks it can be dropped.
Attached patch updated patchSplinter Review
Updated to handle the reprocessing correctly. It is not looking a lot better than the "-Wl,-u" hack :-(
Assignee: nobody → respindola
Attachment #512953 - Attachment is obsolete: true
Status: NEW → ASSIGNED
I managed to get LLVM to parse the inline assembly when doing LTO.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: