<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 - Crash in clang::ento::MemRegion::getKind()"
   href="https://bugs.llvm.org/show_bug.cgi?id=32088">32088</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash  in clang::ento::MemRegion::getKind()
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>kremenek@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alexfh@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=18031" name="attach_18031" title="Test case that's causing a crash">attachment 18031</a> <a href="attachment.cgi?id=18031&action=edit" title="Test case that's causing a crash">[details]</a></span>
Test case that's causing a crash

$ clang-tidy -checks=-*,clang-analyzer* getBaseRegion-repro.cc -- -std=c++11

PC: @          0x6a9eebc  (unknown)  clang::ento::MemRegion::getKind()
    @          0x9a0b2b2       1344  FailureSignalHandler()
    @     0x7f6a3cc283d0  (unknown)  (unknown)
    @          0x75c807d         48  clang::ento::MemRegion::getBaseRegion()
    @          0x760129e        224 
clang::ento::ExprEngine::ProcessAutomaticObjDtor()
    @          0x75fd736        256 
clang::ento::ExprEngine::ProcessImplicitDtor()
    @          0x75fc7e0        224 
clang::ento::ExprEngine::processCFGElement()
    @          0x7629e96        128  clang::ento::CoreEngine::HandlePostStmt()
    @          0x7629793        448 
clang::ento::CoreEngine::dispatchWorkItem()
    @          0x7629328        544  clang::ento::CoreEngine::ExecuteWorkList()
    @          0x6a42215         80  clang::ento::ExprEngine::ExecuteWorkList()
    @          0x69eced2        976  (anonymous
namespace)::AnalysisConsumer::ActionExprEngine()
    @          0x69ecc91         80  (anonymous
namespace)::AnalysisConsumer::RunPathSensitiveChecks()
    @          0x69ec950        320  (anonymous
namespace)::AnalysisConsumer::HandleCode()
    @          0x69e0413        416  (anonymous
namespace)::AnalysisConsumer::HandleDeclsCallGraph()
    @          0x69de697        336  (anonymous
namespace)::AnalysisConsumer::HandleTranslationUnit()
    @          0x735c87e         80 
clang::MultiplexConsumer::HandleTranslationUnit()
    @          0x77b66e6        288  clang::ParseAST()
    @          0x736902a         80  clang::ASTFrontendAction::ExecuteAction()
    @          0x7368af0        112  clang::FrontendAction::Execute()
    @          0x71952ef        464  clang::CompilerInstance::ExecuteAction()
    @          0x6faed6e        416 
clang::tooling::FrontendActionFactory::runInvocation()
    @          0x6faec13        160 
clang::tooling::ToolInvocation::runInvocation()
    @          0x6fad512       1824  clang::tooling::ToolInvocation::run()
    @          0x6fafdb6       1664  clang::tooling::ClangTool::run()
    @          0x6470821       2304  clang::tidy::runClangTidy()
    @           0x62f0ce       2208  clang::tidy::clangTidyMain()
    @           0x62e5e2         48  main</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>