diff options
author | Teresa Johnson <tejohnson@google.com> | 2020-11-17 14:44:25 -0800 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2020-11-24 12:06:24 -0800 |
commit | 0768b0576a938b6a4832884384fcb02cd2f74e09 (patch) | |
tree | 223bcf409327cdc7550c7b45f34d178225c55c51 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c24708102501115efae27f82c24d5991059a5770 (diff) | |
download | llvm-0768b0576a938b6a4832884384fcb02cd2f74e09.zip llvm-0768b0576a938b6a4832884384fcb02cd2f74e09.tar.gz llvm-0768b0576a938b6a4832884384fcb02cd2f74e09.tar.bz2 |
Avoid redundant work when computing vtable vcall visibility
Add a Visited set to avoid repeatedly processing the same base classes
in complex class hierarchies. This cut down the compile time of one
source file from >12min to ~1min.
Differential Revision: https://reviews.llvm.org/D91676
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions