<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - clang fatal error using __declspec(allocator) with -O3 : "error in backend: invalid symbol redefinition""
   href="https://bugs.llvm.org/show_bug.cgi?id=43695">bug 43695</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>DUPLICATE
           </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 DUPLICATE - clang fatal error using __declspec(allocator) with -O3 : "error in backend: invalid symbol redefinition""
   href="https://bugs.llvm.org/show_bug.cgi?id=43695#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - clang fatal error using __declspec(allocator) with -O3 : "error in backend: invalid symbol redefinition""
   href="https://bugs.llvm.org/show_bug.cgi?id=43695">bug 43695</a>
              from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
        <pre>Yes, the key thing here is -O3, which raises the tail duplication threshold,
resulting in the same label being emitted twice. I discussed a plan to fix this
with Amy yesterday.

In the meantime, I might try to put together a workaround to make this not be a
fatal error. Missing one heap allocation site won't be the end of the world.

*** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Regression since SVN r368230, "[MS] Emit S_HEAPALLOCSITE debug info in Selection DAG""
   href="show_bug.cgi?id=43479">bug 43479</a> ***</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>