gimli-rs / gimli

A library for reading and writing the DWARF debugging format

Home Page:https://docs.rs/gimli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add EhFrame to gimli::write::Sections

bjorn3 opened this issue · comments

Will you still want this when you support emitting .eh_frame with debuginfo disabled?

Yes, the section creation code in cg_clif simply skips empty debuginfo sections, so by never calling Dwarf::write, the .debug_* sections are never created, only .eh_frame.