search for: tmp183

Displaying 2 results from an estimated 2 matches for "tmp183".

Did you mean: tmp13
2008 Jul 24
0
[LLVMdev] weird function
...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) ? Maybe it looks like that: .... %tmp183 = tail call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.str1, i32 0, i32 0), i32 %tmp182 ) nounwind tail call void @_ZdlPv( i8* %tmp432.i312 ) nounwind .... define i32 @printf(i8*, ...) nounwind { ... // LLVM instructions } define i8* @_Znwj(i32) { ... // LLVM instructions } Thank...
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++