[PATCH] D11003: Tolerate DWARF compile unit without filename.

David Srbecký dsrbecky at gmail.com
Tue Jul 7 15:31:38 PDT 2015


Thank you for the answer.  If you pardon my ignorance... what is the purpose of *primary* source file?  How does it differ from the other files?  I do not imagine that the entries in the line table care whether the source is primary.  I imagine DW_AT_decl_file and similar do not care either.  I guess there is a good reason, I just can not think of it.

Likewise, is there any reason for the directory entries other then saving of space? (so in the hypothetical collapsing filenames could be stored as absolute paths without any directory entries in the cu or line table)


http://reviews.llvm.org/D11003







More information about the llvm-commits mailing list