summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-06-06 00:12:41 +0000
committerJordan Rose <jordan_rose@apple.com>2013-06-06 00:12:41 +0000
commit7a8bd94365ac0a3ea31a6d3f3c726f360fb08766 (patch)
treeeb3fa5c54fe1888e6f8d8528bda9df6e869597c6 /llvm/lib/Transforms
parentb67b7b201f28a855ab0080812287c5ce728cc43c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud