Displaying 20 results from an estimated 80000 matches similar to: "[LLVMdev] libstdc++ to LLVM bitcode"
2008 Jul 24
0
[LLVMdev] weird function
Thank Duncan,
what I actually want, is to implement a simple processor simulator, which
can execute LLVM bitcode. So it must deal with the virtual LLVM instruction
set.
As I compiled a C or C++ program using llvm-gcc or llvm-g++, I have a
bitcode file. If a C++ library is used, some functions will be declared
inside it, but not defined there (like the @_Znwj). Is it possible to create
LLVM IR
2008 Jul 24
1
[LLVMdev] weird function
Hi Quang,
> As I compiled a C or C++ program using llvm-gcc or llvm-g++, I have a
> bitcode file. If a C++ library is used, some functions will be declared
> inside it, but not defined there (like the @_Znwj). Is it possible to create
> LLVM IR with all libraries defined inside (or linked with another bitcode
> libraries) ?
I don't know how hard it would be to compile the C++
2008 Jul 24
0
[LLVMdev] weird function
Hi,
thank for your answer. Is there any document/tutorial about linking
bytecode file with libstdc++ avaiable ?
Quang
-----Ursprüngliche Nachricht-----
Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im
Auftrag von Chris Lattner
Gesendet: Mittwoch, 23. Juli 2008 20:35
An: LLVM Developers Mailing List
Cc: Le Anh Quang
Betreff: Re: [LLVMdev] weird function
On Jul 23,
2008 Jul 24
2
[LLVMdev] weird function
Hi,
> thank for your answer. Is there any document/tutorial about linking
> bytecode file with libstdc++ avaiable ?
first you need to compile the bitcode to assembler using llc.
For example:
llc bitcode.bc
This produces bitcode.s. Turn this into a executable using:
llvm-g++ -o bitcode bitcode.s
or
g++ -o bitcode bitcode.s
It doesn't matter which g++ you use here. Using g++
2007 Sep 28
1
[LLVMdev] libstdc++ in LLVM bitcode
Need to know if anyone has compiled the libstdc++ to LLVM bitcode. If
it's available please where could I download it from?
Thanks.
Napi
2007 Sep 28
0
[LLVMdev] libstdc++ in LLVM bitcode
On Fri, Sep 28, 2007 at 10:08:31AM +0800, Mohd-Hanafiah Abdullah wrote:
> Need to know if anyone has compiled the libstdc++ to LLVM bitcode. If
> it's available please where could I download it from?
I did this last year.
Check out:
http://goanna.cs.rmit.edu.au/~emil/dietstdcxx.1.tar.bz2
--Emil
2008 Jul 01
0
[LLVMdev] build on windows
AFAK, the Configuration project does not generate any output. It just
patch and generate some required header file.
Le 1 juil. 08 à 17:32, Le Anh Quang a écrit :
> Hi Jean-Daniel,
> thank for ur fast answer, i have fixed this error, another function
> was
> defined inside llvm source code.
> So, my only problem now is, I cannot create the file "configure.lib"
>
2008 Jul 01
2
[LLVMdev] build on windows
Hi Jean-Daniel,
thank for ur fast answer, i have fixed this error, another function was
defined inside llvm source code.
So, my only problem now is, I cannot create the file "configure.lib"
(belongs to project "Configure"). I can build this project without error,
but it didn't generate the lib data ?!
Can you build this file ? if yes, I will be very happy if you send it to
2008 Jul 01
0
[LLVMdev] build on windows
Not this one, I have a different error here. One related to hasmap and
pair templates.
I will check this on my Windows machine later.
Le 1 juil. 08 à 16:44, Le Anh Quang a écrit :
> Hi Jean-Daniel,
> Thank
> I use VC++ 9 (express version). I have also an error in TableGen: The
> "strtoll" could not be found under win32. Have you fixed it ?
>
> Regards
> Quang
2008 Jul 13
1
[LLVMdev] instruction description
Hi Chris, Owen
Thank for your answers. I have read it before. I mean something different.
For example, I read a burst of bytes from a bitcode, which corresponds a
LOAD instruction: [0,3,0], it actually means something like "%tmp1 = load
i32* @x,align 4"
Is there a document, that describes how the information in instructions
decoded was ?
In the case of JVM, it was described detail,
2008 Jul 01
2
[LLVMdev] build on windows
Hi,
but on some other project, they require "configure.lib". What is this one ?
Thanks
-----Ursprüngliche Nachricht-----
Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im
Auftrag von Jean-Daniel Dupas
Gesendet: Dienstag, 1. Juli 2008 17:58
An: LLVM Developers Mailing List
Betreff: Re: [LLVMdev] build on windows
AFAK, the Configuration project does not
2008 Jul 01
3
[LLVMdev] build on windows
Hi Jean-Daniel,
Thank
I use VC++ 9 (express version). I have also an error in TableGen: The
"strtoll" could not be found under win32. Have you fixed it ?
Regards
Quang
-----Ursprüngliche Nachricht-----
Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im
Auftrag von Jean-Daniel Dupas
Gesendet: Montag, 30. Juni 2008 22:00
An: LLVM Developers Mailing List
2008 Jun 30
0
[LLVMdev] build on windows
Le 30 juin 08 à 21:28, Le Anh Quang a écrit :
> Hi,
> I have tried to compile LLVM with Visual C++. Some subprojects work
> now.
>
> Other subprojects require the file "configure.lib". So I tried to
> compile
> the project "Configure". It could be built successfully, but the file
> "configure.lib" is not generated. So, what is the problem
2008 Jul 13
3
[LLVMdev] instruction description
Hi,
I need the description of LLVM instructions on bitcode file. I can't find it
on any document. Reading the code costs much time. Does a description like
this exist ? It should look like the JVM Instruction set on the link bellow:
http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.ht
ml
Thanks for any advise.
Quang
2008 Jun 30
1
[LLVMdev] build on windows
So far, I'm building largely clean too. I had to change which llvmAsmParser it was looking at since it needs to look at the generated file under the win32\AsmParser directory rather than ...\lib\AsmParser where no such file exists. After that, it compiles clean on debug. Working on release now and then I'll check that change in.
Quang, do you have flex and bison on your system and in
2012 May 22
0
[LLVMdev] How to get llvm bitcode executed
Hi Xialong,
> I have a program that uses C++ STL a lot. To have the source code for
> STL functions, I undefined "_GLIBCXX_EXTERN_TEMPLATE" in
> c++config.h. In spite of this, after compilation (via clang) and
> linking (via llvm-ld), the resulting bitcode contains a few declared
> functions (with no definitions).
>
> My question is: In the scenario where some
2012 May 23
0
[LLVMdev] How to get llvm bitcode executed
Hi Xiaolong,
> As Duncan described, "lli -load=libstdc++.dylib ..." works. I,
> however, encounted an "Illegal instruction" message, while I was
> trying to interpret a large program.
are you using the interpreter or the JIT?
So, does lli have a debug switch
> for dumping out the details for errors?
>
> Using llc is not that simple, and I have not gotten
2008 Jul 09
0
[LLVMdev] build on windows
Quang, you need to set Configure to Utility type. For some reason it
gets messed up in the conversion process to VS2008. Go to Configure
properties / General and put Utility in Configuration Type. It helped on me.
Also some h/cpp files might be dislocated, at least I needed to relocate
AsmParser files...
Then it should work just fine except some projects recompile excessively
for unknonwn
2008 Jun 30
4
[LLVMdev] build on windows
Hi,
I have tried to compile LLVM with Visual C++. Some subprojects work now.
Other subprojects require the file "configure.lib". So I tried to compile
the project "Configure". It could be built successfully, but the file
"configure.lib" is not generated. So, what is the problem here ? Can
somebody help me to fix that ?
Thanks and regards
Quang
2008 Jul 13
0
[LLVMdev] instruction description
On Jul 13, 2008, at 1:32 PM, Le Anh Quang wrote:
> Hi,
> I need the description of LLVM instructions on bitcode file. I can't
> find it
> on any document. Reading the code costs much time. Does a
> description like
> this exist ? It should look like the JVM Instruction set on the link
> bellow:
>