[PATCH] Fix Remote MCJIT protocol

Renato Golin renato.golin at linaro.org
Thu Jan 9 09:45:07 PST 2014


Hi t.p.northover, andrew.w.kaylor,

MCJIT remote execution (ChildTarget+RemoteTargetExternal) protocol was in
dire need of refactoring. It was fail-prone, had no error reporting and
implemented the same message logic on every single function.
    
This patch rectifies it, and makes it work on ARM, where it was randomly
failing. Other architectures shall profit from this change as well, making
their buildbots and releases more reliable.


http://llvm-reviews.chandlerc.com/D2527

Files:
  tools/lli/ChildTarget/ChildTarget.cpp
  tools/lli/RemoteMemoryManager.cpp
  tools/lli/RemoteTarget.cpp
  tools/lli/RemoteTarget.h
  tools/lli/RemoteTargetExternal.cpp
  tools/lli/RemoteTargetExternal.h
  tools/lli/RemoteTargetMessage.h
  tools/lli/Unix/RemoteTargetExternal.inc
  tools/lli/lli.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2527.1.patch
Type: text/x-patch
Size: 31292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140109/c58a4d54/attachment.bin>


More information about the llvm-commits mailing list