[PATCH] D94976: [DWARF] Create subprogram's DIE in the unit specified by its DISubprogram
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 15:48:12 PST 2021
dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.
Looks no worse than before at least.
Seems GCC doesn't include any scope information in the type units for function-local types. (though for namespace-scoped types GCC does include the namespaces in the type unit - but if the type is local to a namespace scoped function, none of the scoping is included in the type unit... ) - so might be worth changing our behavior to match tehre too (because the current behavior of a subprogram with no name, etc, isn't really useful - doesn't seem to get in gdb's way, but doesn't add any value either )
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94976/new/
https://reviews.llvm.org/D94976
More information about the llvm-commits
mailing list