[LLVMdev] [PATCH] Fix recompileAndRelinkFunction

Jeffrey Yasskin jyasskin at google.com
Tue Dec 22 08:51:28 PST 2009


Please add a test to
http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?view=markup
verifying that recompileAndRelinkFunction() keeps working. Then this
fix will look fine to me.

On Tue, Dec 22, 2009 at 12:23 AM, Gianluca Guida <glguida at gmail.com> wrote:
> On Tue, Dec 22, 2009 at 6:14 AM, Chris Lattner <clattner at apple.com> wrote:
>> On Dec 19, 2009, at 3:36 PM, Gianluca Guida wrote:
>>> Attached patch makes runJITOnFunction more reliable.
>>
>> When would MCI be null?
>
> Everytime you call recompileAndRelinkFunction. It calls
> runJITOnFunction without specifying the MCI argument, which get
> defaulted to NULL.
>
> Gianluca
>
>
> --
> It was a type of people I did not know, I found them very strange and
> they did not inspire confidence at all. Later I learned that I had been
> introduced to electronic engineers.
>                                                  E. W. Dijkstra
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list