AsmParser: Reject alloca with function type
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 16 Feb 2015 08:38:03 +0000 (08:38 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 16 Feb 2015 08:38:03 +0000 (08:38 +0000)
commitb3dd3c7ac3829b94e4f0c8f6499621f5c7b3d04e
treeff9987b94278483458e82cd62658b0f714409eb0
parentd99cd97f858193a1c82b5e9f63e03da85285e0c6
AsmParser: Reject alloca with function type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
test/Assembler/alloca-invalid-type-2.ll [new file with mode: 0644]
test/Assembler/alloca-invalid-type.ll
test/Verifier/2008-03-01-AllocaSized.ll