24 lines · cpp
1//===--- CIRGenPointerAuth.cpp - CIR generation for ptr auth --------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file contains common routines relating to the emission of10// pointer authentication operations.11//12//===----------------------------------------------------------------------===//13 14#include "CIRGenFunction.h"15 16using namespace clang;17using namespace clang::CIRGen;18 19Address CIRGenFunction::getAsNaturalAddressOf(Address addr,20 QualType pointeeTy) {21 assert(!cir::MissingFeatures::pointerAuthentication());22 return addr;23}24