| --- | |
| title: 'DebugPackageInfo' | |
| --- | |
| A provider for the binary file and its associated .dwp files, if fission is enabled.If Fission ({@url https://gcc.gnu.org/wiki/DebugFission}) is not enabled, the dwp file will be null. | |
| ## Members | |
| * [DebugPackageInfo](#DebugPackageInfo) | |
| * [dwp_file](#dwp_file) | |
| * [stripped_file](#stripped_file) | |
| * [target_label](#target_label) | |
| * [unstripped_file](#unstripped_file) | |
| ## DebugPackageInfo {#DebugPackageInfo} | |
| ``` | |
| DebugPackageInfo DebugPackageInfo(*, target_label, stripped_file=None, unstripped_file, dwp_file=None) | |
| ``` | |
| The `DebugPackageInfo` constructor. | |
| ### Parameters | |
| | Parameter | Description | | |
| | --- | --- | | |
| | `target_label` | [Label](../builtins/Label); required The label for the \*\_binary target | | |
| | `stripped_file` | [File](../builtins/File); or `None`; default is `None` The stripped file (the explicit ".stripped" target) | | |
| | `unstripped_file` | [File](../builtins/File); required The unstripped file (the default executable target). | | |
| | `dwp_file` | [File](../builtins/File); or `None`; default is `None` The .dwp file (for fission builds) or null if --fission=no. | | |
| ## dwp_file {#dwp_file} | |
| ``` | |
| File DebugPackageInfo.dwp_file | |
| ``` | |
| Returns the .dwp file (for fission builds) or null if --fission=no. | |
| May return `None`. | |
| ## stripped_file {#stripped_file} | |
| ``` | |
| File DebugPackageInfo.stripped_file | |
| ``` | |
| Returns the stripped file (the explicit ".stripped" target). | |
| May return `None`. | |
| ## target_label {#target_label} | |
| ``` | |
| Label DebugPackageInfo.target_label | |
| ``` | |
| Returns the label for the \*\_binary target | |
| ## unstripped_file {#unstripped_file} | |
| ``` | |
| File DebugPackageInfo.unstripped_file | |
| ``` | |
| Returns the unstripped file (the default executable target) |