[LLVMbugs] [Bug 15357] New: MCJIT should not automatically apply relocations to generated code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 25 15:41:57 PST 2013


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

            Bug ID: 15357
           Summary: MCJIT should not automatically apply relocations to
                    generated code
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Generic Execution Engine Support
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew.kaylor at intel.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Currently, the MCJIT execution engine attempts to apply relocations to
dynamically generated code as soon as the code has been generated.  While this
behavior should be harmless if all other components are behaving correctly, it
is undesirable.

In particular, when code is being generated for remote execution (either in an
external process or on a physically remote system) the client code will likely
want to provide new load addresses for the generated object image sections
before relocations are applied.  Intermediate application of relocations is
unnecessary and has been known to cause failures that would otherwise have been
avoided.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130225/03f6a825/attachment.html>


More information about the llvm-bugs mailing list