summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-10-06 18:57:30 +0000
committerJim Ingham <jingham@apple.com>2016-10-06 18:57:30 +0000
commitd35ff4cb0d5123646fca0434301761578fc62237 (patch)
treeba31391a0ea8eda6259fb4d53cab5461689b9f1e /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent6d6b4d87a39cc9fbdd6d0238c8ec0254bfa0ddd0 (diff)
downloadbcm5719-llvm-d35ff4cb0d5123646fca0434301761578fc62237.tar.gz
bcm5719-llvm-d35ff4cb0d5123646fca0434301761578fc62237.zip
StringRef::front asserts on empty strings, causing "break modify -c ''" to assert.
Added a check for empty at the point where we were going to crash. <rdar://problem/28654032> llvm-svn: 283479
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud