Home
last modified time | relevance | path

Searched refs:memtag (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp335 const MapVector<AllocaInst *, memtag::AllocaInfo> &Allocas,
464 const MapVector<AllocaInst *, memtag::AllocaInfo> &AllocasToInstrument, in insertBaseTaggedPointer()
469 const memtag::AllocaInfo &Info = I.second; in insertBaseTaggedPointer()
497 Value *SlotPtr = memtag::getAndroidSlotPtr(IRB, StackMteSlot); in insertBaseTaggedPointer()
499 Value *FP = memtag::getFP(IRB); in insertBaseTaggedPointer()
502 Value *PC = memtag::getPC(TargetTriple, IRB); in insertBaseTaggedPointer()
535 memtag::StackInfoBuilder SIB(SSI); in runOnFunction()
538 memtag::StackInfo &SInfo = SIB.get(); in runOnFunction()
580 memtag::AllocaInfo &Info = I.second; in runOnFunction()
582 memtag::alignAndPadAlloca(Info, kTagGranuleSize); in runOnFunction()
[all …]
H A DAArch64FMV.td26 // Name, as spelled in target_version or target_clones. e.g. "memtag".
65 def : FMVExtension<"memtag", "FEAT_MEMTAG", "", 440>;
H A DAArch64Features.td271 // NOTE: "memtag" means FEAT_MTE + FEAT_MTE2 for -march or
273 let UserVisibleName = "memtag" in
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DMemoryTaggingSupport.h30 namespace memtag {
81 void alignAndPadAlloca(memtag::AllocaInfo &Info, llvm::Align Align);
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def59 SANITIZER("memtag-stack", MemtagStack)
60 SANITIZER("memtag-heap", MemtagHeap)
61 SANITIZER("memtag-globals", MemtagGlobals)
62 SANITIZER_GROUP("memtag", MemTag, MemtagStack | MemtagHeap | MemtagGlobals)
H A DDiagnosticDriverKinds.td577 "'-fsanitize=memtag-stack' requires hardware support (+memtag). For Armv8 or "
578 "Armv9, try compiling with -march=armv8a+memtag or -march=armv9a+memtag">;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp28 namespace memtag { namespace
188 memtag::getAllocaSizeInBytes(AI) > 0 && in isInterestingAlloca()
206 void alignAndPadAlloca(memtag::AllocaInfo &Info, llvm::Align Alignment) { in alignAndPadAlloca()
262 return memtag::readRegister(IRB, "pc"); in getPC()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp356 bool instrumentStack(memtag::StackInfo &Info, Value *StackTag, Value *UARTag,
1275 return memtag::getAndroidSlotPtr(IRB, SanitizerSlot); in getHwasanThreadSlotPtr()
1281 CachedFP = memtag::getFP(IRB); in getCachedFP()
1287 Value *PC = memtag::getPC(TargetTriple, IRB); in getFrameRecordInfo()
1407 {memtag::readRegister( in instrumentLandingPads()
1413 bool HWAddressSanitizer::instrumentStack(memtag::StackInfo &SInfo, in instrumentStack()
1428 memtag::AllocaInfo &Info = KV.second; in instrumentStack()
1440 size_t Size = memtag::getAllocaSizeInBytes(*AI); in instrumentStack()
1465 !memtag::isLifetimeIntrinsic(User); in instrumentStack()
1468 memtag::annotateDebugRecords(Info, retagMask(N)); in instrumentStack()
[all …]
/freebsd/contrib/arm-optimized-routines/
H A Dconfig.mk.dist37 #CFLAGS += -march=armv8.5-a+memtag -DWANT_MTE_TEST=1
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DOpts.td61 def memtag : FF<"memtag", "Display memory tagging metadata (modes, Android notes, global descriptor…
/freebsd/contrib/file/src/
H A Dreadelf.c762 static const char *memtag[] = { in do_memtag_note() local
780 for (i = 0; i < __arraycount(memtag); i++) { in do_memtag_note()
784 memtag[i]) == -1) in do_memtag_note()
/freebsd/contrib/llvm-project/lld/ELF/
H A DOptions.td800 // Hidden options, used by clang's -fsanitize=memtag-* options to emit an ELF
805 defm android_memtag_stack: BB<"android-memtag-stack",
807 defm android_memtag_heap: BB<"android-memtag-heap",
809 defm android_memtag_mode: EEq<"android-memtag-mode",
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td2394 def fsanitize_memtag_mode_EQ : Joined<["-"], "fsanitize-memtag-mode=">,