<html devsite>
<head>
  <meta name="project_path" value="/_project.yaml">
  <meta name="book_path" value="/versions/8.4.0/_book.yaml">
</head>
<body>

<h1 class="page-title" id="modules.DebugPackageInfo">DebugPackageInfo</h1>

{% 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" %}
<!-- {% raw %} -->

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.

<h2>Members</h2>
<ul>
    <li>
    <a href="#DebugPackageInfo">DebugPackageInfo</a>
  </li>
      <li>
    <a href="#dwp_file">dwp_file</a>
  </li>
      <li>
    <a href="#stripped_file">stripped_file</a>
  </li>
      <li>
    <a href="#target_label">target_label</a>
  </li>
      <li>
    <a href="#unstripped_file">unstripped_file</a>
  </li>
  </ul>

      <h2 id="DebugPackageInfo">DebugPackageInfo</h2>
        <p><pre class="rule-signature"><a class="anchor" href="../providers/DebugPackageInfo.html">DebugPackageInfo</a> DebugPackageInfo(target_label, stripped_file=None, unstripped_file, dwp_file=None)</pre></p>

    The <code>DebugPackageInfo</code> constructor.

          <!-- hide-from-toc is a class used by DevSite for the public Bazel site
      (https://developers.google.com/devsite/reference/styles/headings#hide_headings_from_the_toc) -->
      <h3 class="hide-from-toc">Parameters</h3>
      <table class="table table-bordered table-condensed table-params">
        <colgroup>
          <col class="col-param">
          <col class="param-description">
        </colgroup>
        <thead>
          <tr>
            <th>Parameter</th>
            <th>Description</th>
          </tr>
        </thead>
        <tbody>
                  <tr>
            <td id="DebugPackageInfo.target_label">
              <code>target_label</code>
            </td>
            <td>
                          <a class="anchor" href="../builtins/Label.html">Label</a>;
                                     required<br/>
                          The label for the *_binary target
            </td>
          </tr>
                  <tr>
            <td id="DebugPackageInfo.stripped_file">
              <code>stripped_file</code>
            </td>
            <td>
                          <a class="anchor" href="../builtins/File.html">File</a>; or <code>None</code>;
                                     default is <code>None</code><br/>
                          The stripped file (the explicit ".stripped" target)
            </td>
          </tr>
                  <tr>
            <td id="DebugPackageInfo.unstripped_file">
              <code>unstripped_file</code>
            </td>
            <td>
                          <a class="anchor" href="../builtins/File.html">File</a>;
                                     required<br/>
                          The unstripped file (the default executable target).
            </td>
          </tr>
                  <tr>
            <td id="DebugPackageInfo.dwp_file">
              <code>dwp_file</code>
            </td>
            <td>
                          <a class="anchor" href="../builtins/File.html">File</a>; or <code>None</code>;
                                     default is <code>None</code><br/>
                          The .dwp file (for fission builds) or null if --fission=no.
            </td>
          </tr>
                </tbody>
      </table>

        <h2 id="dwp_file">dwp_file</h2>
        <p><pre class="rule-signature"><a class="anchor" href="../builtins/File.html">File</a> DebugPackageInfo.dwp_file</pre></p>

    Returns the .dwp file (for fission builds) or null if --fission=no.

         May return <code>None</code>.

        <h2 id="stripped_file">stripped_file</h2>
        <p><pre class="rule-signature"><a class="anchor" href="../builtins/File.html">File</a> DebugPackageInfo.stripped_file</pre></p>

    Returns the stripped file (the explicit ".stripped" target).

         May return <code>None</code>.

        <h2 id="target_label">target_label</h2>
        <p><pre class="rule-signature"><a class="anchor" href="../builtins/Label.html">Label</a> DebugPackageInfo.target_label</pre></p>

    Returns the label for the *_binary target


        <h2 id="unstripped_file">unstripped_file</h2>
        <p><pre class="rule-signature"><a class="anchor" href="../builtins/File.html">File</a> DebugPackageInfo.unstripped_file</pre></p>

    Returns the unstripped file (the default executable target)



</body>
</html>

<!-- {% endraw %} -->
