diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-05-30 01:05:58 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-05-30 01:05:58 +0000 |
commit | 543bdd1237e3ab6ea0ded408c82e3cca4b5769c2 (patch) | |
tree | 86eace9e95a35fa9fdf4eefabc7b8198cd899ea2 /llvm/lib/Object/ObjectFile.cpp | |
parent | d1c5a317213a7d5551701bf9e2adf9246ceb6283 (diff) | |
download | llvm-543bdd1237e3ab6ea0ded408c82e3cca4b5769c2.zip llvm-543bdd1237e3ab6ea0ded408c82e3cca4b5769c2.tar.gz llvm-543bdd1237e3ab6ea0ded408c82e3cca4b5769c2.tar.bz2 |
[analyzer; new edges] In for(;;), use the ForStmt itself for loop notes.
Most loop notes (like "entering loop body") are attached to the condition
expression guarding a loop or its equivalent. For loops may not have a
condition expression, though. Rather than crashing, just use the entire
ForStmt as the location. This is probably the best we can do.
<rdar://problem/14016063>
llvm-svn: 182904
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions