<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Compilation of large string map with asan and debug symbols never finishes"
   href="https://llvm.org/bugs/show_bug.cgi?id=30746">30746</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compilation of large string map with asan and debug symbols never finishes
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>efidler@topologyinc.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17463" name="attach_17463" title="test C++ file">attachment 17463</a> <a href="attachment.cgi?id=17463&action=edit" title="test C++ file">[details]</a></span>
test C++ file

I have a "static std::map<std::string, std::string>" with a few hundred
entries.

With Clang 3.7, a regular debug build takes 2.42s and an ASAN debug build takes
24.72s. With Clang 3.8, a regular debug build takes 2.53s and an ASAN debug
build never finishes (I gave up after waiting a few hours).

I'm testing on macOS sierra with llvm installed from homebrew, if that matters.

The closest bug I found was <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - LiveDebugValues is very slow"
   href="show_bug.cgi?id=26055">https://llvm.org/bugs/show_bug.cgi?id=26055</a> but I
don't know enough about LLVM internals to know if that's really related.</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>