<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:paul_robinson@playstation.sony.com" title="Paul Robinson <paul_robinson@playstation.sony.com>"> <span class="fn">Paul Robinson</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - There doesn't seem to be a way to specify a dwarf version with -gmlt/-gline-tables-only"
   href="https://bugs.llvm.org/show_bug.cgi?id=23182">bug 23182</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - There doesn't seem to be a way to specify a dwarf version with -gmlt/-gline-tables-only"
   href="https://bugs.llvm.org/show_bug.cgi?id=23182#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - There doesn't seem to be a way to specify a dwarf version with -gmlt/-gline-tables-only"
   href="https://bugs.llvm.org/show_bug.cgi?id=23182">bug 23182</a>
              from <span class="vcard"><a class="email" href="mailto:paul_robinson@playstation.sony.com" title="Paul Robinson <paul_robinson@playstation.sony.com>"> <span class="fn">Paul Robinson</span></a>
</span></b>
        <pre>The -gdwarf-N option implies -g, which appears to match gcc behavior,
as of Clang 6.0.

I used -gdwarf-3 because it isn't anyone's default, and -g1 because
gcc does not recognize the -gmlt or gline-tables-only spellings.
I tested back to clang 4.0 (don't have anything older handy).

-gdwarf-3 -g1
    clang <= 5.0: line tables v2, stub info v3
    clang >= 6.0: line tables v3, stub info v3
    gcc 7.4.0   : line tables v2, stub info v3

-g1 -gdwarf-3
    clang <= 5.0: line tables v2, full info v3
    clang >= 6.0: line tables v3, full info v3
    gcc 7.4.0   : line tables v2, full info v3

Marking as fixed.</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>