diff options
author | Nikita Popov <npopov@redhat.com> | 2025-10-06 16:18:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-06 16:18:12 +0200 |
commit | f31bc666f42bb6bf0a3312a1d2ec230c390e8171 (patch) | |
tree | 21a429f306cc3beca0745c398a7f26f02e736246 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c6a4e84a10ae8b163c9cae3f9a49eb8077a499ff (diff) | |
download | llvm-f31bc666f42bb6bf0a3312a1d2ec230c390e8171.zip llvm-f31bc666f42bb6bf0a3312a1d2ec230c390e8171.tar.gz llvm-f31bc666f42bb6bf0a3312a1d2ec230c390e8171.tar.bz2 |
[IR] Handle addrspacecast in findBaseObject() (#162076)
Make findBaseObject() look through addrspacecast, so that
getAliaseeObject() works with an aliasee that uses and addrspacecast.
This fixes a crash during module summary index emission.
Fixes https://github.com/llvm/llvm-project/issues/161646.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions