Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dunguarded-availability-category-protocol-use.m4 @protocol Prot // expected-note {{here}} protocol
12 @interface A (Cat) <Prot> // No error.
17 @interface B (Cat) <Prot> // expected-error {{'Prot' is unavailable: not available on iOS}}
H A Dproperty-assign-on-object-type.m4 @protocol Prot @end protocol
11 @property(assign) Class<Prot> classWithProtocolProperty;
/llvm-project-15.0.7/clang/test/Index/
H A Dindex-refs.m4 @protocol Prot protocol
12 Protocol *p = @protocol(Prot);
27 // CHECK: [indexEntityReference]: kind: objc-protocol | name: Prot | {{.*}} | loc: 12:27
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DTargetProcessControlTypes.h74 WireProtectionFlags Prot; member
86 WireProtectionFlags Prot; member
192 return SFRAL::size(SFR.Prot, SFR.Addr, SFR.Size, SFR.Content); in size()
197 return SFRAL::serialize(OB, SFR.Prot, SFR.Addr, SFR.Size, SFR.Content); in serialize()
202 return SFRAL::deserialize(IB, SFR.Prot, SFR.Addr, SFR.Size, SFR.Content); in deserialize()
232 return SFRAL::size(SFR.Prot, SFR.Addr, SFR.Size); in size()
237 return SFRAL::serialize(OB, SFR.Prot, SFR.Addr, SFR.Size); in serialize()
242 return SFRAL::deserialize(IB, SFR.Prot, SFR.Addr, SFR.Size); in deserialize()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp140 if (Segment.Prot & tpctypes::WPF_Read) in initialize()
142 if (Segment.Prot & tpctypes::WPF_Write) in initialize()
144 if (Segment.Prot & tpctypes::WPF_Exec) in initialize()
153 getWindowsProtectionFlags(fromWireProtectionFlags(Segment.Prot)); in initialize()
161 if (Segment.Prot & tpctypes::WPF_Exec) in initialize()
H A DSimpleExecutorMemoryManager.cpp135 tpctypes::fromWireProtectionFlags(Seg.Prot))) in finalize()
137 if (Seg.Prot & tpctypes::WPF_Exec) in finalize()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMmapWriteExecChecker.cpp52 int64_t Prot = ProtLoc.getValue().getSExtValue(); in checkPreCall() local
62 if ((Prot & (ProtWrite | ProtExec)) == (ProtWrite | ProtExec)) { in checkPreCall()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp147 MemProt Prot = MemProt::None; in graphifySections() local
149 Prot |= MemProt::Exec; in graphifySections()
151 Prot |= MemProt::Read; in graphifySections()
153 Prot |= MemProt::Write; in graphifySections()
158 GraphSec = &G->createSection(SectionName, Prot); in graphifySections()
159 if (GraphSec->getMemProt() != Prot) in graphifySections()
H A DELFLinkGraphBuilder.h313 MemProt Prot; in graphifySections() local
315 Prot = MemProt::Read | MemProt::Exec; in graphifySections()
317 Prot = MemProt::Read | MemProt::Write; in graphifySections()
322 GraphSec = &G->createSection(*Name, Prot); in graphifySections()
323 assert(GraphSec->getMemProt() == Prot && "MemProt should match"); in graphifySections()
H A DJITLinkMemoryManager.cpp282 auto Prot = toSysMemoryProtectionFlags(AG.getMemProt()); in applyProtections() local
287 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in applyProtections()
289 if (Prot & sys::Memory::MF_EXEC) in applyProtections()
H A DMachOLinkGraphBuilder.cpp177 MemProt Prot; in createNormalizedSections() local
179 Prot = MemProt::Read | MemProt::Exec; in createNormalizedSections()
181 Prot = MemProt::Read | MemProt::Write; in createNormalizedSections()
186 StringRef(FullyQualifiedName.data(), FullyQualifiedName.size()), Prot); in createNormalizedSections()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DMemoryMapperTest.cpp95 Seg1.Prot = sys::Memory::MF_READ | sys::Memory::MF_WRITE; in TEST()
119 Seg2.Prot = sys::Memory::MF_READ | sys::Memory::MF_WRITE; in TEST()
171 Seg3.Prot = sys::Memory::MF_READ | sys::Memory::MF_WRITE; in TEST()
H A DEPCGenericJITLinkMemoryManagerTest.cpp49 tpctypes::fromWireProtectionFlags(Seg.Prot))) in finalize()
51 if (Seg.Prot & tpctypes::WPF_Exec) in finalize()
H A DSharedMemoryMapperTest.cpp84 SI.Prot = sys::Memory::MF_READ | sys::Memory::MF_WRITE; in TEST()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DMemoryMapper.cpp75 Segment.Prot)) { in initialize()
78 if (Segment.Prot & sys::Memory::MF_EXEC) in initialize()
304 SegReq.Prot = tpctypes::toWireProtectionFlags( in initialize()
305 static_cast<sys::Memory::ProtectionFlags>(Segment.Prot)); in initialize()
H A DMapperJITLinkMemoryManager.cpp107 SI.Prot = (toSysMemoryProtectionFlags(AG.getMemProt())); in allocate()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp84 int Prot = (Flags & MAP_NOACCESS) ? PROT_NONE : (PROT_READ | PROT_WRITE); in setMemoryPermission() local
85 if (mprotect(reinterpret_cast<void *>(Addr), Size, Prot) != 0) in setMemoryPermission()
H A Dfuchsia.cpp147 const zx_vm_option_t Prot = in setMemoryPermission() local
151 if (_zx_vmar_protect(Data->Vmar, Prot, Addr, Size) != ZX_OK) in setMemoryPermission()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h669 Section(StringRef Name, MemProt Prot, SectionOrdinal SecOrdinal) in Section() argument
670 : Name(Name), Prot(Prot), SecOrdinal(SecOrdinal) {} in Section()
694 MemProt getMemProt() const { return Prot; } in getMemProt()
697 void setMemProt(MemProt Prot) { this->Prot = Prot; } in setMemProt() argument
767 MemProt Prot; variable
1005 Section &createSection(StringRef Name, MemProt Prot) { in createSection() argument
1011 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size())); in createSection()
/llvm-project-15.0.7/clang/include/clang/Index/
H A DUSRGeneration.h57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DMachODumper.cpp334 std::string Prot; in getMask() local
335 Prot = ""; in getMask()
336 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-"; in getMask()
337 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-"; in getMask()
338 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-"; in getMask()
339 return Prot; in getMask()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dunaddressable-functions.cpp25 auto Prot = reinterpret_cast<void (Protected::*)(char *)>(&Protected::check); // expected-error{{'c… variable
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DMemoryMapper.h35 unsigned Prot; member
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp846 for (auto *Prot : OIT->getProtocols()) in VisitType() local
847 VisitObjCProtocolDecl(Prot); in VisitType()
1069 void clang::index::generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS, in generateUSRForObjCProtocol() argument
1073 OS << "objc(pl)" << Prot; in generateUSRForObjCProtocol()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMachObjectWriter.cpp888 uint32_t Prot = in writeObject() local
891 SectionDataSize, Prot, Prot); in writeObject()

12