[all-commits] [llvm/llvm-project] e6ff55: [clang-extdef-mapping] Directly process .ast files
Tobias Hieta via All-commits
all-commits at lists.llvm.org
Tue Jul 5 04:46:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6ff553979e850eeb7f0bbe77deab1c88fc764b3
https://github.com/llvm/llvm-project/commit/e6ff553979e850eeb7f0bbe77deab1c88fc764b3
Author: Tobias Hieta <tobias at hieta.se>
Date: 2022-07-05 (Tue, 05 Jul 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Analysis/func-mapping-test.cpp
M clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
Log Message:
-----------
[clang-extdef-mapping] Directly process .ast files
When doing CTU analysis setup you pre-compile .cpp to .ast and then
you run clang-extdef-mapping on the .cpp file as well. This is a
pretty slow process since we have to recompile the file each time.
With this patch you can now run clang-extdef-mapping directly on
the .ast file. That saves a lot of time.
I tried this on llvm/lib/AsmParser/Parser.cpp and running
extdef-mapping on the .cpp file took 5.4s on my machine.
While running it on the .ast file it took 2s.
This can save a lot of time for the setup phase of CTU analysis.
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D128704
More information about the All-commits
mailing list