diff options
| author | serge-sans-paille <sguelton@redhat.com> | 2020-05-28 12:40:17 +0200 |
|---|---|---|
| committer | serge-sans-paille <sguelton@redhat.com> | 2020-07-08 17:36:13 +0200 |
| commit | 37afd99c768b29c7df7c5f2eb645362fb61f9915 (patch) | |
| tree | 4de3ecb00aed7e3b892a2a57a28a3f499837dcc3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | a15d798594ae340b037efec2cdba5ec77221e7e7 (diff) | |
Double check that passes correctly set their Modified status
The approach is simple: if a pass reports that it's not modifying a
Function/Module, compute a loose hash of that Function/Module and compare it
with the original one. If we report no change but there's a hash change, then we
have an error.
This approach misses a lot of change but it's not super intrusive and can
detect most of the simple mistakes.
Differential Revision: https://reviews.llvm.org/D80916
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
