[PATCH] clang does not emit DW_TAG_enumerator and DW_TAG_enumeration_type for unnamed enum types

jyoti allur jyoti.yalamanchili at gmail.com
Fri Nov 29 07:01:56 PST 2013


  Hi David,
  Yes, unfortunately this patch emits all enumerations, even those that are not referenced. Currently DeferredDecls in CodeGenModule class seem to add only named decls. We could limit this debug info for  DW_TAG_enumerator and DW_TAG_enumeration_type for unnamed decls for FullDebugInfo mode only ?

  Thanks.

http://llvm-reviews.chandlerc.com/D2286



More information about the cfe-commits mailing list