search for: chenliu

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

2011 Jul 10
0
[LLVMdev] How to get line number of a function in a bitcode file?
...code) llvm[2]: Compiling strdup.c for Release build (bytecode) llvm[2]: Compiling qsort.c for Release build llvm[2]: Compiling strdup.c for Release build llvm[2]: Compiling qsort.ll to qsort.bc for Release build (bytecode) llvm[2]: Compiling strdup.ll to strdup.bc for Release build (bytecode) /home/chenliu/llvm-2.6/llvm/Release/bin/llvm-as: assembly parsed, but does not verify as correct! Intrinsic prototype has incorrect number of arguments! void (i8*, i8*, i64, i32, i1)* @llvm.memcpy.p0i8.p0i8.i64 Broken module found, compilation terminated. Broken module found, compilation terminated. /home/chenli...
2011 Jul 08
7
[LLVMdev] How to get line number of a function in a bitcode file?
Hi All, I hope to get some information about functions in a bitcode file. Say, if we have a function foo(), and the bitcode file is generated by a single source file, then I want to get the line number foo() locates in that source file. If the bitcode file is linked by multiple bitcode files, is it possible to also get which file foo() locates in? Thanks, Chen -------------- next part