Home | History | Annotate | Download | only in llvm-readobj

Lines Matching refs:Prot

294 static std::string getMask(uint32_t prot)
296 // TODO (davide): This always assumes prot is valid.
298 std::string Prot;
299 Prot = "";
300 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-";
301 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-";
302 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-";
303 return Prot;