[LLVMdev] llvm debug information

Wei Jiang wjiang at cs.ucla.edu
Tue Sep 12 12:07:38 PDT 2006


hi, 
    According to the llvm docs, llvm will generate global variable information such as 
      llvm.dbg.global_variable.type
    which contains the line number and original name of global variables. But I tried on llvm-1.8 with -g, no such debug intrinsic functions are dumped, I only see some stoppoint, func.start. Are there any secrete options I should pass to llvm-gcc?  
    Thanks. 
-Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060912/5cabd5d2/attachment.html>


More information about the llvm-dev mailing list