aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2024-03-27 18:14:04 -0700
committerGitHub <noreply@github.com>2024-03-27 18:14:04 -0700
commitf75eebab887903567906d22e790a3be20a2a6438 (patch)
treef3f2db821ec8c8ea45cac0837a80a7c9d4c76b52 /clang/lib/CodeGen/CodeGenModule.cpp
parentcc98ffb6dc6ca3e68fd939558eb8c4ddb1cc03de (diff)
downloadllvm-f75eebab887903567906d22e790a3be20a2a6438.zip
llvm-f75eebab887903567906d22e790a3be20a2a6438.tar.gz
llvm-f75eebab887903567906d22e790a3be20a2a6438.tar.bz2
Revert "[CodeGen][arm64e] Add methods and data members to Address, which are needed to authenticate signed pointers (#86721)" (#86898)
This reverts commit d9a685a9dd589486e882b722e513ee7b8c84870c. The commit broke ubsan bots.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 00b3bfc..e3ed5e9 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -7267,7 +7267,7 @@ void CodeGenFunction::EmitDeclMetadata() {
for (auto &I : LocalDeclMap) {
const Decl *D = I.first;
- llvm::Value *Addr = I.second.emitRawPointer(*this);
+ llvm::Value *Addr = I.second.getPointer();
if (auto *Alloca = dyn_cast<llvm::AllocaInst>(Addr)) {
llvm::Value *DAddr = GetPointerConstant(getLLVMContext(), D);
Alloca->setMetadata(