diff options
author | Jim Ingham <jingham@apple.com> | 2016-10-06 18:57:30 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-10-06 18:57:30 +0000 |
commit | d35ff4cb0d5123646fca0434301761578fc62237 (patch) | |
tree | ba31391a0ea8eda6259fb4d53cab5461689b9f1e /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 6d6b4d87a39cc9fbdd6d0238c8ec0254bfa0ddd0 (diff) | |
download | bcm5719-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