Displaying 1 result from an estimated 1 matches for "23089316".
2014 Apr 24
3
[LLVMdev] getMetadata(“dbg”) returns NULL
...if(a[0] != 0 && a[1] != 0){
strcpy(a, b);
}
return 0;
}
The compiling command is: llvm-gcc --emit-llvm -g -c ./src.c
I also tried the solutions I found through Google:
http://stackoverflow.com/questions/14943447/llvm-line-number-of-an-instruction
http://stackoverflow.com/questions/23089316/getmetadatadbg-returns-null-despite-producing-ir-with-clang-g-s-emit-llv
but neither of them works.
Does anyone have any idea about this?
Thanks,
Yongchao.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...