# DebugPackageInfo

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/cpp/DebugPackageInfoApi.java" %} {% dynamic setvar version "8.4.0" %} {% dynamic setvar original_path "/rules/lib/providers/DebugPackageInfo" %} {% include "_buttons.html" %} 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
- dwp_file
- stripped_file
- target_label
- unstripped_file

## DebugPackageInfo

    DebugPackageInfo DebugPackageInfo(target_label, stripped_file=None, unstripped_file, dwp_file=None)

The `DebugPackageInfo` constructor.

### Parameters

Parameter | Description
--- | ---
`target_label` | Label; required The label for the *_binary target
`stripped_file` | File; or `None`; default is `None` The stripped file (the explicit ".stripped" target)
`unstripped_file` | File; required The unstripped file (the default executable target).
`dwp_file` | 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)