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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to