search for: llvmorclljitaddobjectfil

Displaying 6 results from an estimated 6 matches for "llvmorclljitaddobjectfil".

2020 Sep 28
2
LLVM Developers Meeting JIT BoF -- Request for Topics of Interest
...rther in the BoF) is: For object files: - For raw OrcV2 components you'll want to create an RTDyldObjectLinkingLayer or ObjectLinkingLayer and use the 'add' method. - For an LLJIT instance you can just call the 'addObjectFile' method. - For the OrcV2 C API you can call the 'LLVMOrcLLJITAddObjectFile' function. For static libraries: - For raw OrcV2 components or an LLJIT instance you can attach a StaticLibraryDefinitionGenerator [1] to the JITDylib that you would like to load the library into. See [2] for an example. - For the OrcV2 C API we will just need to add a method to wrap the oper...
2020 Sep 28
2
LLVM Developers Meeting JIT BoF -- Request for Topics of Interest
...iles: > > - For raw OrcV2 components you'll want to create an > RTDyldObjectLinkingLayer or ObjectLinkingLayer and use the 'add' method. > > - For an LLJIT instance you can just call the 'addObjectFile' method. > > - For the OrcV2 C API you can call the 'LLVMOrcLLJITAddObjectFile' > function. > > > > For static libraries: > > - For raw OrcV2 components or an LLJIT instance you can attach a > StaticLibraryDefinitionGenerator [1] to the JITDylib that you would like to > load the library into. See [2] for an example. > > - For the OrcV2 C...
2020 Oct 02
2
LLVM Developers Meeting JIT BoF -- Request for Topics of Interest
...w OrcV2 components you'll want to create an >>> RTDyldObjectLinkingLayer or ObjectLinkingLayer and use the 'add' method. >>> > - For an LLJIT instance you can just call the 'addObjectFile' method. >>> > - For the OrcV2 C API you can call the 'LLVMOrcLLJITAddObjectFile' >>> function. >>> > >>> > For static libraries: >>> > - For raw OrcV2 components or an LLJIT instance you can attach a >>> StaticLibraryDefinitionGenerator [1] to the JITDylib that you would like to >>> load the library into. See...
2020 Sep 16
2
OrcV1 removal
...ghly right? > > Independent questions about the current C API: > - Would be nice to document [non-]mangling behaviour of > LLVMOrcLLJITLookup() > - Do I understand correctly that there's no way to keep a memory buffer > with an object file alive after adding it with > LLVMOrcLLJITAddObjectFile()? But that it's fine to create multiple > buffers for the same memory with LLVMCreateMemoryBufferWithMemoryRange()? > > > > You can call ResourceTracker::remove at any time to remove all symbols > and > > resources associated with a tracker. Any active compiles assoc...
2020 Sep 28
2
LLVM Developers Meeting JIT BoF -- Request for Topics of Interest
Hi Andres, A topic that I'd find interesting is what it'd take to make it easier to > use profile guided optimization in the context of JIT. A few years back > I crudely hacked this together, but it was fairly ugly. It'd be nice to > make that easier. Possibly too complicated for that type of session? We couldn't go into detail, but we could kick off a discussion and
2020 Sep 16
4
OrcV1 removal
Hi All, I've updated the orcv1 removal branch ( https://github.com/lhames/llvm-project/tree/orcv1-removal) with an initial patch for removable code. If anyone wants to follow along with the development or share thoughts on the design you're very welcome to. I'll be adding tests and comments this week, but for anyone who wants to take an early look the main elements are defined in