<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Clang 7.0.1 crashes on AArch64"
   href="https://bugs.llvm.org/show_bug.cgi?id=40361">40361</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clang 7.0.1 crashes on AArch64
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>qroxana@mail.ru
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After upgrading to Clang 7.0.1, it crashed when compiling various
programs on AArch64. They were all terminated at the same place:

# lldb /usr/bin/clang -c /usr/obj/usr/src/arm64.aarch64/lib/libc/cc.core
Core file '/usr/obj/usr/src/arm64.aarch64/lib/libc/cc.core' (aarch64) was
loaded.
(lldb) bt
* thread #1, name = 'cc', stop reason = signal SIGSEGV
  * frame #0: 0x0000000002db02b8 clang`::LookupBucketFor() at StringMap.cpp:79
    frame #1: 0x0000000003aeaa30 clang`::try_emplace<llvm::cl::Option *>() at
StringMap.h:396
    frame #2: 0x0000000003aeabac clang`::addOption() [inlined] insert at
StringMap.h:387
    frame #3: 0x0000000003aeaba8 clang`::addOption() at CommandLine.cpp:151
    frame #4: 0x0000000003ae1c00 clang`::addArgument() [inlined] addOption at
CommandLine.cpp:194
    frame #5: 0x0000000003ae1b44 clang`::addArgument() at CommandLine.cpp:357
    frame #6: 0x000000000305207c clang at CommandLine.h:1342
    frame #7: 0x0000000003052078 clang at CommandLine.h:1365
    frame #8: 0x0000000003051fcc clang at CorrelatedValuePropagation.cpp:67
    frame #9: 0x0000000003051fcc clang at CorrelatedValuePropagation.cpp:0
    frame #10: 0x00000000011d01a0 clang`handle_static_init(argc=138,
argv=0x0000ffffffffcfd8, env=0x0000ffffffffd430) at ignore_init.c:124
    frame #11: 0x00000000011d00a8 clang`__start(argc=138,
argv=0x0000ffffffffcfd8, env=0x0000ffffffffd430, cleanup=<unavailable>) at
crt1.c:83</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>