[flang-commits] [flang] Reduce memory consumption when compiling flang (PR #124919)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Wed Jan 29 10:09:43 PST 2025
kparzysz wrote:
The way it was generated was a combination of
1. Annotating clang to print class and function instantiations (with extra info).
2. Capturing the dump from compiling OpenMP.cpp.
3. Filtering out everything from the dumps except the instantiations' pretty names, e.g. `void foo<T>() [T=Fortran::evaluate::Something]`.
4. Using a python script to plug the T from the list in [] into the template name, then print the resulting string.
Essentially this is a list of things that actually got instantiated. There are some patterns in the output, and 99% of it could be auto-generated, but I don't have any scripts to do that.
https://github.com/llvm/llvm-project/pull/124919
More information about the flang-commits
mailing list