]> granicus.if.org Git - llvm/commit
Small tweak to one check in error handling to the dyld compact export
authorKevin Enderby <enderby@apple.com>
Mon, 24 Jul 2017 20:33:41 +0000 (20:33 +0000)
committerKevin Enderby <enderby@apple.com>
Mon, 24 Jul 2017 20:33:41 +0000 (20:33 +0000)
commit04cdb2eeb460026329bc765469ff557a3112fa19
tree9d162e4f7dd449e9da5e4586e6b943917d340be8
parent4b85cce0fdf5dc485e1d5e760620d6d93c888cfd
Small tweak to one check in error handling to the dyld compact export
entries in libObject (done in r308690).  In the case when the last node
has no children setting State.Current = Children + 1; where that would be past
Trie.end() is actually ok since the pointer is not used with zero children.

rdar://33490512

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308924 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/MachOObjectFile.cpp