[PATCH] D70340: Add a key method to Sema to optimize debug info size
Hans Wennborg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 01:32:22 PST 2019
hans added a comment.
Nice!
Silly questions, but for my own education: I thought the key function concept only existed in the Itanium ABI, but from your numbers it sounds like it's a concept, at least for debug info, also on Windows?
================
Comment at: clang/include/clang/Sema/Sema.h:335
+ /// A key method to reduce duplicate type info from Sema.
+ virtual void anchor();
----------------
I worry that this is going to look obscure to most readers passing through. Maybe it could be expanded to more explicitly spell out that it reduces the size of the debug info?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70340/new/
https://reviews.llvm.org/D70340
More information about the cfe-commits
mailing list