search for: sedaghatbaf

Displaying 9 results from an estimated 9 matches for "sedaghatbaf".

2013 Jan 09
0
[LLVMdev] linking llvm libraries with bitcode files
On Wed, Jan 9, 2013 at 5:32 AM, Ali Sedaghat <ali.sedaghatbaf at gmail.com> wrote: > I'm developing an llvm-based compiler and when I try to generate > executable file the following error occurs: > > ./bin/llvmcode.s:35: undefined reference to `operator new[](unsigned > long)' > > Note that in the generated IR, the function ...
2013 Jan 09
2
[LLVMdev] linking llvm libraries with bitcode files
I'm developing an llvm-based compiler and when I try to generate executable file the following error occurs: ./bin/llvmcode.s:35: undefined reference to `operator new[](unsigned long)' Note that in the generated IR, the function '@_Znam' is called which is located in one of llvm libraries. So, I should have linked the generated assembly file with that library. Here is the code I
2013 Oct 10
1
[LLVMdev] compile error
when I compile llvm-3.3 according to the instructions in vmkit's homepage the following error occurs: llvm-3.3.src/Release+Asserts/lib/libclangAST.a(VTableBuilder.o): In function `(anonymous namespace)::VCallAndVBaseOffsetBuilder::AddVCallOffsets(clang::BaseSubobject, clang::CharUnits)': VTableBuilder.cpp:(.text+0xc6c3): undefined reference to
2013 Oct 12
1
[LLVMdev] Fwd: unsupported gc: vmkit
when I execute clang on llvm bitcode files, I get the following error: clang: error: unable to execute command: Aborted unsupported GC: vmkit UNREACHABLE executed at GCMetadata.cpp:87! 0 clang 0x09e9d5d9 llvm::sys::PrintStackTrace(_IO_FILE*) + 41 Stack dump: 0. Program arguments: /home/ali/llvm-3.3.src/Release+Asserts/bin/clang -cc1 -triple i386-pc-linux-gnu -emit-obj -mrelax-all
2013 Jan 12
2
[LLVMdev] generating executable file from .ll files
Hi, I'm writing a front-end for llvm with java. my front-end produces .ll files. Then I use the following commands to convert these files to an executable file: !. for each .ll file I use 'llvm-as file.ll' to create a bitcode file 2. use 'llvm-ld -o executable my-bitcode-files -L/usr/lib/i386-linux-gnu -lstdc++' to generate an executable file then when I run the executable
2013 Jan 14
2
[LLVMdev] linking standard c++ functions @_Znam and @_Znwm
I'm new to c++ programming and currently working on an llvm front-end development project. When I link the object files created by llc, my linker cannot locate the following functions. I know that these are standard c++ library functions but g++ cannot locate them. Now my question is that where are these functions defined and how can I link them with my object files, and actually what do they
2013 Jan 28
2
[LLVMdev] problem with setLocale
Hi Ciao, my compiler is written in java and generates some .ll files as its output. Each of these .ll files is converted to an object file using llc. Then, I use clang++ to link them and generate an executable file without linking with any external libraries, so I cannot understand what you mean. Sorry, if my question sounds silly to you -- View this message in context:
2013 Jan 29
0
[LLVMdev] testing with llvm-lit
when I use llvm-lit to test my own ll files, I get this error: "unable to find test suite for somefile.ll", what should I do to be able to use llvm-lit? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130129/a38a7063/attachment.html>
2013 Jan 27
2
[LLVMdev] problem with setLocale
In order to print unicode characters with llvm, I used setLocale in llvm ir: call i8* @setlocale(i32 6, i8* getelementptr inbounds ([1 x i8]* @pe, i32 0, i32 0)) nounwind where @pe is defined as follows: @pe = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 However, I got the following error: *** glibc detected *** ./test/bin/executable: free(): invalid next size