]> granicus.if.org Git - llvm/commit
Re-reland "[Option] Fix PR37006 prefix choice in findNearest"
authorNico Weber <nicolasweber@gmx.de>
Tue, 30 Apr 2019 17:46:00 +0000 (17:46 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 30 Apr 2019 17:46:00 +0000 (17:46 +0000)
commited4e4a5f8d362175f645fc7ec6e48b90d9ad38b1
tree75e6fa29304eb89639e21879c3dda41911743a09
parentb0114c7fd8e1144f37510342c4c13dd7446ccbe7
Re-reland "[Option] Fix PR37006 prefix choice in findNearest"

This was first reviewed in https://reviews.llvm.org/D46776 and
landed in r332299, but got reverted because it broke the PS4
bots.

https://reviews.llvm.org/D50410 fixed this, and then this
change was re-reviewed at https://reviews.llvm.org/D50515 and
relanded in r341329. It got reverted due to causing MSan issues.
However, nobody wrote down the error message and the bot link
is dead, so I'm relanding this to capture the MSan error.
I'll then either fix it, or copy it somewhere and revert if
fixing looks difficult.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359580 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Option/OptTable.cpp
unittests/Option/OptionParsingTest.cpp
unittests/Option/Opts.td