[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-21 Thread Di Mo via Phabricator via cfe-commits
modimo updated this revision to Diff 533326. modimo added a comment. Address feedback. Allow empty string to unset the flag Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152741/new/ https://reviews.llvm.org/D152741 Files: clang/include/clang/Bas

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-21 Thread Di Mo via Phabricator via cfe-commits
modimo added a comment. In D152741#4438007 , @tejohnson wrote: > Ok what I missed is that you don't want to apply this to entire TUs, but > rather just some paths that are header files, which may be included in many > source files. So in your above exam

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-21 Thread Teresa Johnson via Phabricator via cfe-commits
tejohnson added a comment. In D152741#4422462 , @modimo wrote: > In D152741#4421067 , @tejohnson > wrote: > >> In D152741#4419366 , @modimo wrote: >> >>> In D152741#44193

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-20 Thread Di Mo via Phabricator via cfe-commits
modimo updated this revision to Diff 533048. modimo added a comment. Remove leftover code from original implementation Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152741/new/ https://reviews.llvm.org/D152741 Files: clang/include/clang/Basic/Co

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-14 Thread Di Mo via Phabricator via cfe-commits
modimo added a comment. In D152741#4421067 , @tejohnson wrote: > In D152741#4419366 , @modimo wrote: > >> In D152741#4419324 , @tejohnson >> wrote: >> >>> In D152741#4419

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-14 Thread Teresa Johnson via Phabricator via cfe-commits
tejohnson added a comment. In D152741#4419366 , @modimo wrote: > In D152741#4419324 , @tejohnson > wrote: > >> In D152741#4419265 , @modimo wrote: >> >>> In D152741#44188

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-13 Thread Di Mo via Phabricator via cfe-commits
modimo updated this revision to Diff 531151. modimo added a comment. Remove unrelated change, fix typo Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152741/new/ https://reviews.llvm.org/D152741 Files: clang/include/clang/Basic/CodeGenOptions.h

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-13 Thread Di Mo via Phabricator via cfe-commits
modimo updated this revision to Diff 531149. modimo added a comment. Herald added subscribers: llvm-commits, ormris, steven_wu, hiraditya. Herald added a project: LLVM. Implement using VCallVisibilityUnknown Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-13 Thread Di Mo via Phabricator via cfe-commits
modimo added a comment. In D152741#4419324 , @tejohnson wrote: > In D152741#4419265 , @modimo wrote: > >> In D152741#4418831 , @tejohnson >> wrote: >> >>> I think I under

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-13 Thread Teresa Johnson via Phabricator via cfe-commits
tejohnson added a comment. In D152741#4419265 , @modimo wrote: > In D152741#4418831 , @tejohnson > wrote: > >> I think I understand the motivation, but not sure I agree this is the right >> approach - can you si

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-13 Thread Di Mo via Phabricator via cfe-commits
modimo added a comment. In D152741#4418831 , @tejohnson wrote: > I think I understand the motivation, but not sure I agree this is the right > approach - can you simply not pass -flto-unit and -fwhole-program-vtables for > these files? For our third-pa

[PATCH] D152741: [WPD] implement -fskip-vtable-filepaths

2023-06-13 Thread Teresa Johnson via Phabricator via cfe-commits
tejohnson added a comment. I think I understand the motivation, but not sure I agree this is the right approach - can you simply not pass -flto-unit and -fwhole-program-vtables for these files? Also, isn't this hiding possibly necessary info from WPD that might be needed for correct class hier