Displaying 2 results from an estimated 2 matches for "cfa6b499".
2015 May 28
0
[LLVMdev] Generate .debug_info for asm files?
On Thu, May 28, 2015 at 4:36 PM, Alex <alexinbeijing at gmail.com> wrote:
> Dear LLVM devs,
>
> I've noticed that LLVM's assembler (and hence clang) doesn't generate
> debug data when assembling, even when run with "-g".
>
Sorry, let me correct that: the assembler does generate the .debug_info
section (as well as line number data) when run with
2015 May 28
4
[LLVMdev] Generate .debug_info for asm files?
Dear LLVM devs,
I've noticed that LLVM's assembler (and hence clang) doesn't generate debug
data when assembling, even when run with "-g".
Users can add their own CFI/line number data with assembler directives. But
GDB ignores the line number data if you don't have a DIE in the .debug_info
section which identifies the compilation unit. (I'm not an expert on GDB,
but