diff options
author | Paul Kirth <paulkirth@google.com> | 2023-06-28 23:50:27 +0000 |
---|---|---|
committer | Paul Kirth <paulkirth@google.com> | 2023-07-12 15:40:31 +0000 |
commit | e8e499f5f9c4c28c367577c54a1999fac824a727 (patch) | |
tree | f670164331a004e00ce37764893e2bdbacdf7be4 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 33e60484d750291e99301e29e60fe72c8fa48ccd (diff) | |
download | llvm-e8e499f5f9c4c28c367577c54a1999fac824a727.zip llvm-e8e499f5f9c4c28c367577c54a1999fac824a727.tar.gz llvm-e8e499f5f9c4c28c367577c54a1999fac824a727.tar.bz2 |
[IR] Ignore globals with the `llvm.` prefix when calculating module hash
This came up in This came up in
https://reviews.llvm.org/D146776#inline-1489091 and is slightly related
to https://reviews.llvm.org/D153855. In both patches, there is the
observation that some modifications of the module should not invalidate
analysis, such as when adding a declaration or some metadata the won't
be used when compiling the current module.
This patch implements the suggestion that we should ignore globals that have
the `llvm.` prefix when calculating the module hash.
Fixes https://github.com/llvm/llvm-project/issues/63590
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D154019
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions