aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-12-09 16:38:19 -0800
committerAdrian Prantl <aprantl@apple.com>2019-12-10 15:53:40 -0800
commit62a6d9770450f93a2dcdf04710a73341af2f54fa (patch)
tree6f0b5fff1b91d2f203db94cf1bd5dd0606e54906 /llvm/lib/Transforms/Utils/Local.cpp
parent44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3 (diff)
downloadllvm-62a6d9770450f93a2dcdf04710a73341af2f54fa.zip
llvm-62a6d9770450f93a2dcdf04710a73341af2f54fa.tar.gz
llvm-62a6d9770450f93a2dcdf04710a73341af2f54fa.tar.bz2
Do not cache hardcoded formats in FormatManager
The cache in FormatCache uses only a type name as key. The hardcoded formats, synthetic children, etc inspect an entire ValueObject to determine their eligibility, which isn't modelled in the cache. This leads to bugs such as the one in this patch (where two similarly named types in different files have different hardcoded summary providers). The problem is exaggerated in the Swift language plugin due to the language's dynamic nature. rdar://problem/57756763 Differential Revision: https://reviews.llvm.org/D71233
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions