[PATCH] D94639: [DebugInfo][CodeView] Change in line tables only mode to emit parent/context scopes for functions, using declarations for types

2021-07-31 Thread Sergey Makarov via Phabricator via cfe-commits
SeTSeR added a comment. In D94639#2917445 , @rnk wrote: > In D94639#2917340 , @SeTSeR wrote: > >> Hello! As far as I understand, Clang does not preserve info about namespace >> for functions declared in namespaces

[PATCH] D94639: [DebugInfo][CodeView] Change in line tables only mode to emit parent/context scopes for functions, using declarations for types

2021-07-30 Thread Sergey Makarov via Phabricator via cfe-commits
SeTSeR added a comment. Hello! As far as I understand, Clang does not preserve info about namespace for functions declared in namespaces with `-gline-numbers-only` flag. Is there any way to retrieve this info for DWARF? I thought FIXME at line 261 in CGDebugInfo was addressing exactly this issu