Debug Info Question

Hi,

I want to emit the debug information in assembly through assembler directives. Also I don’t want to emit debug information in sections (like Dwarf). Instead the debug information will be interspersed with the assembly. However in LLVM, debug info (e.g. stoppoint) is read and made part of the DAG only when DwarfWriter is registered.

How can I emit the debug information in assembly with out using DwarfWriter?

Regards

Sachin

Hi,

I want to emit the debug information in assembly through assembler directives. Also I don’t want to emit debug information in sections (like Dwarf). Instead the debug information will be interspersed with the assembly. However in LLVM, debug info (e.g. stoppoint) is read and made part of the DAG only when DwarfWriter is registered.

How can I emit the debug information in assembly with out using DwarfWriter?

This is currently not possible. Unfortunately DW is being used to keep dwarf states. We’ll address this sometime, hopefully soon.

Evan