aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2024-03-26 07:37:57 -0700
committerGitHub <noreply@github.com>2024-03-26 07:37:57 -0700
commitb3117564508ce53b3af408bf2b8ab643a6030bc4 (patch)
treec9e144169684f14d8684ea3298f50ddd4f8b91d5 /clang/lib/CodeGen/CodeGenModule.cpp
parent2e38c50e5c53d66d4968fbd47b78e71a220a28ca (diff)
downloadllvm-b3117564508ce53b3af408bf2b8ab643a6030bc4.zip
llvm-b3117564508ce53b3af408bf2b8ab643a6030bc4.tar.gz
llvm-b3117564508ce53b3af408bf2b8ab643a6030bc4.tar.bz2
Revert "[CodeGen][arm64e] Add methods and data members to Address, which are needed to authenticate signed pointers (#67454)" (#86674)
This reverts commit 8bd1f9116aab879183f34707e6d21c7051d083b6. It appears that the commit broke msan 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 3997da1..bc7d7ac 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(