/PDBSTRIPPED (Strip Private Symbols)
A user-specified name for the stripped program database (PDB) that the linker creates.
The /PDBSTRIPPED option creates a second program database (PDB) file when you build your program image with any of the compiler or linker options that generate a PDB file (/DEBUG, /Z7, /Zd, or /Zi). This second PDB file omits symbols that you would not want to ship to your customers. The second PDB file will only contain:
The list of object files and the portions of the executable to which they contribute
Frame pointer optimization (FPO) debug records used to traverse the stack
The stripped PDB file will not contain:
Line number information
Per-object file CodeView symbols such as those for functions, locals, and static data
The full PDB file will still be generated when you use /PDBSTRIPPED.
If you do not create a PDB file, /PDBSTRIPPED is ignored.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
Click the Linker folder.
Click the Debug property page.
Modify the Strip Private Symbols property.
To set this linker option programmatically
- See StripPrivateSymbols.