Displaying 20 results from an estimated 63 matches for "llvmsystem".
Did you mean:
lllvmsystem
2010 Sep 27
1
[LLVMdev] Shared Libraries (dlls) using MinGW
...block. I'm able to compile
without the BUILD_SHARED_LIBS flag but if I put turn the flag on as follows:
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release
-DBUILD_SHARED_LIBS:BOOL=ON ../llvm-2.7
Then call:
mingw32-make
I get:
...
Linking CXX shared library ..\..\bin\libLLVMSystem.dll
Info: resolving vtable for std::basic_stringbuf<char,
std::char_traits<char>, std::allocator<char> > by linking to
__imp___ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE (auto-import)
Info: resolving std::basic_string<char, std::char_traits<char>,
std::allocator<...
2010 Jun 29
1
[LLVMdev] problems building vmkit
...VirtualMachine’
N3.h:109: error: variable or field ‘TRACER’ declared void
In file included from Assembly.cpp:21:
VMClass.h:56: error: variable or field ‘TRACER’ declared void
VMClass.h:140: error: variable or field ‘TRACER’ declared void
...
2) For
./configure --with-llvmsrc=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-llvmobj=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib
--with-gnu-classpath-libs=/home/zoewolk/RESEARCH/classpath-0.97.2/lib
--with-llvmgcc=/home/zoewolk/RESEARCH/LLVMSystem --with-gc=mmtk
It makes it much farther but stops...
2010 Jun 30
3
[LLVMdev] vmkit build problems
...on
the problem? Also -- it seems to be building the release version by default
(perhaps because my llvm build used release), should I
try with the debug version instead? If so, is there a config flag for that?
Thanks in advance for your help.
-Z
./configure --with-llvmsrc=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-llvmobj=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib
--with-gnu-classpath-libs=/home/zoewolk/RESEARCH/classpath-0.97.2/lib
--with-llvmgcc=/home/zoewolk/RESEARCH/LLVMSystem --with-gc=mmtk
Buildfile: /home/zoewolk/RESEARCH/...
2010 Jun 30
0
[LLVMdev] vmkit build problems
...ing svn llvm, llvm-gcc, and vmkit successfully
and send out your steps? If not, can you please send
me the output of 'dpkg -l |grep ii'?
thanks
Z
llvm-gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../llvm-gcc-4.2/configure
--prefix=/home/zoewolk/RESEARCH/LLVMSystem --enable-languages=c,c++
--enable-checking --enable-llvm=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--disable-bootstrap --disable-multilib --program-prefix=llvm-
Thread model: posix
llvm config.status:
It was created by llvm configure 2.8svn, which was
generated by GNU Autoconf 2.60. Invocation comma...
2010 Jun 30
1
[LLVMdev] vmkit build problems
Hi Nicolas,
No, I built llvm-gcc myself by checking it out via svn, using
these instructions:
http://llvm.org/docs/GCCFEBuildInstrs.html
thanks
-Z
> Hi Zoe
> (Please, try to reply to the same thread)
> I think you may have an old version of llvm-gcc. Did you compile
> llvm-gcc yourself? The provided llvm-gcc binary for llvm 2.7 is
> too old for vmkit.
>
> Nicolas
>
2010 Jun 30
2
[LLVMdev] vmkit build problems
...end out your steps? If not, can you please send
> me the output of 'dpkg -l |grep ii'?
>
> thanks
> Z
>
> llvm-gcc -v
>
> Using built-in specs.
> Target: x86_64-unknown-linux-gnu
> Configured with: ../llvm-gcc-4.2/configure
> --prefix=/home/zoewolk/RESEARCH/LLVMSystem --enable-languages=c,c++
> --enable-checking --enable-llvm=/home/zoewolk/RESEARCH/LLVMSystem/llvm
> --disable-bootstrap --disable-multilib --program-prefix=llvm-
> Thread model: posix
>
> llvm config.status:
> It was created by llvm configure 2.8svn, which was
> generated by GN...
2010 Jul 05
0
[LLVMdev] vmkit build problems
...send
>> me the output of 'dpkg -l |grep ii'?
>>
>> thanks
>> Z
>>
>> llvm-gcc -v
>>
>> Using built-in specs.
>> Target: x86_64-unknown-linux-gnu
>> Configured with: ../llvm-gcc-4.2/configure
>> --prefix=/home/zoewolk/RESEARCH/LLVMSystem --enable-languages=c,c++
>> --enable-checking --enable-llvm=/home/zoewolk/RESEARCH/LLVMSystem/llvm
>> --disable-bootstrap --disable-multilib --program-prefix=llvm-
>> Thread model: posix
>>
>> llvm config.status:
>> It was created by llvm configure 2.8svn, which...
2009 Jul 17
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
...IT_T0_ES6_PKS3_i
-load request ignored.
opt: Unknown command line argument '-hello'. Try: 'opt --help'
make: *** [run_lib] Error 1
I think I might have missed a LLVM lib file, but can't figure out which.
I double checked the Makefile, it does have the libLLVMCore.a,
libLLVMSystem.a and libLLVMSupport.a specified.
Could people suggest?
All are based on the LLVM 2.5 release, running on Debian4-i386.
Thank you very much
Chuck
Hello.cpp file:
#include "llvm/Pass.h"
#include "llvm/Function.h"
using namespace llvm;
namespace {
struct Hello : public...
2009 Nov 02
0
[LLVMdev] llvm-mc build fails
...date the file manually or run the build with MSYS passing
-DLLVM_TARGETS_TO_BUILD=all on the cmake command line.
The manual update would consist on adding this lines to the above
mentioned file:
set(MSVC_LIB_DEPS_LLVMAVRAsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMAVRInfo LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMAVRCodeGen LLVMCodeGen LLVMCore LLVMMC LLVMAVRInfo LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMAVRInfo LLVMSupport)
which uses MSP430 as a template and supposses that your target is named
`AVR' (case sensitive).
In case you use t...
2010 Jul 02
0
[LLVMdev] vmkit build problems (and llvm-gcc bug 7108)
...send
>> me the output of 'dpkg -l |grep ii'?
>>
>> thanks
>> Z
>>
>> llvm-gcc -v
>>
>> Using built-in specs.
>> Target: x86_64-unknown-linux-gnu
>> Configured with: ../llvm-gcc-4.2/configure
>> --prefix=/home/zoewolk/RESEARCH/LLVMSystem --enable-languages=c,c++
>> --enable-checking --enable-llvm=/home/zoewolk/RESEARCH/LLVMSystem/llvm
>> --disable-bootstrap --disable-multilib --program-prefix=llvm-
>> Thread model: posix
>>
>> llvm config.status:
>> It was created by llvm configure 2.8svn, which...
2008 Apr 22
2
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
...e of the library to build
LIBRARYNAME = gascheduling
# Make the shared library become a loadable module so the tools can
# dlopen/dlsym on the resulting library.
# LOADABLE_MODULE = 1
# USEDLIBS=ga.a
# Tell the build system which LLVM libraries your pass needs. You'll probably
# need at least LLVMSystem.a, LLVMSupport.a, LLVMCore.a but possibly several
# others too.
# LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
SHARED_LIBRARY = 1
# ARCHIVE_LIBRARY = 1
DONT_BUILD_RELINKED = 1
# KEEP_SYMBOLS = 1
# LINK_LIBS_IN_SHARED = 1
# Include the makefile implementation stuff
include $(LEVEL)/Makefile.com...
2008 Mar 31
2
[LLVMdev] Pass registered multiple times!
...ot; << F.getName() << "\n";
return false;
}
};
char First::ID = 0;
RegisterPass<First> X("first", "First world pass");
}
and the Makefile:
LEVEL = ../../..
LIBRARYNAME = First
LOADABLE_MODULE = 1
LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
include $(LEVEL)/Makefile.common
Thanks in advance.
Lu
2009 Jul 19
0
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
...ignored.
> opt: Unknown command line argument '-hello'. Try: 'opt --help'
> make: *** [run_lib] Error 1
>
> I think I might have missed a LLVM lib file, but can't figure out which.
>
> I double checked the Makefile, it does have the libLLVMCore.a,
> libLLVMSystem.a and libLLVMSupport.a specified.
>
> Could people suggest?
>
> All are based on the LLVM 2.5 release, running on Debian4-i386.
>
> Thank you very much
>
> Chuck
>
> Hello.cpp file:
> #include "llvm/Pass.h"
> #include "llvm/Function.h"
>
&...
2009 Jul 19
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
...n gcc compiler will mis-compile?
2. I ran into exactly the problem you pointed out. (Thank you)
The Makefile needs some update (after careful comparison between the
tutorial Makefile and the makefile used for lib/Transformation/Hello), by
commenting out the following line:
#LLVMLIBS = LLVMCore.a LLVMSystem.a LLVMSupport.a
I guess the tutorial needs some update, as with release 2.5 things might
have changed a bit.
Thanks for the reply
Chuck
Shuguang Feng wrote:
> Hey Chuck,
>
> I'm afraid I can't reproduce your error but...a problem you may run
> into later is that opt will...
2008 Mar 31
0
[LLVMdev] Pass registered multiple times!
It turned out to be the problem of this line in Makefile
LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
The error is gone when I remove the above line.
However, the pass output only contains one line of the main function.
First: main
It does not have puts and __main as shown in this page:
http://llvm.org/docs/WritingAnLLVMPass.html#running
So I guess the drived FunctionPass only works on the a...
2009 Dec 15
2
[LLVMdev] Running a pass
...problem? Or maybe I just type (copy) something wrong? Could someone take a
look of my files and point my errors out?
Thanks in advance,
Juan Carlos
*****************
*** Makefile ***
*****************
LEVEL = ../../..
LIBRARYNAME = MyPass
LOADABLE_MODULE = 1
LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
include $(LEVEL)/Makefile.common
**********************
*** MyPass.cpp ***
**********************
#include "llvm/Pass.h"
#include "llvm/Function.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
namespace {
struct MyPass : public FunctionPass {
s...
2010 Jul 06
2
[LLVMdev] vmkit build problems
...-l |grep ii'?
>>>
>>> thanks
>>> Z
>>>
>>> llvm-gcc -v
>>>
>>> Using built-in specs.
>>> Target: x86_64-unknown-linux-gnu
>>> Configured with: ../llvm-gcc-4.2/configure
>>> --prefix=/home/zoewolk/RESEARCH/LLVMSystem --enable-languages=c,c++
>>> --enable-checking --enable-llvm=/home/zoewolk/RESEARCH/LLVMSystem/llvm
>>> --disable-bootstrap --disable-multilib --program-prefix=llvm-
>>> Thread model: posix
>>>
>>> llvm config.status:
>>> It was created by llvm...
2009 Dec 15
0
[LLVMdev] Running a pass
...gt; someone take a look of my files and point my errors out?
>
> Thanks in advance,
>
> Juan Carlos
>
> *****************
> *** Makefile ***
> *****************
> LEVEL = ../../..
> LIBRARYNAME = MyPass
> LOADABLE_MODULE = 1
> LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
> include $(LEVEL)/Makefile.common
>
> **********************
> *** MyPass.cpp ***
> **********************
> #include "llvm/Pass.h"
> #include "llvm/Function.h"
> #include "llvm/Support/raw_ostream.h"
>
> using namespace llvm;
>
>...
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
...er\LLVMMCParser.vcproj"
LLVMScalarOpts, "lib\Transforms\Scalar\LLVMScalarOpts.vcproj"
LLVMSelectionDAG, "lib\CodeGen\SelectionDAG\LLVMSelectionDAG.vcproj"
LLVMSupport, "lib\Support\LLVMSupport.vcproj"
LLVMSystem, "lib\System\LLVMSystem.vcproj"
LLVMTarget, "lib\Target\LLVMTarget.vcproj"
LLVMTransformUtils, "lib\Transforms\Utils\LLVMTransformUtils.vcproj"
LLVMX86AsmParser, "lib\Target\X86\AsmParser\LLVMX86AsmParser.vcproj"...
2009 Nov 02
4
[LLVMdev] llvm-mc build fails
...o
CMakeFiles/llvm-mc.dir/AsmExpr.cpp.o CMakeFiles/llvm-mc.dir/AsmLexer.cpp.o
CMakeFiles/llvm-mc.dir/AsmParser.cpp.o -o ../../bin/llvm-mc -rdynamic
../../lib/libLLVMAVRCodeGen.a ../../lib/libLLVMAVRAsmPrinter.a
../../lib/libLLVMAVRInfo.a ../../lib/libLLVMMC.a ../../lib/libLLVMSupport.a
../../lib/libLLVMSystem.a -ldl ../../lib/libLLVMSelectionDAG.a
../../lib/libLLVMAnalysis.a ../../lib/libLLVMAsmPrinter.a
../../lib/libLLVMCodeGen.a ../../lib/libLLVMCore.a
../../lib/libLLVMScalarOpts.a ../../lib/libLLVMTransformUtils.a
../../lib/libLLVMSupport.a
../../lib/libLLVMSystem.a
../../lib/libLLVMAVRCodeGen.a(AVR...