diff options
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2021-09-15 14:21:50 -0400 |
---|---|---|
committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2021-09-16 10:57:31 -0400 |
commit | abe8b354e37d8d6a163a6402d8e68ddcfc462dfc (patch) | |
tree | 98812df034684894d63cab8d1b7546dace464ee2 /llvm/lib/TextAPI/TextStub.cpp | |
parent | ea79b77da3eeba926e16c3dd8a4f6626c139e185 (diff) | |
download | llvm-abe8b354e37d8d6a163a6402d8e68ddcfc462dfc.zip llvm-abe8b354e37d8d6a163a6402d8e68ddcfc462dfc.tar.gz llvm-abe8b354e37d8d6a163a6402d8e68ddcfc462dfc.tar.bz2 |
Fix vtbl field addr space
Storing the vtable field of an object should use the same address space as
the this pointer. Currently it is assumed to be addr space 0 but this may not
be true.
This assumption (added in 054cc3b1b469de4b0cb25d1dc3af43c679c5dc44) caused
issues for the out-of-tree CHERI targets.
Reviewed by: John McCall, Alexander Richardson
Differential Revision: https://reviews.llvm.org/D109841
Diffstat (limited to 'llvm/lib/TextAPI/TextStub.cpp')
0 files changed, 0 insertions, 0 deletions