Lines Matching refs:uint8_t
29 using sectionInfo = std::pair<uint8_t *, size_t>;
30 typedef uint8_t *(CodeInfo::*AllocaSectionCallback)(uintptr_t size, size_t alignSize);
36 uint8_t *Alloca(uintptr_t size, bool isReq, size_t alignSize);
46 uint8_t *reqSecs_ {nullptr};
49 uint8_t *unreqSecs_ {nullptr};
57 uint8_t *Alloca(uintptr_t size, bool isReq, size_t alignSize);
65 std::vector<std::pair<uint8_t *, uintptr_t>> sections_;
78 uint8_t *AllocaOnDemand(uintptr_t size, size_t alignSize = 0);
80 uint8_t *AllocaInReqSecBuffer(uintptr_t size, size_t alignSize = 0);
82 uint8_t *AllocaInNotReqSecBuffer(uintptr_t size, size_t alignSize = 0);
84 uint8_t *AllocaCodeSectionImp(uintptr_t size, const char *sectionName, AllocaSectionCallback allocaInReqSecBuffer);
86 uint8_t *AllocaCodeSection(uintptr_t size, const char *sectionName);
88 uint8_t *AllocaCodeSectionOnDemand(uintptr_t size, const char *sectionName);
90 uint8_t *AllocaDataSectionImp(uintptr_t size, const char *sectionName, AllocaSectionCallback allocaInReqSecBuffer,
93 uint8_t *AllocaDataSection(uintptr_t size, const char *sectionName);
95 uint8_t *AllocaDataSectionOnDemand(uintptr_t size, const char *sectionName);
103 void SavePC2DeoptInfo(uint64_t pc, std::vector<uint8_t> pc2DeoptInfo);
105 void SavePC2CallSiteInfo(uint64_t pc, std::vector<uint8_t> callSiteInfo);
109 const std::map<uint64_t, std::vector<uint8_t>> &GetPC2DeoptInfo() const;
111 const std::unordered_map<uint64_t, std::vector<uint8_t>> &GetPC2CallsiteInfo() const;
115 uint8_t *GetSectionAddr(ElfSecName sec) const;
119 std::vector<std::pair<uint8_t *, uintptr_t>> GetCodeInfo() const;
134 std::vector<std::pair<uint8_t *, uintptr_t>> codeInfo_ {}; // info for disasssembler, planed to be deprecated
136 std::map<uint64_t, std::vector<uint8_t>> pc2DeoptInfo;
137 std::unordered_map<uint64_t, std::vector<uint8_t>> pc2CallsiteInfo;