diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-06-06 00:12:41 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-06-06 00:12:41 +0000 |
| commit | 7a8bd94365ac0a3ea31a6d3f3c726f360fb08766 (patch) | |
| tree | eb3fa5c54fe1888e6f8d8528bda9df6e869597c6 /llvm/lib/Transforms | |
| parent | b67b7b201f28a855ab0080812287c5ce728cc43c (diff) | |
| download | bcm5719-llvm-7a8bd94365ac0a3ea31a6d3f3c726f360fb08766.tar.gz bcm5719-llvm-7a8bd94365ac0a3ea31a6d3f3c726f360fb08766.zip | |
[analyzer; new edges] Don't crash if the top-level entry edge is missing.
We previously asserted that there was a top-level function entry edge, but
if the function decl's location is invalid (or within a macro) this edge
might not exist. Change the assertion to an actual check, and don't drop
the first path piece if it doesn't match.
<rdar://problem/14070304>
llvm-svn: 183358
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

