[llvm-commits] [llvm] r153208 - in /llvm/trunk: lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h tools/llvm-rtdyld/llvm-rtdyld.cpp
Chris Lattner
sabre at nondot.org
Wed Mar 21 20:22:32 PDT 2012
I'm sure there is a way to fix it, but don't worry about it.
-Chris
On Mar 21, 2012, at 12:41 PM, Danil Malyshev wrote:
> Hello,
>
> I'm sorry that I hurry and missed commit message.
> Unfortunately, I haven't permission for change it.
> The message should be: "Fixed the missed declarations in the r153205."
> Chris, can you help me to fix it?
>
>
> Regards,
> Danil
>
>
> -----Original Message-----
> From: Chad Rosier [mailto:mcrosier at apple.com]
> Sent: Wednesday, March 21, 2012 11:27 PM
> To: Danil Malyshev
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] [llvm] r153208 - in /llvm/trunk: lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h tools/llvm-rtdyld/llvm-rtdyld.cpp
>
> Danil,
> Commit message?
>
> Chad
>
> On Mar 21, 2012, at 12:13 PM, Danil Malyshev <dmalyshev at accesssoftek.com> wrote:
>
>> Author: danil
>> Date: Wed Mar 21 14:13:08 2012
>> New Revision: 153208
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=153208&view=rev
>> Log: (empty)
>>
>> Modified:
>> llvm/trunk/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
>> llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp
>>
>> Modified: llvm/trunk/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h?rev=153208&r1=153207&r2=153208&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h (original)
>> +++ llvm/trunk/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h Wed Mar 21 14:13:08 2012
>> @@ -41,6 +41,11 @@
>> return JMM->allocateCodeSection(Size, Alignment, SectionID);
>> }
>>
>> + virtual void *getPointerToNamedFunction(const std::string &Name,
>> + bool AbortOnFailure = true) {
>> + return JMM->getPointerToNamedFunction(Name, AbortOnFailure);
>> + }
>> +
>> // Allocate ActualSize bytes, or more, for the named function. Return
>> // a pointer to the allocated memory and update Size to reflect how much
>> // memory was acutally allocated.
>>
>> Modified: llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp?rev=153208&r1=153207&r2=153208&view=diff
>> ==============================================================================
>> --- llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp (original)
>> +++ llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp Wed Mar 21 14:13:08 2012
>> @@ -61,6 +61,12 @@
>> uint8_t *startFunctionBody(const char *Name, uintptr_t &Size);
>> void endFunctionBody(const char *Name, uint8_t *FunctionStart,
>> uint8_t *FunctionEnd);
>> +
>> + virtual void *getPointerToNamedFunction(const std::string &Name,
>> + bool AbortOnFailure = true) {
>> + return 0;
>> + }
>> +
>> };
>>
>> uint8_t *TrivialMemoryManager::allocateCodeSection(uintptr_t Size,
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list