Home
last modified time | relevance | path

Searched refs:Prot (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DTargetProcessControlTypes.h36 RemoteAllocGroup(MemProt Prot) : Prot(Prot) {} in RemoteAllocGroup()
37 RemoteAllocGroup(MemProt Prot, bool FinalizeLifetime) in RemoteAllocGroup()
38 : Prot(Prot), FinalizeLifetime(FinalizeLifetime) {} in RemoteAllocGroup()
39 RemoteAllocGroup(const AllocGroup &AG) : Prot(AG.getMemProt()) { in RemoteAllocGroup()
45 MemProt Prot; member
167 if ((RAG.Prot & MemProt::Read) != MemProt::None) in deserialize()
169 if ((RAG.Prot in deserialize()
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport_linux.cpp44 void NORETURN reportProtectError(uptr Addr, uptr Size, int Prot) { in reportProtectError() argument
49 strerror(errno), Addr, Size, Prot); in reportProtectError()
H A Dlinux.cpp90 int Prot = (Flags & MAP_NOACCESS) ? PROT_NONE : (PROT_READ | PROT_WRITE);
91 if (mprotect(reinterpret_cast<void *>(Addr), Size, Prot) != 0) in releasePagesToOS()
92 reportProtectError(Addr, Size, Prot); in releasePagesToOS()
86 int Prot = (Flags & MAP_NOACCESS) ? PROT_NONE : (PROT_READ | PROT_WRITE); setMemoryPermission() local
H A Dfuchsia.cpp169 const zx_vm_option_t Prot = in setMemoryPermission() local
173 const zx_status_t Status = _zx_vmar_protect(Data->Vmar, Prot, Addr, Size); in setMemoryPermission()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp158 if ((Segment.RAG.Prot & MemProt::Read) == MemProt::Read) in initialize()
160 if ((Segment.RAG.Prot & MemProt::Write) == MemProt::Write) in initialize()
162 if ((Segment.RAG.Prot & MemProt::Exec) == MemProt::Exec) in initialize()
171 DWORD NativeProt = getWindowsProtectionFlags(Segment.RAG.Prot); in initialize()
179 if ((Segment.RAG.Prot & MemProt::Exec) == MemProt::Exec) in initialize()
H A DSimpleExecutorMemoryManager.cpp135 toSysMemoryProtectionFlags(Seg.RAG.Prot))) in finalize()
137 if ((Seg.RAG.Prot & MemProt::Exec) == MemProt::Exec) in finalize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMmapWriteExecChecker.cpp56 int64_t Prot = ProtLoc->getValue().getSExtValue(); in checkPreCall() local
66 if ((Prot & (ProtWrite | ProtExec)) == (ProtWrite | ProtExec)) { in checkPreCall()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp152 orc::MemProt Prot = orc::MemProt::Read; in graphifySections()
154 Prot |= orc::MemProt::Exec; in graphifySections()
156 Prot |= orc::MemProt::Read; in graphifySections()
158 Prot |= orc::MemProt::Write; in graphifySections()
163 GraphSec = &G->createSection(SectionName, Prot); in graphifySections()
167 if (GraphSec->getMemProt() != Prot) in graphifySections()
151 orc::MemProt Prot = orc::MemProt::Read; graphifySections() local
H A DELFLinkGraphBuilder.h357 orc::MemProt Prot = orc::MemProt::Read; in graphifySections() local
359 Prot |= orc::MemProt::Exec; in graphifySections()
361 Prot |= orc::MemProt::Write; in graphifySections()
366 GraphSec = &G->createSection(*Name, Prot); in graphifySections()
377 if (GraphSec->getMemProt() != Prot) { in graphifySections()
382 << GraphSec->getMemProt() << " vs " << Prot; in graphifySections()
H A DJITLinkMemoryManager.cpp307 auto Prot = toSysMemoryProtectionFlags(AG.getMemProt()); in applyProtections() local
312 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in applyProtections()
314 if (Prot & sys::Memory::MF_EXEC) in applyProtections()
H A DMachOLinkGraphBuilder.cpp183 orc::MemProt Prot; in createNormalizedSections()
185 Prot = orc::MemProt::Read | orc::MemProt::Exec; in createNormalizedSections()
187 Prot = orc::MemProt::Read | orc::MemProt::Write; in createNormalizedSections()
192 StringRef(FullyQualifiedName.data(), FullyQualifiedName.size()), Prot); in createNormalizedSections()
182 orc::MemProt Prot; createNormalizedSections() local
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h696 Section(StringRef Name, orc::MemProt Prot, SectionOrdinal SecOrdinal) in Section() argument
697 : Name(Name), Prot(Prot), SecOrdinal(SecOrdinal) {} in Section()
721 orc::MemProt getMemProt() const { return Prot; } in getMemProt()
724 void setMemProt(orc::MemProt Prot) { this->Prot = Prot; } in setMemProt() argument
797 orc::MemProt Prot; variable
1106 Section &createSection(StringRef Name, orc::MemProt Prot) { in createSection() argument
1108 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size())); in createSection()
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp333 std::string Prot; in getMask() local
334 Prot = ""; in getMask()
335 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-"; in getMask()
336 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-"; in getMask()
337 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-"; in getMask()
338 return Prot; in getMask()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp927 for (auto *Prot : OIT->getProtocols()) in VisitType() local
928 VisitObjCProtocolDecl(Prot); in VisitType()
1165 void clang::index::generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS, in generateUSRForObjCProtocol() argument
1169 OS << "objc(pl)" << Prot; in generateUSRForObjCProtocol()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp898 uint32_t Prot = in writeObject() local
901 SectionDataSize, Prot, Prot); in writeObject()
/freebsd/usr.sbin/services_mkdb/
H A Dservices1573 pdap-np 1526/tcp #Prospero Data Access Prot non-priv
1574 pdap-np 1526/udp #Prospero Data Access Prot non-priv