Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for FastLink symbols (S_REF_MINIPDB2 / S_FASTLINK) #122

Open
mstange opened this issue May 22, 2022 · 0 comments
Open

Add support for FastLink symbols (S_REF_MINIPDB2 / S_FASTLINK) #122

mstange opened this issue May 22, 2022 · 0 comments

Comments

@mstange
Copy link
Collaborator

mstange commented May 22, 2022

Visual Studio 2017 added a /DEBUG:FASTLINK option::

The /DEBUG:FASTLINK option is available in Visual Studio 2017 and later. This option leaves private symbol information in the individual compilation products used to build the executable. It generates a limited PDB that indexes into the debug information in the object files and libraries used to build the executable instead of making a full copy. This option can link from two to four times as fast as full PDB generation, and is recommended when you are debugging locally and have the build products available. This limited PDB can't be used for debugging when the required build products are not available, such as when the executable is deployed on another computer. In a developer command prompt, you can use the mspdbcmf.exe tool to generate a full PDB from this limited PDB. In Visual Studio, use the Project or Build menu items for generating a full PDB file to create a full PDB for the project or solution.

PDB files created with this option contain S_REF_MINIPDB2 / S_FASTLINK symbols.

It would be great to add parsing support for this symbol type. #118 adds the constant but not the parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant