This fixes a crash when invalid -march options like armv are provided.
Based on a patch by Will Lovett.
Paths
| Differential D41429
[TargetParser] Check size before accessing architecture version. ClosedPublic Authored by fhahn on Dec 20 2017, 1:33 AM.
Details Summary This fixes a crash when invalid -march options like armv are provided. Based on a patch by Will Lovett.
Diff Detail
Revision Contents
Diff 127668 lib/Support/TargetParser.cpp
unittests/Support/TargetParserTest.cpp
|