VirtualBox

Changeset 100913 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Aug 19, 2023 11:03:51 AM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158850
Message:

IPRT: Moved the PDB cache subdir string composition to the pdbvfs and expose it via RTVFSQIEX_VOL_LABEL. Extended the RTVFSQIEX_VOL_LABEL_ALT with the compiler date/version.

File:
1 edited

Legend:

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

    r100909 r100913  
    210210 * (.idb) and possibly other things.  They are supposedly a win9x alternative to
    211211 * using NTFS file streams, so the container contains "streams" rather than
    212  * "files".
     212 * "files".  (There are some really old version of the PDB files (v1) which does
     213 * not contain streams, just plain type/debug info.  That is not supported.)
    213214 *
    214215 * The streams are numbered and can all be opened by their number, e.g. "1" will
    215216 * open the PDB metadata header stream.  If the stream is special or have an
    216  * name map entry, the name will be appended to the stream number together with
    217  * a dash. So, stream "1" can also be accessed as "1-Pdb".
     217 * name table entry, the name will be appended to the stream number together
     218 * with a dash. So, stream "1" can also be accessed as "1-pdb". Named streams
     219 * will also be recognized by just the name w/o the stream prefix, so stream
     220 * also be accessed as just "pdb".  The only caveat to this last naming
     221 * variation is that it doesn't work of the name starts with a digit, as that is
     222 * taken to mean a stream number.
     223 *
     224 * The RTVFSQIEX_VOL_LABEL returns the PDB cache subdirectory, i.e. UUID+Age or
     225 * Timestamp+Age depending on the PDB version.
    218226 *
    219227 * The PDB version can be obtained by querying RTVFSQIEX_VOL_LABEL_ALT, which
    220  * will return "pdb-v2" or "pdb-v7"
     228 * will return "pdb-v2-xxxxxx" or "pdb-v7-xxxxxxxx", where the 'x' sequences are
     229 * digits making up a year-month-date figure for the visual C++ compiler
     230 * creating the PDB. Version 2 may have both 6 and 8 digit variants.
    221231 *
    222232 * @returns IPRT status code.
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