Displaying 20 results from an estimated 46 matches for "llvminterpret".
Did you mean:
llvm_interpret
2008 Aug 13
2
[LLVMdev] LLVM build problem
Checking out LLVM from svn and building, I get:
llvm[2]: Linking Release executable ModuleMaker (without symbols)
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMX86.o(.eh_frame); no .eh_fr
ame_hdr table will be created.
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMInterpreter.o(.eh_frame); n
o .eh_frame_hdr table will be created.
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMExecutionEngine.o(.eh_frame
); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMJIT.o(.eh_frame); no .eh_fr
ame_hdr table will be created.
Confi...
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
...LLVMExecutionEngine, "lib\ExecutionEngine\LLVMExecutionEngine.vcproj"
LLVMInstCombine, "lib\Transforms\InstCombine\LLVMInstCombine.vcproj"
LLVMInstrumentation, "lib\Transforms\Instrumentation\LLVMInstrumentation.vcproj"
LLVMInterpreter, "lib\ExecutionEngine\Interpreter\LLVMInterpreter.vcproj"
LLVMJIT, "lib\ExecutionEngine\JIT\LLVMJIT.vcproj"
LLVMLinker, "lib\Linker\LLVMLinker.vcproj"
LLVMMC, "lib\MC\LLVMMC.vcproj"
LLVMMCParse...
2006 Mar 21
2
[LLVMdev] Circular dependencies
...ny library from one of these sets, you may need to pull
in the rest:
LLVMCodeGen.o LLVMSelectionDAG.o libLLVMAnalysis.a libLLVMTarget.a
libLLVMTransformUtils.a libLLVMipa.a
LLVMSparcV9.o LLVMSparcV9InstrSched.o LLVMSparcV9ModuloSched.o
LLVMSparcV9RegAlloc.o
LLVMExecutionEngine.o LLVMInterpreter.o LLVMJIT.o
The first set is the most problematic: It includes four *.a files,
which means that certain linkers will tend to get confused unless you
repeat '-l' flags.
The odd entry here is libLLVMipa.a, which gets pulled in by something
in libLLVMTransformUtils.a, but which doesn...
2008 Feb 21
2
[LLVMdev] llvm 2.2 install and ocaml bindings
...4.0.1:
/opt/local/var/macports/build/_Users_Shared_erickt_Projects_macports_dports.git_lang_llvm/work/build/Release/lib/LLVMX86.o:
No such file or directory
i686-apple-darwin8-g++-4.0.1:
/opt/local/var/macports/build/_Users_Shared_erickt_Projects_macports_dports.git_lang_llvm/work/build/Release/lib/LLVMInterpreter.o:
No such file or directory
i686-apple-darwin8-g++-4.0.1:
/opt/local/var/macports/build/_Users_Shared_erickt_Projects_macports_dports.git_lang_llvm/work/build/Release/lib/LLVMExecutionEngine.o:
No such file or directory
i686-apple-darwin8-g++-4.0.1:
/opt/local/var/macports/build/_Users_Shared_er...
2008 Aug 13
0
[LLVMdev] LLVM build problem
...hecking out LLVM from svn and building, I get:
>
> llvm[2]: Linking Release executable ModuleMaker (without symbols)
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMX86.o(.eh_frame); no .eh_fr
> ame_hdr table will be created.
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMInterpreter.o(.eh_frame); n
> o .eh_frame_hdr table will be created.
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMExecutionEngine.o(.eh_frame
> ); no .eh_frame_hdr table will be created.
> /usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMJIT.o(.eh_frame); no .eh_fr
> ame_hdr tabl...
2006 Apr 14
0
[LLVMdev] Re: standalone llvm
...examples/Fibonacci/fibonacci.cpp line 112).
>
> That works OK.
This indicates that the JIT is not working and your code is being
interpreted. I don't know about "llvm-config --libs jit" you are using
but I would try adding LLVMJIT.o to your link command the same way you
do with LLVMInterpreter.o
Oh, and renaming your llvmjit.cpp to something else, just in case. (Is
the linker case-sensitive?)
--
Oscar
2009 Feb 13
1
[LLVMdev] making libraries depend on external libraries?
How can I specify that LLVMInterpreter depends on 'libffi' in the Makefile?
Modifying LD.Flags in Interpreter/Makefile doesn't help since llvm-config
doesn't pick up on that, causing a linker error when building lli. I'd like
"llvm-config --libs interpreter" return -lffi along with the LLVM libraries
it l...
2006 Apr 14
2
[LLVMdev] Re: standalone llvm
On Fri, 14 Apr 2006 03:25:39 +0200
Oscar Fuentes <oscarfv at telefonica.net> wrote:
...
> Simon,
>
> With a fresh CVS checkout, I've tried your test case on Windows/VC++
> and it works ok. Too bad that I have not access to a Linux machine
> right now. I'll like to see what's wrong with your test case.
>
> What you get from running the test case under gdb
2008 Feb 21
0
[LLVMdev] llvm 2.2 install and ocaml bindings
....) You could
theoretically get working .cma's by somehow building the bindings
against an installed llvm-config.
LLVMers, what's the advantage to building .o files instead of .a's for
these libs?
LLVMARM.o
LLVMAlpha.o
LLVMCBackend.o
LLVMCellSPU.o
LLVMExecutionEngine.o
LLVMIA64.o
LLVMInterpreter.o
LLVMJIT.o
LLVMMSIL.o
LLVMMips.o
LLVMPowerPC.o
LLVMSparc.o
LLVMX86.o
This wouldn't be a problem if these components used .a's instead,
since ld's search paths are set up correctly.
The options I see are:
Use archive libraries instead of objects for the above.
Link the above .o f...
2006 Mar 22
0
[LLVMdev] Circular dependencies
...ed to pull
> in the rest:
>
> LLVMCodeGen.o LLVMSelectionDAG.o libLLVMAnalysis.a libLLVMTarget.a
> libLLVMTransformUtils.a libLLVMipa.a
>
> LLVMSparcV9.o LLVMSparcV9InstrSched.o LLVMSparcV9ModuloSched.o
> LLVMSparcV9RegAlloc.o
>
> LLVMExecutionEngine.o LLVMInterpreter.o LLVMJIT.o
>
> The first set is the most problematic: It includes four *.a files,
> which means that certain linkers will tend to get confused unless you
> repeat '-l' flags.
>
> The odd entry here is libLLVMipa.a, which gets pulled in by something
> in libLL...
2006 Apr 14
2
[LLVMdev] Re: standalone llvm
...ne/JIT.h" ?
Hi Oscar,
I'm using llvm CVS, and manage to compile/link OK. Yes I include JIT.h.
The program segfaults when it gets to calling the function pointer.
>From the Makefile:
llvmjit: llvmjit.o
g++ llvmjit.o /home//users//simonb//lib/LLVMAsmParser.o /home//users//simonb//lib/LLVMInterpreter.o `llvm-config --ldflags` `llvm-config --libs jit` -lpthread -ldl -o llvmjit
llvmjit.o: llvmjit.cpp
g++ `llvm-config --cxxflags` -c llvmjit.cpp
Complete source (i added a call to verifyModule):
#include "llvm/Module.h"
#include "llvm/Constants.h"
#include "llvm/Typ...
2007 Jun 07
2
[LLVMdev] How to call native functions from bytecode run in JIT?
...p file containing the
complete code. It's adapted from the JIT example in the LLVM source
distribution. I compile it using
g++ -c codegen1.cpp -o codegen1.o -D__STDC_LIMIT_MACROS
g++ -o codegen1 -L${LLVM_LIB_DIR} codegen1.o ${LLVM_LIB_DIR}/
LLVMPowerPC.o -lLLVMSelectionDAG ${LLVM_LIB_DIR}/LLVMInterpreter.o $
{LLVM_LIB_DIR}/LLVMJIT.o -lLLVMCodeGen -lLLVMScalarOpts -
lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis ${LLVM_LIB_DIR}/
LLVMExecutionEngine.o -lLLVMTarget -lLLVMCore -lLLVMSupport -
lLLVMbzip2 -lLLVMSystem -lpthread -ldl
greetings,
Jan Rehders
-------------- next part --------------
A n...
2010 Jul 22
2
[LLVMdev] Is there a guide to LLVM's components?
...LLVMExecutionEngine, "lib\ExecutionEngine\LLVMExecutionEngine.vcproj"
LLVMInstCombine, "lib\Transforms\InstCombine\LLVMInstCombine.vcproj"
LLVMInstrumentation, "lib\Transforms\Instrumentation\LLVMInstrumentation.vcproj"
LLVMInterpreter, "lib\ExecutionEngine\Interpreter\LLVMInterpreter.vcproj"
LLVMJIT, "lib\ExecutionEngine\JIT\LLVMJIT.vcproj"
LLVMLinker, "lib\Linker\LLVMLinker.vcproj"
LLVMMC, "lib\MC\LLVMMC.vcproj"
LLVMMCParse...
2008 Aug 13
0
[LLVMdev] LLVM build problem
Checking out LLVM from svn and building, I get:
llvm[2]: Linking Release executable ModuleMaker (without symbols)
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMX86.o(.eh_frame); no .eh_fr
ame_hdr table will be created.
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMInterpreter.o(.eh_frame); n
o .eh_frame_hdr table will be created.
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMExecutionEngine.o(.eh_frame
); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in /home/aph/llvm/Release/lib/LLVMJIT.o(.eh_frame); no .eh_fr
ame_hdr table will be created.
Confi...
2009 Jun 02
0
[LLVMdev] Ubuntu: no .eh_frame_hdr table will be created
...of target llvm-ranlib
Scanning dependencies of target lli
[ 95%] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.o
Linking CXX executable ../../bin/lli
/usr/bin/ld: error in ../../lib/./LLVMX86CodeGen.o(.eh_frame); no
.eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/./LLVMInterpreter.o(.eh_frame); no
.eh_frame_hdr table will be created.
/usr/bin/ld: error in ../../lib/./LLVMExecutionEngine.o(.eh_frame); no
.eh_frame_hdr table will be created.
[ 95%] Built target lli
Scanning dependencies of target llvm-extract
And similar for the BrainF, Fibonacci, Kaleidoscope and ParallelJ...
2006 Apr 13
0
[LLVMdev] Re: standalone llvm
Simon Burton <simon at arrowtheory.com> writes:
> I'm trying to take assembly and create machine code I can execute.
> How close am I ?
Your test case is not complete. Besides, which version of llvm are you
using? What are the commands for compiling and linking your test case?
How it bombs?
Do you #include "llvm/ExecutionEngine/JIT.h" ?
--
Oscar
2006 Apr 14
0
[LLVMdev] Re: standalone llvm
...; I'm using llvm CVS, and manage to compile/link OK. Yes I include JIT.h.
> The program segfaults when it gets to calling the function pointer.
>
>>From the Makefile:
>
> llvmjit: llvmjit.o
> g++ llvmjit.o /home//users//simonb//lib/LLVMAsmParser.o /home//users//simonb//lib/LLVMInterpreter.o `llvm-config --ldflags` `llvm-config --libs jit` -lpthread -ldl -o llvmjit
>
> llvmjit.o: llvmjit.cpp
> g++ `llvm-config --cxxflags` -c llvmjit.cpp
>
>
> Complete source (i added a call to verifyModule):
[snip]
Simon,
With a fresh CVS checkout, I've tried your test c...
2006 Apr 14
1
[LLVMdev] Re: standalone llvm
...s <oscarfv at telefonica.net> wrote:
>
> This indicates that the JIT is not working and your code is being
> interpreted. I don't know about "llvm-config --libs jit" you are using
> but I would try adding LLVMJIT.o to your link command the same way you
> do with LLVMInterpreter.o
Actually if I _remove_ those other library link arguments and just left the
ones provided by "llvm-config --libs" it works fine (yay!). Except it's a huge
executable: 168Mb. And the linker warns about some symbols:
/usr/bin/ld: `.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValue...
2009 Jul 31
2
[LLVMdev] llvm-gcc build of inferno/plan 9 'mk' fails
...hread -lm /opt/local/lib/LLVMXCore.o
/opt/local/lib/LLVMSparcCodeGen.o /opt/local/lib/LLVMSparcAsmPrinter.o
/opt/local/lib/LLVMPowerPCAsmPrinter.o
/opt/local/lib/LLVMPowerPCCodeGen.o /opt/local/lib/LLVMPIC16.o
/opt/local/lib/LLVMMSIL.o /opt/local/lib/LLVMMips.o -lLLVMLinker
-lLLVMipo /opt/local/lib/LLVMInterpreter.o -lLLVMInstrumentation
/opt/local/lib/LLVMIA64.o /opt/local/lib/LLVMExecutionEngine.o
/opt/local/lib/LLVMJIT.o -lLLVMDebugger
/opt/local/lib/LLVMCppBackend.o /opt/local/lib/LLVMCellSPUCodeGen.o
/opt/local/lib/LLVMCellSPUAsmPrinter.o /opt/local/lib/LLVMCBackend.o
-lLLVMBitWriter /opt/local/lib/LL...
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton
Thu, 3 Aug 2006 15:06:56 +0400 you wrote:
> here it is in the attachment :)
Ok. Could you also send LibDeps.txt file? It should be
in /obj/tools/llvm-config directory
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.