Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Cygwin patch"
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
I constructed an LLVM 2.7 VS solution with cmake, but it has 66 projects:
ALL_BUILD, ".\ALL_BUILD.vcproj"
BrainF, "examples\BrainF\BrainF.vcproj"
Fibonacci, "examples\Fibonacci\Fibonacci.vcproj"
FileCheck, "utils\FileCheck\FileCheck.vcproj"
HowToUseJIT,
2010 Jul 22
2
[LLVMdev] Is there a guide to LLVM's components?
One thing that helps me understand complex software is a dependency graph. I found an LLVM dependency graph at
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_16/docs/UsingLibraries.html#dependencies
but it's really messy and hard to follow. From that graph I made a cleaner graph by hand (attached)... sorry about the fax-quality scan. But I have some questions about it...
-
2009 Nov 01
1
[LLVMdev] Issue compiling LLVM 2.6 on Windows with MinGW
Hello,
I downloaded LLVM 2.6 and was attempting to compile it with TDM-GCC
4.4.1-tdm2-sjlj + cmake 2.6.4 and this happened:
=============Console===================
C:\projects\game-editor\LLVM\build-root>mingw32-make
[ 2%] Built target LLVMSystem
[ 5%] Built target LLVMSupport
[ 7%] Built target tblgen
[ 7%] Built target intrinsics_gen
[ 10%] Built target LLVMCore
[ 12%] Built target
2018 Mar 17
1
CMake error due to file addition
Hi llvm develop-team.
I am using clang/llvm6.0.0 version for univ lab project.I have some annoying
problem using CMake, so I ask for help. I added the following file to add some
features, and modified cmake, but I got a link error.
--------------------------------------
lib/Transforms/Utils/Dependency.cpp
include/Transforms/Utils/Dependency.h
lib/Transforms/Utils/CMakeLists.txt
2013 Oct 31
2
[LLVMdev] Why does cmake use LLVMBuild.txt to specify the LLVM-libs link order?
Hi,
I've been working on a set of patches to statically link polly in the LLVM
tools. There remains an error I can't seem to solve when linking llvm-lto (all
other tools luckily get linked correctly): it insists adding libLLVMipo.a after
libLLVMPolly.a on the link command, resulting in an error of the form:
PassManagerBuilder.cpp:(.text+0x499): undefined reference to
2006 Mar 22
0
[LLVMdev] Circular dependencies
On Mar 21, 2006, at 11:23 PM, Chris Lattner wrote:
>>> LLVMCodeGen.o LLVMSelectionDAG.o libLLVMAnalysis.a
>>> libLLVMTarget.a
>>> libLLVMTransformUtils.a libLLVMipa.a
>
> CodeGen should depend on Target, but not the other way around.
> LLVMIPA should depend on LLVMAnalysis, but certainly nothing in the
> list should depend on LLVMIPA. If you knew
2006 Mar 22
0
[LLVMdev] Circular dependencies
Okay, its not that simple.
Several files in Transforms/Utils depend on things in lib/Analysis. A
quick grep shows:
BreakCriticalEdges.cpp:#include "llvm/Analysis/Dominators.h"
BreakCriticalEdges.cpp:#include "llvm/Analysis/LoopInfo.h"
CloneTrace.cpp:#include "llvm/Analysis/Trace.h"
CodeExtractor.cpp:#include "llvm/Analysis/Dominators.h"
2006 Mar 22
2
[LLVMdev] Circular dependencies
Okay, the problem with this cycle is LoopSimplify. It is using
AliasAnalysis which is where that _ZN4llvm11BasicAAStubEv symbol is
coming from. It seems to me that LoopSimplify.cpp is in the wrong
place. This file defines the LoopSimplify FunctionPass which doesn't
seem to me to be a "transform util". I thought the purpose of
"Transforms/Util" was to provide utilities
2012 May 25
0
[LLVMdev] Minor correction to the Visual Studio documentation
I checkout LLVM and clang from SVN, then use CMake to generate project
files for Visual Studio 2010 (I started with 2008). The LLVM project
compiles successfully and gives me all the tools including Clang. For a few
tests, I compile C++ code with Clang which if I need to I link, I use
MinGW's ld passing all the relevant object files and libraries including
correctly ordering the start-up code
2006 Mar 22
0
[LLVMdev] Circular dependencies
On Tue, 21 Mar 2006, Chris Lattner wrote:
>> 2. Combine the JIT/Interpreter/ExecutionEngine into one .a
>
> I'd much rather change the code so that interpreter depends on EE and JIT
> depends on EE, but EE depends on neither of them.
>
> This would allow people to link just the JIT or just the interpreter into
> their apps, instead of always having both or none.
2010 Jul 14
0
[LLVMdev] How to cope with 'undefined reference' errors taken the example of building VMkit x86_64 version
Hi all,
I haven't found this trick anywhere (including llvm/docs/MakefileGuide.html)
so it maybe useful.
This occurs only in 64 bit version of linux, linker of 32 bit system
understands
everything correctly.
Situation:
While building, at link stage, a 64bit version of some executable, with
several archive libraries, say, A.a, B.a, C.a
build fails with some "undefined reference to
2006 Mar 22
5
[LLVMdev] Circular dependencies
On Tue, 21 Mar 2006, Reid Spencer wrote:
> About the only thing I can suggest are:
>
> 1. Combine LLVMSparc*.o into one LLVMSparc.a. That work is already
> happening with the new Sparc backend that is being developed. Should be
> out in 1.7 (Chris?)
I wouldn't worry about the SparcV9 backend for your project.
> 2. Combine the JIT/Interpreter/ExecutionEngine into one .a
2009 Jan 19
0
[LLVMdev] ocaml build system
On 2009-01-19, at 13:50, Nick Lewycky wrote:
> I have an issue with the OCaml build system and the ExecutionEngine.
>
> PR2128 has a patch to change the Interpreter to use libffi. This
> breaks test/Bindings/Ocaml/executionengine.ml because OCaml doesn't
> try to link with libffi, even though llvm-config knows that we should:
>
> $ Debug/bin/llvm-config --ldflags
2012 Mar 14
2
[LLVMdev] Linking static external library into an LLVM pass library?
This document http://llvm.org/docs/Projects.html says the USEDLIBS should
be used to statically link libraries:
USEDLIBSThis variable holds a space separated list of libraries that should
be linked into the program. These libraries must be libraries that come
from your *lib* directory. The libraries must be specified without their
"lib" prefix. For example, to link libsample.a, you
2010 Mar 08
2
[LLVMdev] Machine Function pass
I am trying to write a MachineFunction pass and build it as a loadable module.
I want the pass to run after prolog/epilog emmiter. So far, I have been using
MachineFunctionPass, but by inserting it to lib/Codegen and hacking the
LLVMTargetMachine file, and Pass.h files.
I have created a directory "lib/Transforms/MyPass", and inside I have
the code of the pass (which is just a
2006 Sep 02
2
[LLVMdev] Adding register allocator to LLVM
Hi all!
I didn't manage to link my regalloc to lli (I added USEDLIBS to its
makefile). Without it I can't run tests cause they need lli to be built. So
how can I link createMyRegisterAllocator function to lli?
Thanks.
On 8/22/06, Anton Vayvod <avayvod at gmail.com> wrote:
>
> I managed to link my RegAlloc.a library to llc tool but can;t make the
> same with lli tool.
2004 Nov 08
0
[LLVMdev] LLVM for JIT only use
On Sun, Nov 07, 2004 at 11:40:58PM +0100, Basile STARYNKEVITCH wrote:
> I did "make" inside llvm/examples/ and inside
> llvm/examples/HowToUseJIT/ and expected to get an ELF executable.. But
> I've only got the 2 Release/HowToUseJIT.[do] files..
All executables are placed in tools/$(BUILD_TYPE), in your case,
llvm/tools/Release. That is there from the time before we had
2007 Apr 13
2
[LLVMdev] [llvm-commits] CVS: llvm/lib/Transforms/Hello/Makefile
And this brings back CommandLine Error: Arugment blah defined more
than once!
And without this, opt -load .../LLVMHello.dylib -hello does not work
on Darwin because dyld is not able to find SlowerOperationInformer ;)
thoughts ?
-
Devang
On Apr 13, 2007, at 11:28 AM, Devang Patel wrote:
>
>
> Changes in directory llvm/lib/Transforms/Hello:
>
> Makefile updated: 1.7 ->
2009 Jan 04
1
[LLVMdev] link problem with llvm-pass
Dear John,
thanks! I was irritated by the path of the header file/declaration.
It is not like the definition in a subdirectory. Sorry my fault.
Is there an overview where classes and link options are mapped to each
other?
Kind regards,
Nico
On Jan 4, 2009, at 4:07 PM, John Criswell wrote:
> Dear Nico,
>
> I believe you need to add LLVMipa to the list of libraries to link
>
2006 Sep 02
0
[LLVMdev] Adding register allocator to LLVM
On Sat, 2 Sep 2006, Anton Vayvod wrote:
> I didn't manage to link my regalloc to lli (I added USEDLIBS to its
> makefile). Without it I can't run tests cause they need lli to be built. So
> how can I link createMyRegisterAllocator function to lli?
Make sure to add it to Codegen/LinkAllCodegenComponents.h.
-Chris
> On 8/22/06, Anton Vayvod <avayvod at gmail.com> wrote: