Buckets:
arudradey/ml-cpu-storage / emsdk /upstream /emscripten /system /lib /libunwind /src /AddressSpace.hpp
| //===----------------------------------------------------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| // | |
| // Abstracts accessing local vs remote address spaces. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| struct EHABIIndexEntry { | |
| uint32_t functionOffset; | |
| uint32_t data; | |
| }; | |
| namespace libunwind { | |
| char *getFuncNameFromTBTable(uintptr_t pc, uint16_t &NameLen, | |
| unw_word_t *offset); | |
| } | |
| struct dyld_unwind_sections | |
| { | |
| const struct mach_header* mh; | |
| const void* dwarf_section; | |
| uintptr_t dwarf_section_length; | |
| const void* compact_unwind_section; | |
| uintptr_t compact_unwind_section_length; | |
| }; | |
| // In 10.7.0 or later, libSystem.dylib implements this function. | |
| extern "C" bool _dyld_find_unwind_sections(void *, dyld_unwind_sections *); | |
| namespace libunwind { | |
| bool findDynamicUnwindSections(void *, unw_dynamic_unwind_sections *); | |
| } | |
| // When statically linked on bare-metal, the symbols for the EH table are looked | |
| // up without going through the dynamic loader. | |
| // The following linker script may be used to produce the necessary sections and symbols. | |
| // Unless the --eh-frame-hdr linker option is provided, the section is not generated | |
| // and does not take space in the output file. | |
| // | |
| // .eh_frame : | |
| // { | |
| // __eh_frame_start = .; | |
| // KEEP(*(.eh_frame)) | |
| // __eh_frame_end = .; | |
| // } | |
| // | |
| // .eh_frame_hdr : | |
| // { | |
| // KEEP(*(.eh_frame_hdr)) | |
| // } | |
| // | |
| // __eh_frame_hdr_start = SIZEOF(.eh_frame_hdr) > 0 ? ADDR(.eh_frame_hdr) : 0; | |
| // __eh_frame_hdr_end = SIZEOF(.eh_frame_hdr) > 0 ? . : 0; | |
| extern char __eh_frame_start; | |
| extern char __eh_frame_end; | |
| extern char __eh_frame_hdr_start; | |
| extern char __eh_frame_hdr_end; | |
| // When statically linked on bare-metal, the symbols for the EH table are looked | |
| // up without going through the dynamic loader. | |
| extern char __exidx_start; | |
| extern char __exidx_end; | |
| namespace libunwind { | |
| /// Used by findUnwindSections() to return info about needed sections. | |
| struct UnwindInfoSections { | |
| // No dso_base for SEH. | |
| uintptr_t dso_base; | |
| size_t text_segment_length; | |
| uintptr_t dwarf_section; | |
| size_t dwarf_section_length; | |
| uintptr_t dwarf_index_section; | |
| size_t dwarf_index_section_length; | |
| uintptr_t compact_unwind_section; | |
| size_t compact_unwind_section_length; | |
| uintptr_t arm_section; | |
| size_t arm_section_length; | |
| }; | |
| /// LocalAddressSpace is used as a template parameter to UnwindCursor when | |
| /// unwinding a thread in the same process. The wrappers compile away, | |
| /// making local unwinds fast. | |
| class _LIBUNWIND_HIDDEN LocalAddressSpace { | |
| public: | |
| typedef uintptr_t pint_t; | |
| typedef intptr_t sint_t; | |
| uint8_t get8(pint_t addr) { | |
| uint8_t val; | |
| memcpy(&val, (void *)addr, sizeof(val)); | |
| return val; | |
| } | |
| uint16_t get16(pint_t addr) { | |
| uint16_t val; | |
| memcpy(&val, (void *)addr, sizeof(val)); | |
| return val; | |
| } | |
| uint32_t get32(pint_t addr) { | |
| uint32_t val; | |
| memcpy(&val, (void *)addr, sizeof(val)); | |
| return val; | |
| } | |
| uint64_t get64(pint_t addr) { | |
| uint64_t val; | |
| memcpy(&val, (void *)addr, sizeof(val)); | |
| return val; | |
| } | |
| double getDouble(pint_t addr) { | |
| double val; | |
| memcpy(&val, (void *)addr, sizeof(val)); | |
| return val; | |
| } | |
| v128 getVector(pint_t addr) { | |
| v128 val; | |
| memcpy(&val, (void *)addr, sizeof(val)); | |
| return val; | |
| } | |
| uintptr_t getP(pint_t addr); | |
| uint64_t getRegister(pint_t addr); | |
| static uint64_t getULEB128(pint_t &addr, pint_t end); | |
| static int64_t getSLEB128(pint_t &addr, pint_t end); | |
| pint_t getEncodedP(pint_t &addr, pint_t end, uint8_t encoding, | |
| pint_t datarelBase = 0); | |
| bool findFunctionName(pint_t addr, char *buf, size_t bufLen, | |
| unw_word_t *offset); | |
| bool findUnwindSections(pint_t targetAddr, UnwindInfoSections &info); | |
| bool findOtherFDE(pint_t targetAddr, pint_t &fde); | |
| static LocalAddressSpace sThisAddressSpace; | |
| }; | |
| inline uintptr_t LocalAddressSpace::getP(pint_t addr) { | |
| return get64(addr); | |
| return get32(addr); | |
| } | |
| inline uint64_t LocalAddressSpace::getRegister(pint_t addr) { | |
| return get64(addr); | |
| return get32(addr); | |
| } | |
| /// Read a ULEB128 into a 64-bit word. | |
| inline uint64_t LocalAddressSpace::getULEB128(pint_t &addr, pint_t end) { | |
| const uint8_t *p = (uint8_t *)addr; | |
| const uint8_t *pend = (uint8_t *)end; | |
| uint64_t result = 0; | |
| int bit = 0; | |
| do { | |
| uint64_t b; | |
| if (p == pend) | |
| _LIBUNWIND_ABORT("truncated uleb128 expression"); | |
| b = *p & 0x7f; | |
| if (bit >= 64 || b << bit >> bit != b) { | |
| _LIBUNWIND_ABORT("malformed uleb128 expression"); | |
| } else { | |
| result |= b << bit; | |
| bit += 7; | |
| } | |
| } while (*p++ >= 0x80); | |
| addr = (pint_t) p; | |
| return result; | |
| } | |
| /// Read a SLEB128 into a 64-bit word. | |
| inline int64_t LocalAddressSpace::getSLEB128(pint_t &addr, pint_t end) { | |
| const uint8_t *p = (uint8_t *)addr; | |
| const uint8_t *pend = (uint8_t *)end; | |
| uint64_t result = 0; | |
| int bit = 0; | |
| uint8_t byte; | |
| do { | |
| if (p == pend) | |
| _LIBUNWIND_ABORT("truncated sleb128 expression"); | |
| byte = *p++; | |
| result |= (uint64_t)(byte & 0x7f) << bit; | |
| bit += 7; | |
| } while (byte & 0x80); | |
| // sign extend negative numbers | |
| if ((byte & 0x40) != 0 && bit < 64) | |
| result |= (-1ULL) << bit; | |
| addr = (pint_t) p; | |
| return (int64_t)result; | |
| } | |
| inline LocalAddressSpace::pint_t | |
| LocalAddressSpace::getEncodedP(pint_t &addr, pint_t end, uint8_t encoding, | |
| pint_t datarelBase) { | |
| pint_t startAddr = addr; | |
| const uint8_t *p = (uint8_t *)addr; | |
| pint_t result; | |
| // first get value | |
| switch (encoding & 0x0F) { | |
| case DW_EH_PE_ptr: | |
| result = getP(addr); | |
| p += sizeof(pint_t); | |
| addr = (pint_t) p; | |
| break; | |
| case DW_EH_PE_uleb128: | |
| result = (pint_t)getULEB128(addr, end); | |
| break; | |
| case DW_EH_PE_udata2: | |
| result = get16(addr); | |
| p += 2; | |
| addr = (pint_t) p; | |
| break; | |
| case DW_EH_PE_udata4: | |
| result = get32(addr); | |
| p += 4; | |
| addr = (pint_t) p; | |
| break; | |
| case DW_EH_PE_udata8: | |
| result = (pint_t)get64(addr); | |
| p += 8; | |
| addr = (pint_t) p; | |
| break; | |
| case DW_EH_PE_sleb128: | |
| result = (pint_t)getSLEB128(addr, end); | |
| break; | |
| case DW_EH_PE_sdata2: | |
| // Sign extend from signed 16-bit value. | |
| result = (pint_t)(int16_t)get16(addr); | |
| p += 2; | |
| addr = (pint_t) p; | |
| break; | |
| case DW_EH_PE_sdata4: | |
| // Sign extend from signed 32-bit value. | |
| result = (pint_t)(int32_t)get32(addr); | |
| p += 4; | |
| addr = (pint_t) p; | |
| break; | |
| case DW_EH_PE_sdata8: | |
| result = (pint_t)get64(addr); | |
| p += 8; | |
| addr = (pint_t) p; | |
| break; | |
| default: | |
| _LIBUNWIND_ABORT("unknown pointer encoding"); | |
| } | |
| // then add relative offset | |
| switch (encoding & 0x70) { | |
| case DW_EH_PE_absptr: | |
| // do nothing | |
| break; | |
| case DW_EH_PE_pcrel: | |
| result += startAddr; | |
| break; | |
| case DW_EH_PE_textrel: | |
| _LIBUNWIND_ABORT("DW_EH_PE_textrel pointer encoding not supported"); | |
| break; | |
| case DW_EH_PE_datarel: | |
| // DW_EH_PE_datarel is only valid in a few places, so the parameter has a | |
| // default value of 0, and we abort in the event that someone calls this | |
| // function with a datarelBase of 0 and DW_EH_PE_datarel encoding. | |
| if (datarelBase == 0) | |
| _LIBUNWIND_ABORT("DW_EH_PE_datarel is invalid with a datarelBase of 0"); | |
| result += datarelBase; | |
| break; | |
| case DW_EH_PE_funcrel: | |
| _LIBUNWIND_ABORT("DW_EH_PE_funcrel pointer encoding not supported"); | |
| break; | |
| case DW_EH_PE_aligned: | |
| _LIBUNWIND_ABORT("DW_EH_PE_aligned pointer encoding not supported"); | |
| break; | |
| default: | |
| _LIBUNWIND_ABORT("unknown pointer encoding"); | |
| break; | |
| } | |
| if (encoding & DW_EH_PE_indirect) | |
| result = getP(result); | |
| return result; | |
| } | |
| // The ElfW() macro for pointer-size independent ELF header traversal is not | |
| // provided by <link.h> on some systems (e.g., FreeBSD). On these systems the | |
| // data structures are just called Elf_XXX. Define ElfW() locally. | |
| typedef ElfW(Half) Elf_Half; | |
| typedef ElfW(Phdr) Elf_Phdr; | |
| typedef ElfW(Addr) Elf_Addr; | |
| struct _LIBUNWIND_HIDDEN dl_iterate_cb_data { | |
| LocalAddressSpace *addressSpace; | |
| UnwindInfoSections *sects; | |
| uintptr_t targetAddr; | |
| }; | |
| // Typically there is one cache per process, but when libunwind is built as a | |
| // hermetic static library, then each shared object may have its own cache. | |
| static FrameHeaderCache TheFrameHeaderCache; | |
| static bool checkAddrInSegment(const Elf_Phdr *phdr, size_t image_base, | |
| dl_iterate_cb_data *cbdata) { | |
| if (phdr->p_type == PT_LOAD) { | |
| uintptr_t begin = image_base + phdr->p_vaddr; | |
| uintptr_t end = begin + phdr->p_memsz; | |
| if (cbdata->targetAddr >= begin && cbdata->targetAddr < end) { | |
| cbdata->sects->dso_base = begin; | |
| cbdata->sects->text_segment_length = phdr->p_memsz; | |
| return true; | |
| } | |
| } | |
| return false; | |
| } | |
| static bool checkForUnwindInfoSegment(const Elf_Phdr *phdr, size_t image_base, | |
| dl_iterate_cb_data *cbdata) { | |
| if (phdr->p_type == PT_GNU_EH_FRAME) { | |
| EHHeaderParser<LocalAddressSpace>::EHHeaderInfo hdrInfo; | |
| uintptr_t eh_frame_hdr_start = image_base + phdr->p_vaddr; | |
| cbdata->sects->dwarf_index_section = eh_frame_hdr_start; | |
| cbdata->sects->dwarf_index_section_length = phdr->p_memsz; | |
| if (EHHeaderParser<LocalAddressSpace>::decodeEHHdr( | |
| *cbdata->addressSpace, eh_frame_hdr_start, | |
| eh_frame_hdr_start + phdr->p_memsz, hdrInfo)) { | |
| // .eh_frame_hdr records the start of .eh_frame, but not its size. | |
| // Rely on a zero terminator to find the end of the section. | |
| cbdata->sects->dwarf_section = hdrInfo.eh_frame_ptr; | |
| cbdata->sects->dwarf_section_length = SIZE_MAX; | |
| return true; | |
| } | |
| } | |
| return false; | |
| if (phdr->p_type == PT_ARM_EXIDX) { | |
| uintptr_t exidx_start = image_base + phdr->p_vaddr; | |
| cbdata->sects->arm_section = exidx_start; | |
| cbdata->sects->arm_section_length = phdr->p_memsz; | |
| return true; | |
| } | |
| return false; | |
| } | |
| static int findUnwindSectionsByPhdr(struct dl_phdr_info *pinfo, | |
| size_t pinfo_size, void *data) { | |
| auto cbdata = static_cast<dl_iterate_cb_data *>(data); | |
| if (pinfo->dlpi_phnum == 0 || cbdata->targetAddr < pinfo->dlpi_addr) | |
| return 0; | |
| if (TheFrameHeaderCache.find(pinfo, pinfo_size, data)) | |
| return 1; | |
| // Avoid warning about unused variable. | |
| (void)pinfo_size; | |
| Elf_Addr image_base = pinfo->dlpi_addr; | |
| // Most shared objects seen in this callback function likely don't contain the | |
| // target address, so optimize for that. Scan for a matching PT_LOAD segment | |
| // first and bail when it isn't found. | |
| bool found_text = false; | |
| for (Elf_Half i = 0; i < pinfo->dlpi_phnum; ++i) { | |
| if (checkAddrInSegment(&pinfo->dlpi_phdr[i], image_base, cbdata)) { | |
| found_text = true; | |
| break; | |
| } | |
| } | |
| if (!found_text) | |
| return 0; | |
| // PT_GNU_EH_FRAME and PT_ARM_EXIDX are usually near the end. Iterate | |
| // backward. | |
| bool found_unwind = false; | |
| for (Elf_Half i = pinfo->dlpi_phnum; i > 0; i--) { | |
| const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i - 1]; | |
| if (checkForUnwindInfoSegment(phdr, image_base, cbdata)) { | |
| found_unwind = true; | |
| break; | |
| } | |
| } | |
| if (!found_unwind) | |
| return 0; | |
| TheFrameHeaderCache.add(cbdata->sects); | |
| return 1; | |
| } | |
| inline bool LocalAddressSpace::findUnwindSections(pint_t targetAddr, | |
| UnwindInfoSections &info) { | |
| dyld_unwind_sections dyldInfo; | |
| if (_dyld_find_unwind_sections((void *)targetAddr, &dyldInfo)) { | |
| info.dso_base = (uintptr_t)dyldInfo.mh; | |
| info.dwarf_section = (uintptr_t)dyldInfo.dwarf_section; | |
| info.dwarf_section_length = (size_t)dyldInfo.dwarf_section_length; | |
| info.compact_unwind_section = (uintptr_t)dyldInfo.compact_unwind_section; | |
| info.compact_unwind_section_length = (size_t)dyldInfo.compact_unwind_section_length; | |
| return true; | |
| } | |
| unw_dynamic_unwind_sections dynamicUnwindSectionInfo; | |
| if (findDynamicUnwindSections((void *)targetAddr, | |
| &dynamicUnwindSectionInfo)) { | |
| info.dso_base = dynamicUnwindSectionInfo.dso_base; | |
| info.dwarf_section = (uintptr_t)dynamicUnwindSectionInfo.dwarf_section; | |
| info.dwarf_section_length = dynamicUnwindSectionInfo.dwarf_section_length; | |
| info.compact_unwind_section = | |
| (uintptr_t)dynamicUnwindSectionInfo.compact_unwind_section; | |
| info.compact_unwind_section_length = | |
| dynamicUnwindSectionInfo.compact_unwind_section_length; | |
| return true; | |
| } | |
| info.dso_base = 0; | |
| // Bare metal is statically linked, so no need to ask the dynamic loader | |
| info.dwarf_section_length = (size_t)(&__eh_frame_end - &__eh_frame_start); | |
| info.dwarf_section = (uintptr_t)(&__eh_frame_start); | |
| _LIBUNWIND_TRACE_UNWINDING("findUnwindSections: section %p length %p", | |
| (void *)info.dwarf_section, (void *)info.dwarf_section_length); | |
| info.dwarf_index_section = (uintptr_t)(&__eh_frame_hdr_start); | |
| info.dwarf_index_section_length = (size_t)(&__eh_frame_hdr_end - &__eh_frame_hdr_start); | |
| _LIBUNWIND_TRACE_UNWINDING("findUnwindSections: index section %p length %p", | |
| (void *)info.dwarf_index_section, (void *)info.dwarf_index_section_length); | |
| if (info.dwarf_section_length) | |
| return true; | |
| // Bare metal is statically linked, so no need to ask the dynamic loader | |
| info.arm_section = (uintptr_t)(&__exidx_start); | |
| info.arm_section_length = (size_t)(&__exidx_end - &__exidx_start); | |
| _LIBUNWIND_TRACE_UNWINDING("findUnwindSections: section %p length %p", | |
| (void *)info.arm_section, (void *)info.arm_section_length); | |
| if (info.arm_section && info.arm_section_length) | |
| return true; | |
| HMODULE mods[1024]; | |
| HANDLE process = GetCurrentProcess(); | |
| DWORD needed; | |
| if (!EnumProcessModules(process, mods, sizeof(mods), &needed)) { | |
| DWORD err = GetLastError(); | |
| _LIBUNWIND_TRACE_UNWINDING("findUnwindSections: EnumProcessModules failed, " | |
| "returned error %d", (int)err); | |
| (void)err; | |
| return false; | |
| } | |
| for (unsigned i = 0; i < (needed / sizeof(HMODULE)); i++) { | |
| PIMAGE_DOS_HEADER pidh = (PIMAGE_DOS_HEADER)mods[i]; | |
| PIMAGE_NT_HEADERS pinh = (PIMAGE_NT_HEADERS)((BYTE *)pidh + pidh->e_lfanew); | |
| PIMAGE_FILE_HEADER pifh = (PIMAGE_FILE_HEADER)&pinh->FileHeader; | |
| PIMAGE_SECTION_HEADER pish = IMAGE_FIRST_SECTION(pinh); | |
| bool found_obj = false; | |
| bool found_hdr = false; | |
| info.dso_base = (uintptr_t)mods[i]; | |
| for (unsigned j = 0; j < pifh->NumberOfSections; j++, pish++) { | |
| uintptr_t begin = pish->VirtualAddress + (uintptr_t)mods[i]; | |
| uintptr_t end = begin + pish->Misc.VirtualSize; | |
| if (!strncmp((const char *)pish->Name, ".text", | |
| IMAGE_SIZEOF_SHORT_NAME)) { | |
| if (targetAddr >= begin && targetAddr < end) | |
| found_obj = true; | |
| } else if (!strncmp((const char *)pish->Name, ".eh_frame", | |
| IMAGE_SIZEOF_SHORT_NAME)) { | |
| info.dwarf_section = begin; | |
| info.dwarf_section_length = pish->Misc.VirtualSize; | |
| found_hdr = true; | |
| } | |
| if (found_obj && found_hdr) | |
| return true; | |
| } | |
| } | |
| return false; | |
| // Don't even bother, since Windows has functions that do all this stuff | |
| // for us. | |
| (void)targetAddr; | |
| (void)info; | |
| return true; | |
| // The traceback table is used for unwinding. | |
| (void)targetAddr; | |
| (void)info; | |
| return true; | |
| int length = 0; | |
| info.arm_section = | |
| (uintptr_t)dl_unwind_find_exidx((_Unwind_Ptr)targetAddr, &length); | |
| info.arm_section_length = (size_t)length * sizeof(EHABIIndexEntry); | |
| if (info.arm_section && info.arm_section_length) | |
| return true; | |
| // Use DLFO_STRUCT_HAS_EH_DBASE to determine the existence of | |
| // `_dl_find_object`. Use _LIBUNWIND_SUPPORT_DWARF_INDEX, because libunwind | |
| // support for _dl_find_object on other unwind formats is not implemented, | |
| // yet. | |
| // We expect `_dl_find_object` to return PT_GNU_EH_FRAME. | |
| // We look-up `dl_find_object` dynamically at runtime to ensure backwards | |
| // compatibility with earlier version of glibc not yet providing it. On older | |
| // systems, we gracefully fallback to `dl_iterate_phdr`. Cache the pointer | |
| // so we only look it up once. Do manual lock to avoid _cxa_guard_acquire. | |
| static decltype(_dl_find_object) *dlFindObject; | |
| static bool dlFindObjectChecked = false; | |
| if (!dlFindObjectChecked) { | |
| dlFindObject = reinterpret_cast<decltype(_dl_find_object) *>( | |
| dlsym(RTLD_DEFAULT, "_dl_find_object")); | |
| dlFindObjectChecked = true; | |
| } | |
| // Try to find the unwind info using `dl_find_object` | |
| dl_find_object findResult; | |
| if (dlFindObject && dlFindObject((void *)targetAddr, &findResult) == 0) { | |
| if (findResult.dlfo_eh_frame == nullptr) { | |
| // Found an entry for `targetAddr`, but there is no unwind info. | |
| return false; | |
| } | |
| info.dso_base = reinterpret_cast<uintptr_t>(findResult.dlfo_map_start); | |
| info.text_segment_length = static_cast<size_t>( | |
| (char *)findResult.dlfo_map_end - (char *)findResult.dlfo_map_start); | |
| // Record the start of PT_GNU_EH_FRAME. | |
| info.dwarf_index_section = | |
| reinterpret_cast<uintptr_t>(findResult.dlfo_eh_frame); | |
| // `_dl_find_object` does not give us the size of PT_GNU_EH_FRAME. | |
| // Setting length to `SIZE_MAX` effectively disables all range checks. | |
| info.dwarf_index_section_length = SIZE_MAX; | |
| EHHeaderParser<LocalAddressSpace>::EHHeaderInfo hdrInfo; | |
| if (!EHHeaderParser<LocalAddressSpace>::decodeEHHdr( | |
| *this, info.dwarf_index_section, | |
| info.dwarf_index_section + info.dwarf_index_section_length, | |
| hdrInfo)) { | |
| return false; | |
| } | |
| // Record the start of the FDE and use SIZE_MAX to indicate that we do | |
| // not know the end address. | |
| info.dwarf_section = hdrInfo.eh_frame_ptr; | |
| info.dwarf_section_length = SIZE_MAX; | |
| return true; | |
| } | |
| dl_iterate_cb_data cb_data = {this, &info, targetAddr}; | |
| int found = dl_iterate_phdr(findUnwindSectionsByPhdr, &cb_data); | |
| return static_cast<bool>(found); | |
| return false; | |
| } | |
| inline bool LocalAddressSpace::findOtherFDE(pint_t targetAddr, pint_t &fde) { | |
| // TO DO: if OS has way to dynamically register FDEs, check that. | |
| (void)targetAddr; | |
| (void)fde; | |
| return false; | |
| } | |
| inline bool LocalAddressSpace::findFunctionName(pint_t addr, char *buf, | |
| size_t bufLen, | |
| unw_word_t *offset) { | |
| Dl_info dyldInfo; | |
| if (dladdr((void *)addr, &dyldInfo)) { | |
| if (dyldInfo.dli_sname != NULL) { | |
| snprintf(buf, bufLen, "%s", dyldInfo.dli_sname); | |
| *offset = (addr - (pint_t) dyldInfo.dli_saddr); | |
| return true; | |
| } | |
| } | |
| uint16_t nameLen; | |
| char *funcName = getFuncNameFromTBTable(addr, nameLen, offset); | |
| if (funcName != NULL) { | |
| snprintf(buf, bufLen, "%.*s", nameLen, funcName); | |
| return true; | |
| } | |
| (void)addr; | |
| (void)buf; | |
| (void)bufLen; | |
| (void)offset; | |
| return false; | |
| } | |
| } // namespace libunwind | |
Xet Storage Details
- Size:
- 22.7 kB
- Xet hash:
- 71f4380efe98034e1486e2a6967d48d50671a1b1383305e3bb23172d35d07004
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.