[PATCH] D152017: [DebugInfo] Add flag to only emit referenced member functions
Paul Robinson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 5 12:35:56 PDT 2023
probinson added a comment.
I experimented with this. Looks like it emits info only for //defined// methods, and not //used// methods. That is, if you change the test to say
`void t1::f1() { f2(); }`
you get DWARF for f1 but not f2. The way Sony does it, you get DWARF for f1 and f2.
(Neither case sees info for f3, which is declared but not defined or used.)
Is that what you intended?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152017/new/
https://reviews.llvm.org/D152017
More information about the cfe-commits
mailing list