summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorAleksei Sidorin <a.sidorin@samsung.com>2017-03-03 16:58:53 +0000
committerAleksei Sidorin <a.sidorin@samsung.com>2017-03-03 16:58:53 +0000
commitf82a63277ab5fedb1f415a51ae6180e29259504a (patch)
treeea05d66307d1050eb6d8299890985b1be9f040de /llvm/lib/Support/Threading.cpp
parent1716aa45f1d61cfe89ccda64328fc71ad1cf533d (diff)
downloadbcm5719-llvm-f82a63277ab5fedb1f415a51ae6180e29259504a.tar.gz
bcm5719-llvm-f82a63277ab5fedb1f415a51ae6180e29259504a.zip
[Analyzer] Terminate analysis on OpenMP code instead of assertion crash
* ExprEngine assumes that OpenMP statements should never appear in CFG. However, current CFG doesn't know anything about OpenMP and passes such statements as CFG nodes causing "UNREACHABLE executed!" crashes. Since there is no OpenMP implementation in ExprEngine or CFG, we stop the analysis on OpenMP statements to avoid crashes. This fixes PR31835. Differential Revision: https://reviews.llvm.org/D30565 llvm-svn: 296884
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud