<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 FIXED - clang++ emits wrong section name for x86_64-w64-mingw32 target"
   href="https://bugs.llvm.org/show_bug.cgi?id=9744">bug 9744</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>rnk@google.com
           </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>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang++ emits wrong section name for x86_64-w64-mingw32 target"
   href="https://bugs.llvm.org/show_bug.cgi?id=9744#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang++ emits wrong section name for x86_64-w64-mingw32 target"
   href="https://bugs.llvm.org/show_bug.cgi?id=9744">bug 9744</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>I don't think we rely on the name of the section like this anymore. We make
comdats in a more straightforward way now.

For simple inline functions like this:
inline int foo(int a, int b) {
  return a + b;
}
int main() {
  return foo(1, 2);
}

We make a section like:
        .def     _Z3fooii;
        .scl    2;
        .type   32;
        .endef
        .section        .text,"xr",discard,_Z3fooii
        .globl  _Z3fooii                # -- Begin function _Z3fooii
        .p2align        4, 0x90
_Z3fooii:                               # @_Z3fooii
.seh_proc _Z3fooii
# %bb.0:                                # %entry
        pushq   %rax
        .seh_stackalloc 8

See that .linkonce isn't used and the section is merely called ".text".</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>