<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [libc++][PowerPC] libcxx/gdb/gdb_pretty_printer_test.sh.cpp LIT test case failure on LLVM 13"
   href="https://bugs.llvm.org/show_bug.cgi?id=51675">bug 51675</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>ldionne@apple.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>1c3fcc8ae92ebfe9a9d1a21a288ad71ef7f98091
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [libc++][PowerPC] libcxx/gdb/gdb_pretty_printer_test.sh.cpp LIT test case failure on LLVM 13"
   href="https://bugs.llvm.org/show_bug.cgi?id=51675#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [libc++][PowerPC] libcxx/gdb/gdb_pretty_printer_test.sh.cpp LIT test case failure on LLVM 13"
   href="https://bugs.llvm.org/show_bug.cgi?id=51675">bug 51675</a>
              from <span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span></b>
        <pre>Fixed on main and cherry-picked to release/13.x as

commit 1c3fcc8ae92ebfe9a9d1a21a288ad71ef7f98091 (HEAD -> release/13.x)
Author: Amy Kwan <<a href="mailto:amy.kwan1@ibm.com">amy.kwan1@ibm.com</a>>
Date:   Fri Sep 3 14:53:57 2021 -0400

    [libc++][NFC] Mark values in gdb pretty print comparison functions as live
to prevent values being optimized out.

    It appears when testing LLVM 13 on Power, we run into failures with the
    `libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp` test case
optimizing
    values out.

    Despite some the functions in the test already being marked with optnone,
    adding the `MarkAsLive()` calls inside of the pretty printer comparison
functions
    resolves the issues of the values being optimized out.

    This patch aims to address <a href="https://llvm.org/PR51675">https://llvm.org/PR51675</a>.

    Differential Revision: <a href="https://reviews.llvm.org/D109204">https://reviews.llvm.org/D109204</a>

    (cherry picked from commit 217c6d643124be312f4a99b203118744edb9d54c)


Thanks a lot!</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>