aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKarl Schimpf <kschimpf@google.com>2015-09-03 15:41:37 +0000
committerKarl Schimpf <kschimpf@google.com>2015-09-03 15:41:37 +0000
commitf04a5d597886696f085c6fdcae68c14cc571b3bf (patch)
tree7cc58063009deacdd67627a636c8172a53121e0f /clang/lib/CodeGen/CodeGenModule.cpp
parent388fd5ae2fff69406fb8b4a2f9eb2c764cc6c80d (diff)
downloadllvm-f04a5d597886696f085c6fdcae68c14cc571b3bf.zip
llvm-f04a5d597886696f085c6fdcae68c14cc571b3bf.tar.gz
llvm-f04a5d597886696f085c6fdcae68c14cc571b3bf.tar.bz2
Fix SEGV in InlineAsm::ConstraintInfo::Parse.
Summary: 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. Reformat and add test. Differential Revision: http://reviews.llvm.org/D12539 llvm-svn: 246774
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions