[LLVMdev] Source Code Location of an Instruction

Jingyue Wu jingyue at cs.columbia.edu
Sat Feb 13 07:22:36 PST 2010


Hi,

I would like to know how to locate an LLVM instruction in the source
code, i.e. to get the line number of its corresponding source code
statement. I remember in LLVM 2.4, DbgStopPointInst is designed to
help this locating, but it seems deprecated in the latest LLVM.

Thanks,
Jingyue

-- 
Jingyue Wu
Department of Computer Science
Columbia University
New York, NY 10027



More information about the llvm-dev mailing list