HomePhabricator

Fix assertion failure in NativeProcessProtocolTest

Authored by labath on Dec 27 2018, 5:45 AM.

Description

Fix assertion failure in NativeProcessProtocolTest

The assertion fired (with a debug visual studio STL) because we tried to
dereference the end of a vector (although it was only to take its
address again and form an end iterator). Rewrite this logic to avoid the
questionable code.

llvm-svn: 350091

Details

Committed
labathDec 27 2018, 5:45 AM
Parents
rG018f505c9eb1: [Sanitizer] Enable FTS api on FreeBSD
Branches
Unknown
Tags
Unknown