Displaying 5 results from an estimated 5 matches for "geterrorstr".
Did you mean:
seterrorstr
2016 Jul 07
2
ObjectCache and getFunctionAddress issue
...orOr<std::unique_ptr<object::ObjectFile>> LoadedObject =
object::ObjectFile::createObjectFile(ObjectToLoad->getMemBufferRef());
std::unique_ptr<RuntimeDyld::LoadedObjectInfo> L =
Dyld.loadObject(*LoadedObject.get());
if (Dyld.hasError())
report_fatal_error(Dyld.getErrorString());
after the generateCodeForModule call, the findExistingSymbol is invoked.
For some reason it cannot find my symbol. My symbol exists in the Module
that was used as input for generateCodeForModule. It uses the object cache
and that code was valid and generated in the previous run.
I tried t...
2013 Jan 09
1
[LLVMdev] ExecutionEngine always comes back NULL
Hi Rick,
you are right!
But can you call this method EngineBuilder::setErrorStr to get creation
error?
Cheers,
Manuele
Il 08/01/2013 20:27, Rick Mann ha scritto:
> On Jan 8, 2013, at 8:09 , Manuele Conti <manuele.conti at sirius-es.it> wrote:
>
>> Sorry I forgot to add code that I use to run code:
>> /* Executes the AST by running the main function */
>>
2018 Mar 26
0
Interest in integrating a linux perf JITEventListener?
...tionEngine/MCJIT/MCJIT.cpp
> index ff8749fbfed..ebe475d9f0b 100644
> --- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp
> +++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
> @@ -222,8 +222,10 @@ void MCJIT::generateCodeForModule(Module *M) {
> if (Dyld.hasError())
> report_fatal_error(Dyld.getErrorString());
>
> - NotifyObjectEmitted(*LoadedObject.get(), *L);
> -
> + // Can't call notifiers yet as relocations have not yet been performed, and
> + // memory hasn't been marked executable.
> + PendingLoadedObjects.push_back(LoadedObject->get());
> + PendingLoad...
2016 Dec 29
1
Interest in integrating a linux perf JITEventListener?
Having something like this available in tree would definitely be
useful. For simplicity, why don't we start with support for the second
style? This is the long term useful one and would be a good starting
point for getting the code in tree. Can you give a pointer to the patch
so that I can assess the rough complexity? If it's simple enough, I'd
be happy to help get it reviewed
2017 Feb 02
0
Interest in integrating a linux perf JITEventListener?
Hi,
On 2016-12-29 13:17:50 -0800, Philip Reames wrote:
> Having something like this available in tree would definitely be
> useful.
Cool.
> For simplicity, why don't we start with support for the second style? This
> is the long term useful one and would be a good starting point for getting
> the code in tree.
Works for me.
> Can you give a pointer to the patch so that