[cfe-commits] [PATCH] Fix PR14474.

Alexey Samsonov samsonov at google.com
Mon Dec 3 10:36:27 PST 2012


  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



More information about the cfe-commits mailing list