[llvm-bugs] [Bug 34404] New: llvm_unreachable in clang::ento::ExprEngine::VisitCommonDeclRefExpr()
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 1 03:18:12 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34404
Bug ID: 34404
Summary: llvm_unreachable in
clang::ento::ExprEngine::VisitCommonDeclRefExpr()
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: dcoughlin at apple.com
Reporter: alexfh at google.com
CC: llvm-bugs at lists.llvm.org
$ cat VisitCommonDeclRefExpr-crash.cc
struct a {
struct {
long b;
};
};
void c() { &a::b; }
$ clang-tidy -checks=-*,clang-analyzer* VisitCommonDeclRefExpr-crash.cc --
-std=c++11
Support for this Decl not implemented.
UNREACHABLE executed at
llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2087!
*** SIGABRT received by PID 14594 (TID 14594) from PID 14594; stack trace: ***
@ 0x7fdf7a59122f 304 abort
@ 0x468c3d0 80 llvm::llvm_unreachable_internal()
@ 0x2e172fd 960
clang::ento::ExprEngine::VisitCommonDeclRefExpr()
@ 0x2e13458 3888 clang::ento::ExprEngine::Visit()
@ 0x2e0fe44 528 clang::ento::ExprEngine::ProcessStmt()
@ 0x2e0faca 240
clang::ento::ExprEngine::processCFGElement()
@ 0x2e3da58 192
clang::ento::CoreEngine::HandleBlockEntrance()
@ 0x2e3d273 496
clang::ento::CoreEngine::dispatchWorkItem()
@ 0x2e3d0a8 544 clang::ento::CoreEngine::ExecuteWorkList()
@ 0x2138e05 80 clang::ento::ExprEngine::ExecuteWorkList()
@ 0x20e1802 1056 (anonymous
namespace)::AnalysisConsumer::ActionExprEngine()
@ 0x20e15c1 80 (anonymous
namespace)::AnalysisConsumer::RunPathSensitiveChecks()
@ 0x20e1285 288 (anonymous
namespace)::AnalysisConsumer::HandleCode()
@ 0x20d4963 416 (anonymous
namespace)::AnalysisConsumer::HandleDeclsCallGraph()
@ 0x20d2be7 336 (anonymous
namespace)::AnalysisConsumer::HandleTranslationUnit()
@ 0x25136ce 80
clang::MultiplexConsumer::HandleTranslationUnit()
@ 0x2f59506 288 clang::ParseAST()
@ 0x250109a 80 clang::ASTFrontendAction::ExecuteAction()
@ 0x2500b30 112 clang::FrontendAction::Execute()
@ 0x23192c2 464 clang::CompilerInstance::ExecuteAction()
@ 0x21eac92 464
clang::tooling::FrontendActionFactory::runInvocation()
@ 0x21eab33 160
clang::tooling::ToolInvocation::runInvocation()
@ 0x21e9426 1840 clang::tooling::ToolInvocation::run()
@ 0x21ebd20 1664 clang::tooling::ClangTool::run()
@ 0x1a5e574 1680 clang::tidy::runClangTidy()
@ 0x5d8eb1 2784 clang::tidy::clangTidyMain()
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170901/2bd2f954/attachment.html>
More information about the llvm-bugs
mailing list