<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Cannot combine -m32 with -masm=intel"
   href="https://bugs.llvm.org/show_bug.cgi?id=38535">bug 38535</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;">CC</td>
           <td>
                
           </td>
           <td>nicolasweber@gmx.de
           </td>
         </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>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Cannot combine -m32 with -masm=intel"
   href="https://bugs.llvm.org/show_bug.cgi?id=38535#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Cannot combine -m32 with -masm=intel"
   href="https://bugs.llvm.org/show_bug.cgi?id=38535">bug 38535</a>
              from <span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span></b>
        <pre>This is working for me now, on Linux:

$ out/gn/bin/clang -m32 -masm=intel -S hello.c && out/gn/bin/clang -m32
-masm=intel -o hello hello.s && ./helloHello world!


(I can't try with apple clang since macOS no longer ships 32-bit system
libraries.)

So I guess this was either fixed in the last 3 years (there were a whole bunch
of fixes to the intel asm parser, e.g. <a href="https://reviews.llvm.org/D71436">https://reviews.llvm.org/D71436</a>), or it
has become obsolete (maybe it was only a problem on 32-bit macOS, and running
32-bit binaries is no longer a thing as of macOS 10.15 -- released oct 2019).

I'll close this out, please shout if you still need this.</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>