Okay, submitted this as r169138. I find subprogram DIEs usable for at least two reasons: 1) they can be used to speedup lookup in line table. I.e. we can use address ranges stored in subprogram DIEs to build an [address range] -> [compile unit] -> [line table] mapping. The better way to do this is to emit .debug_aranges section, but Clang doesn't do it. Even better way is to forget about .debug_aranges section completely, and emit all the address ranges for compile unit _directly in the compile unit DIE_. 2) I don't see how we can unwrap inlining info w/o DIEs.
http://llvm-reviews.chandlerc.com/D151 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
