[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
Renato Golin
rengolin at systemcall.org
Mon May 2 15:10:39 PDT 2011
On 2 May 2011 22:39, Devang Patel <dpatel at apple.com> wrote:
> You need line number information to map source code to instructions. Otherwise, you'll have a function and variable info in debug info but a debugger won't know which instructions belong to given function and what's the range of a variable.
That can be worked out from the debug_info and debug_loc without
requiring debug_line info. (not the instruction vs. function, but all
the rest).
Not that debuggers do know that, and not that it would be useful for
debugging... But I don't see a strong point to intentionally omit
them.
Just a thought...
cheers,
--renato
More information about the llvm-dev
mailing list