similar to: [LLVMdev] weird function

Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] weird function"

2008 Jul 23
1
[LLVMdev] weird function
llvm-gcc is the C compiler, but you're trying to compile a C++ file. "@_Znwj" looks like part of a C++ symbol. Try llvm-g++ instead, that should help. - Simon 2008/7/23 Le Anh Quang <anh_quang.le at mailbox.tu-dresden.de>: > Hi, > I have tried to compile a simple cpp file with llvm-gcc. I have attached > the assemble file here. > I see a weird thing there.
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 23
2
[LLVMdev] weird function
On Jul 23, 2008, at 11:31 AM, Duncan Sands wrote: >> I have tried to compile a simple cpp file with llvm-gcc. I have >> attached >> the assemble file here. >> I see a weird thing there. There are some call instructions, they >> call the >> function "@_Znwj". But this function was only declared in the file, >> there is >> no
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
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
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++
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
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 23
0
[LLVMdev] weird function
> I have tried to compile a simple cpp file with llvm-gcc. I have attached > the assemble file here. > I see a weird thing there. There are some call instructions, they call the > function "@_Znwj". But this function was only declared in the file, there is > no definition of it. So, how can it work, if this function is "empty" ? When you create a final
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 Oct 06
0
[LLVMdev] sext..to instruction
On Mon, Oct 6, 2008 at 9:30 AM, Le Anh Quang <anh_quang.le at mailbox.tu-dresden.de> wrote: > Hi, > I have a question about the "sext..to" instruction. In the document, I found > two examples: > %x = sext i8 -1 to i16 > It means: > i8 -1 = 1111 1111 --> 1111 1111 1111 1111 = i16 > how can it determinate, that the i16 value %x positive is (65535)? > And
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 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
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 Jul 01
2
[LLVMdev] build on windows
Hi Argiris, It was for example the project TableGen, llvm-dis... I saw it under Properties/Linker/Command Line And the output is also: Linking... Starting pass 1 LINK : fatal error LNK1181: cannot open input file '..\configure\configure\configure.lib' Build log was saved at "file://d:\Studium\Diplom\Download\llvm-2.3\win32\TableGen\Win32\Release\Bui ldLog.htm" TableGen - 1
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 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
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