search for: path_to_library

Displaying 5 results from an estimated 5 matches for "path_to_library".

2015 Jul 02
2
[LLVMdev] Load MachineFunctionPass plugin from library in llc?
...ies, especially clang, use as much as 5 GB peak memory during linking). With a powerful multicore machine and plenty of RAM, this is doable, but still very time-consuming, and seems wastefully repetitive. For a front-end pass, I can load the pass from a dynamic shared library using "opt -l path_to_library"; thus I only need to rebuild the pass itself to test a code change. There does not appear to be such an option in llc for dynamically linking a machine pass as a plugin. Does anyone know of a way to achieve something similar? At the very least, it would be nice to be able to just re-compi...
2015 Jul 02
2
[LLVMdev] Load MachineFunctionPass plugin from library in llc?
...ally clang, use as much as 5 GB peak memory during linking). With a powerful multicore machine and plenty of RAM, this is doable, but still very time-consuming, and seems wastefully repetitive. >> >> For a front-end pass, I can load the pass from a dynamic shared library using “opt –l path_to_library”; thus I only need to rebuild the pass itself to test a code change. There does not appear to be such an option in llc for dynamically linking a machine pass as a plugin. Does anyone know of a way to achieve something similar? > > There is unfortunately no way to do that currently. > &gt...
2020 Sep 30
2
OrcV1 removal
...ple below), indicating that they should not be looked up > > in the global namespace. > > > From the example code I guess the namespacing for symbols from external > libraries is something like: "<modulename>.<symbolname>" ? It's currently pgextern.<path_to_library>.<symbolname> > This is what definition generators are for. We can add an API for attaching > generators and provide facilities to define a generator in C. > Here you'd want a generator with a map of module names to dylib > handles. > First you'd search for a handl...
2012 Nov 16
0
[LLVMdev] Using custom LLVM Passes with clang
...gAnLLVMPass.html I was wondering if this pass can be used in clang somehow. I have read about "-mllvm" option which can be used to pass arguments to LLVM from clang. But I have not been able to get this to work. I tried a similar way of running clang (as I did with opt) clang -load "path_to_library" -mllvm "registered_custom_pass_option" test.c -o test.o It complains that the load option was unused during compilation, Also, that it cannot find any option by -loop-perforate which is the registered custom pass. I tried using -indvars,along with -mllvm to see if I am doing it ri...
2020 Sep 29
3
OrcV1 removal
Hi, On 2020-09-25 16:38:41 -0700, Andres Freund via llvm-dev wrote: > On 2020-09-24 16:34:30 -0700, Lang Hames wrote: > > If anyone wants to check out the OrcV1 removal branch and provide feedback > > now is the time. Otherwise I will aim to land the work in the mainline > > early next week. > > I'm trying to get it to work with postgres. Unfortunately this week