[LLVMdev] Given Filename and line number, how to get its basicblock?

hc2428 at columbia.edu hc2428 at columbia.edu
Wed Sep 23 22:37:02 PDT 2009


Dear developers,
     Here I met a question: if I got a file called foo.c, and I want  
to know which BasicBlock contains the 30 th line in foo.c, how can I  
get this BasicBlock in LLVM?

Thanks,
Heming



More information about the llvm-dev mailing list