blob: e50f5f6b5c7ea33c577701585f96f0842314d9c6 [file]
---
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(target_label, stripped_file=None, unstripped_file, dwp_file=None)
```
The `DebugPackageInfo` constructor.
### Parameters
| Parameter | Description |
| --- | --- |
| `target_label` | [Label](/versions/8.6.0/rules/lib/builtins/Label); required The label for the \*\_binary target |
| `stripped_file` | [File](/versions/8.6.0/rules/lib/builtins/File); or `None`; default is `None` The stripped file (the explicit ".stripped" target) |
| `unstripped_file` | [File](/versions/8.6.0/rules/lib/builtins/File); required The unstripped file (the default executable target). |
| `dwp_file` | [File](/versions/8.6.0/rules/lib/builtins/File); or `None`; default is `None` The .dwp file (for fission builds) or null if --fission=no. |
## dwp_file
```
File DebugPackageInfo.dwp_file
```
Returns the .dwp file (for fission builds) or null if --fission=no.
May return `None`.
## stripped_file
```
File DebugPackageInfo.stripped_file
```
Returns the stripped file (the explicit ".stripped" target).
May return `None`.
## target_label
```
Label DebugPackageInfo.target_label
```
Returns the label for the \*\_binary target
## unstripped_file
```
File DebugPackageInfo.unstripped_file
```
Returns the unstripped file (the default executable target)