[LLVMdev] clang doesn't set code column in debug info records
yaron.keren at gmail.com
Sat Jan 25 01:19:48 PST 2014
You need to set
clang::CodeGenOptions.DebugColumnInfo = 1;
it's not enabled by default.
2014-01-25 Yuri <yuri at rawbw.com>
> This is maybe a minor issue, but it is obvious when one looks at debug
> info produced by clang. Such records are normally created by the code like
> Instruction->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
> and it appears that Column is always zero.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev