commit | c82ddc24fd38fcd2882a7b15f1e587d4ab4b4f6a | [log] [tgz] |
---|---|---|
author | Karl Schimpf <kschimpf@google.com> | Thu Sep 03 15:41:34 2015 +0000 |
committer | Karl Schimpf <kschimpf@google.com> | Thu Sep 03 15:41:34 2015 +0000 |
tree | 9c351e88eb7540b9160f25be13ce03bb1397db48 | |
parent | dfec7f8eea24c17ebc1489351edbf6804cf858ca [diff] |
Fix SEGV in InlineAsm::ConstraintInfo::Parse. Fixes bug 24646. Previous code was not checking if an index into a vector was valid, resulting in a SEGV. Fixed by assuming the construct can't be parsed when given this input. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246773 91177308-0d34-0410-b5e6-96231b3b80d8