Page MenuHomePhabricator

Debug Info: Mark os_log helper functions as artificial

Authored by aprantl on Fri, May 22, 5:36 PM.



The os_log helper functions are linkonce_odr and supposed to be uniqued across TUs, so attachine a DW_AT_decl_line on it is highly misleading. By setting the function decl to implicit, CGDebugInfo properly marks the functions as artificial and uses a default file / line 0 location for the function.


Diff Detail

Event Timeline

aprantl created this revision.Fri, May 22, 5:36 PM
aprantl edited the summary of this revision. (Show Details)Fri, May 22, 5:36 PM
vsk accepted this revision.Fri, May 22, 6:16 PM

Thanks, lgtm!

This revision is now accepted and ready to land.Fri, May 22, 6:16 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptTue, May 26, 9:12 AM