<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - expose debugify as an LLVM option in clang?"
   href="https://bugs.llvm.org/show_bug.cgi?id=37792">37792</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>expose debugify as an LLVM option in clang?
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>greg.bedwell@sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>anastasis.gramm2@gmail.com, davide@freebsd.org, llvm-bugs@lists.llvm.org, paul_robinson@playstation.sony.com, vsk@apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The workflow of doing:

$ clang -c -emit-llvm -O0 -Xclang -disable-O0-optnone test.cpp | opt
-debugify-each -disable-output -O2

is really useful for just firing source level examples through debugify
checking, but isn't practical for plugging into some existing build system or
test suite in order to put as much code through test as possible.

It would be useful if we could essentially shortcut this functionality with
something like this:

$ clang -c -O2 -mllvm -debugify-each test.cpp

I'm envisioning a future where once we've cleaned up the known debugify
failures we can enable this config on our CI systems; for example running all
of Sony's available game code regularly to have a better chance of catching
regressions as new passes are added or modified.  If we could hard-fail on
debugify errors, even better.

Definitely not high priority while there are still plenty of trivial debugify
failures out there to fix, but a "would be nice" for future.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>