diff options
| author | Ilya Biryukov <ibiryukov@google.com> | 2018-08-28 16:15:56 +0000 |
|---|---|---|
| committer | Ilya Biryukov <ibiryukov@google.com> | 2018-08-28 16:15:56 +0000 |
| commit | 5167e2d1afc5a6c89cbbfea4243864b58a8ce37a (patch) | |
| tree | a6142d04b9abae6f18539759857f3c561ce0246b /llvm/lib | |
| parent | 6a92b5e1e2a608cfb726bdcd5b043aee2cc350c5 (diff) | |
| download | bcm5719-llvm-5167e2d1afc5a6c89cbbfea4243864b58a8ce37a.tar.gz bcm5719-llvm-5167e2d1afc5a6c89cbbfea4243864b58a8ce37a.zip | |
Parse compile commands lazily in InterpolatingCompilationDatabase
Summary:
This greatly reduces the time to read 'compile_commands.json'.
For Chromium on my machine it's now 0.7 seconds vs 30 seconds before the
change.
Reviewers: sammccall, jfb
Reviewed By: sammccall
Subscribers: mgrang, jfb, cfe-commits
Differential Revision: https://reviews.llvm.org/D51314
llvm-svn: 340838
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

