diff options
author | Reid Kleckner <rnk@google.com> | 2018-05-17 20:47:22 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-05-17 20:47:22 +0000 |
commit | f40f85868e690eefc3bb65f030e5f7890d349794 (patch) | |
tree | bb04d9404c9065f113511b0ff14b273595c3e2e8 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 0d8fa1b6fda2acf85f01ec550781ccd70a547967 (diff) | |
download | bcm5719-llvm-f40f85868e690eefc3bb65f030e5f7890d349794.tar.gz bcm5719-llvm-f40f85868e690eefc3bb65f030e5f7890d349794.zip |
[codeview] Include record prefix in global type hashing
The prefix includes type kind, which is important to preserve. Two
different type leafs can easily have the same interior record contents
as another type.
We ran into this issue in PR37492 where a bitfield type record collided
with a const modifier record. Their contents were bitwise identical, but
their kinds were different.
llvm-svn: 332664
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions