Run clang-extdef-mapping on the .ast files instead of the source
I just wanted to give you guys a heads up that I just landed: https://reviews.llvm.org/D128704 which makes it possible to run clang-extdef-mapping on the ast files directly instead of having to re-parse the source.
This gives a nice 3x speed-up on our codebase. You can see the numbers in the review above.
This will be included in clang 15.x - but you can detect if it's possible by parsing clang-extdef-mapping --help and it will mention ast files there when my patch is running.
This is a great addition. Thanks! We will add this support for this in CodeChecker.
On Tue, Jul 5, 2022 at 1:49 PM Tobias Hieta @.***> wrote:
I just wanted to give you guys a heads up that I just landed: https://reviews.llvm.org/D128704 which makes it possible to run clang-extdef-mapping on the ast files directly instead of having to re-parse the source.
This gives a nice 3x speed-up on our codebase. You can see the numbers in the review above.
This will be included in clang 15.x - but you can detect if it's possible by parsing clang-extdef-mapping --help and it will mention ast files there when my patch is running.
— Reply to this email directly, view it on GitHub https://github.com/Ericsson/codechecker/issues/3703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5IV2MC542YMF75ILE3GVLVSQONPANCNFSM52V6B2AQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
https://github.com/Ericsson/codechecker/pull/3707