search for: llvmexecutionengin

Displaying 20 results from an estimated 65 matches for "llvmexecutionengin".

Did you mean: llvmexecutionengine
2015 May 23
2
[LLVMdev] Shared libs build failing since yesterday
...ne error: FAILED: : && /usr/lib/ccache/bin/c++ -fPIC -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wno-comment -std=c++11 -g -Wl,-z,defs -shared -Wl,-soname,libLLVMExecutionEngine.so.3.7 -o lib/libLLVMExecutionEngine.so.3.7.0svn lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/ExecutionEngine.cpp.o lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/ExecutionEngineBindings.cpp.o lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/GDBRegistrationListener.cpp.o li...
2008 Oct 26
1
[LLVMdev] Error while creating ExecutionEngine
Thanks Bill! But it does not work. I get the error given below when I try to load LLVMExecutionEngine.o in the opt command. Error opening '../../../build/Release/lib/LLVMExecutionEngine.o': ../../../build/Release/lib/LLVMExecutionEngine.o: only ET_DYN and ET_EXEC can be loaded -load request ignored. Any ideas?? Please help me out here. Thanks, Bhavani --- On Sun, 10/26/08, Bill Wendl...
2008 Oct 26
0
[LLVMdev] Error while creating ExecutionEngine
...ives but could not find any similar > problem. > Please let me know what I am doing wrong. Please let me know if it > is possible to create an object of executionengine in the > optimization pass? > I'm not 100% sure, but I think that you will have to have opt load up the LLVMExecutionEngine.o library. -bw
2019 Apr 16
3
Opt plugin linkage
Hi, I have a dynamically loaded llvm pass built in-tree with ninja (generated with cmake, basically a copy of the hallo pass plugin, linux, llvm/clang version 6.0.1). It uses the ExecutionEngine. Building it without linking against LLVMExecutionEngine library results in an undefined symbol to the vtable of the EngineBuilder when loaded to opt. Linking the plugin with LLVMExecutionEngine results in the pass simply not being executable with giving "opt: Unkown command line argument '-passArg'." For a minimal example add set(LLV...
2008 Oct 26
2
[LLVMdev] Error while creating ExecutionEngine
Hi, I am completely new to llvm. I am trying to build an optimization pass. I need to interpret some instructions in the pass. To begin with, I used the exact same code as HowtoUseJIT example. It compiles fine. While executing using opt, I get the following error at the point where th executionengine is created: opt: symbol lookup error: ../../../Release/lib/Try.so: undefined symbol:
2008 Feb 21
2
[LLVMdev] llvm 2.2 install and ocaml bindings
...; llvm-config --libdir --libfiles engine /opt/local/lib /opt/local/lib/LLVMX86.o /opt/local/lib/libLLVMSelectionDAG.a /opt/local/lib/libLLVMCodeGen.a /opt/local/lib/libLLVMScalarOpts.a /opt/local/lib/libLLVMTransformUtils.a /opt/local/lib/libLLVMipa.a /opt/local/lib/libLLVMAnalysis.a /opt/local/lib/LLVMExecutionEngine.o /opt/local/lib/LLVMJIT.o /opt/local/lib/libLLVMTarget.a /opt/local/lib/libLLVMCore.a /opt/local/lib/libLLVMSupport.a /opt/local/lib/libLLVMSystem.a > ocamlc -g -cc g++ -I `llvm-config --libdir --libfiles engine` -o toy llvm.cma llvm_analysis.cma llvm_executionengine.cma lexer.cmo parser.cmo c...
2019 Apr 16
2
Opt plugin linkage
...as BSc via llvm-dev <llvm-dev at lists.llvm.org> wrote: Hi, I have a dynamically loaded llvm pass built in-tree with ninja (generated with cmake, basically a copy of the hallo pass plugin, linux, llvm/clang version 6.0.1). It uses the ExecutionEngine. Building it without linking against LLVMExecutionEngine library results in an undefined symbol to the vtable of the EngineBuilder when loaded to opt. Linking the plugin with LLVMExecutionEngine results in the pass simply not being executable with giving "opt: Unkown command line argument '-passArg'." For a minimal example add set(L...
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.
2008 Aug 13
2
[LLVMdev] LLVM build problem
...(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. Configured with: ./configure \ --disable-static \ --enable-assertions \ --enable-debug-runtime \ --enable-jit \ --enable-optimize...
2019 Apr 18
3
Opt plugin linkage
...Printers.cpp NewPMDriver.cpp PassPrinters.cpp PrintSCC.cpp opt.cpp DEPENDS intrinsics_gen ) export_executable_symbols(opt) if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) target_link_libraries(opt PRIVATE Polly) endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) target_link_libraries(opt PUBLIC LLVMExecutionEngine) ``` Modified opt's LLVMBuild.txt: ``` ;===- ./tools/opt/LLVMBuild.txt --------------------------------*- Conf -*--===; ; ; The LLVM Compiler Infrastructure ; ; This file is distributed under the University of Illinois Open Source ; License. See LICENSE.TXT for details....
2006 Aug 04
1
[LLVMdev] Building llvm under cygwin
Hello Anton Fri, 4 Aug 2006 21:45:19 +0400 you wrote: > Written by Mike Haertel and Paul Eggert. > I've updated llvm and llvm-gcc4 ant trying to build it again after > PR845 was resolved. According to Reid's letter this PR coud be the > reason of my problem. Anyway, "sort" call can cause large problems depending, where in your PATH cygwin directory is (before
2008 Feb 21
0
[LLVMdev] llvm 2.2 install and ocaml bindings
...source tree as you're seeing.) 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 th...
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
...MBitReader, "lib\Bitcode\Reader\LLVMBitReader.vcproj" LLVMBitWriter, "lib\Bitcode\Writer\LLVMBitWriter.vcproj" LLVMCodeGen, "lib\CodeGen\LLVMCodeGen.vcproj" LLVMCore, "lib\VMCore\LLVMCore.vcproj" LLVMExecutionEngine, "lib\ExecutionEngine\LLVMExecutionEngine.vcproj" LLVMInstCombine, "lib\Transforms\InstCombine\LLVMInstCombine.vcproj" LLVMInstrumentation, "lib\Transforms\Instrumentation\LLVMInstrumentation.vcproj" LLVMInterpreter, &qu...
2006 Mar 21
2
[LLVMdev] Circular dependencies
...raries. If you use any 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...
2008 Aug 13
0
[LLVMdev] LLVM build problem
...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. this looks like a bug in gcc: it has created an invalid exception handling frame. I've seen this before, but no...
2008 Feb 21
0
[LLVMdev] LLVM Win32 Issue
.... I am pretty sure it's because I'm > missing a few llvm .lib or .obj files. What is the set of llvm object > files needed at link time for Win32 on X86 JIT? This is what I use on MinGW. It is for 2.1. I hope 2.2 is similar: LIBFILES = $(LLVM_LIB_PATH)LLVMX86.o \ $(LLVM_LIB_PATH)LLVMExecutionEngine.o \ $(LLVM_LIB_PATH)LLVMJIT.o \ -lLLVMAsmParser \ -lLLVMSelectionDAG \ -lLLVMCodeGen \ -lLLVMScalarOpts \ -lLLVMTransformUtils \ -lLLVMAnalysis \ -lLLVMTarget \ -lLLVMCore \ -lLLVMSupport \ -lLLVMSystem \ -lpsapi \ -ldbghelp If you are on VS, .o is .obj and -lLLVMWhatever is Whateve...
2008 Oct 27
3
[LLVMdev] Is it possible to use EE within optimization pass?
...d executes fine without the EE. I only get the Pass registered multiple times error when I try to link to the EE by using LINK_COMPONENTS=engine in the Makefile. Without that line in the Makefile, my pass gets registered fine but it is not able to create EE(Error reading Symbol). So, how do I link LLVMExecutionEngine.o without causing the multiple registration error. thanks, Bhavani --- On Mon, 10/27/08, John Criswell <criswell at cs.uiuc.edu> wrote: > From: John Criswell <criswell at cs.uiuc.edu> > Subject: Re: [LLVMdev] Is it possible to use EE within optimization pass? > To: "bh...
2008 Feb 21
3
[LLVMdev] LLVM Win32 Issue
Hello all, I'm trying to bring an LLVM-based project that is working on Linux up on Win32. I am having problems with llvm::ExecutionEngine::create returning a NULL. I traced it to these lines: // Unless the interpreter was explicitly selected, try making a JIT. if (!ForceInterpreter && JITCtor) EE = JITCtor(MP, ErrorStr); // If we can't make a JIT, make an
2006 Mar 22
0
[LLVMdev] Circular dependencies
...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 somethin...
2007 Dec 03
2
[LLVMdev] LLVM footprint
...libraries I needed to resolve symbols... The makefile is here: http://hg.mozilla.org/users/bsmedberg_mozilla.com/llvm-test/?file/e021a9901b98/Makefile.in EXTRA_DSO_LDOPTS = \ $(XPCOM_GLUE_LDOPTS) \ $(NSPR_LIBS) \ -L$(LLVM_PREFIX)/lib \ $(LLVM_PREFIX)/lib/LLVMJIT.o \ $(LLVM_PREFIX)/lib/LLVMExecutionEngine.o \ $(LLVM_PREFIX)/lib/LLVMInterpreter.o \ $(LLVM_PREFIX)/lib/LLVMX86.o \ -lLLVMTarget \ -lLLVMCodeGen \ -lLLVMScalarOpts \ -lLLVMAnalysis \ -lLLVMTransformUtils \ -lLLVMSelectionDAG \ -lLLVMAnalysis \ -lLLVMCore \ -lLLVMSupport \ -lLLVMSystem \ $(NULL) and the C++ code...