[PATCH] D92806: Single function compilation mode.

2021-01-07 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks added a comment. WDYT about adding optnone to all functions except the ones you're interested in? Would that cut down the compile times? We could reuse ForceFunctionAttrsPass rather than adding so much plumbing. This is too much plumbing for my liking. And since this is a debug thing,

[PATCH] D92806: Single function compilation mode.

2020-12-21 Thread Hongtao Yu via Phabricator via cfe-commits
hoy updated this revision to Diff 313221. hoy added a comment. Herald added subscribers: cfe-commits, dexonsmith, dang, steven_wu, MaskRay, arichardson, emaste. Herald added a reviewer: espindola. Herald added a reviewer: MaskRay. Herald added a project: clang. Adding LTO, linker and clang