| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | unguarded-availability-category-protocol-use.m | 4 @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 D | property-assign-on-object-type.m | 4 @protocol Prot @end protocol 11 @property(assign) Class<Prot> classWithProtocolProperty;
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | index-refs.m | 4 @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 D | TargetProcessControlTypes.h | 74 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 D | ExecutorSharedMemoryMapperService.cpp | 140 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 D | SimpleExecutorMemoryManager.cpp | 135 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 D | MmapWriteExecChecker.cpp | 52 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 D | COFFLinkGraphBuilder.cpp | 147 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 D | ELFLinkGraphBuilder.h | 313 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 D | JITLinkMemoryManager.cpp | 282 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 D | MachOLinkGraphBuilder.cpp | 177 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 D | MemoryMapperTest.cpp | 95 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 D | EPCGenericJITLinkMemoryManagerTest.cpp | 49 tpctypes::fromWireProtectionFlags(Seg.Prot))) in finalize() 51 if (Seg.Prot & tpctypes::WPF_Exec) in finalize()
|
| H A D | SharedMemoryMapperTest.cpp | 84 SI.Prot = sys::Memory::MF_READ | sys::Memory::MF_WRITE; in TEST()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | MemoryMapper.cpp | 75 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 D | MapperJITLinkMemoryManager.cpp | 107 SI.Prot = (toSysMemoryProtectionFlags(AG.getMemProt())); in allocate()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 84 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 D | fuchsia.cpp | 147 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 D | JITLink.h | 669 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 D | USRGeneration.h | 57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 334 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 D | unaddressable-functions.cpp | 25 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 D | MemoryMapper.h | 35 unsigned Prot; member
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 846 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 D | MachObjectWriter.cpp | 888 uint32_t Prot = in writeObject() local 891 SectionDataSize, Prot, Prot); in writeObject()
|