VirtualBox

Changeset 49053 in vbox for trunk/include


Ignore:
Timestamp:
Oct 11, 2013 2:16:18 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89850
Message:

IPRT: More .dSYM hacking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/dbg.h

    r49044 r49053  
    459459RTDECL(int) RTDbgCfgOpenDwo(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t uCrc32,
    460460                            PFNDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);
    461 
    462461RTDECL(int) RTDbgCfgOpenDsymBundle(RTDBGCFG hDbgCfg, const char *pszFilename, PCRTUUID pUuid,
    463462                                   PFNDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);
     463
     464
     465/** @name Static symbol cache configuration
     466 * @{ */
     467/** The cache subdirectory containing the UUID mappings for .dSYM bundles.
     468 * The UUID mappings implemented by IPRT are splitting the image/dsym UUID up
     469 * into five 4 digit parts that maps to directories and one twelve digit part
     470 * that maps to a symbolic link.  The symlink points to the file in the
     471 * Contents/Resources/DWARF/ directory of the .dSYM bundle for a .dSYM map, and
     472 * to the image file (Contents/MacOS/bundlename for bundles) for image map.
     473 *
     474 * According to available documentation, both lldb and gdb are able to use these
     475 * UUID maps to find debug info while debugging.  See:
     476 *      http://lldb.llvm.org/symbols.html
     477 */
     478#define RTDBG_CACHE_UUID_MAP_DIR_DSYMS   "dsym-uuids"
     479/** The cache subdirectory containing the UUID mappings for image files. */
     480#define RTDBG_CACHE_UUID_MAP_DIR_IMAGES  "image-uuids"
     481/** Suffix used for the cached .dSYM debug files.
     482 * In .dSYM bundles only the .dSYM/Contents/Resources/DWARF/debug-file is
     483 * copied into the cache, and in order to not clash with the stripped/rich image
     484 * file, the cache tool slaps this suffix onto the name. */
     485#define RTDBG_CACHE_DSYM_FILE_SUFFIX     ".dwarf"
     486/** @} */
    464487
    465488
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette