]> granicus.if.org Git - clang/commit
fix PR7714 by not referencing off the end of a struct when passed by value in
authorChris Lattner <sabre@nondot.org>
Wed, 28 Jul 2010 22:15:08 +0000 (22:15 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 Jul 2010 22:15:08 +0000 (22:15 +0000)
commit1daf808a48d26328dd31a3275ce599cee326c957
treeb9bf603de5f96c5801d148d6efeedfd7ee10691d
parentfd0b87006b478bb573d369385aed64a58225264d
fix PR7714 by not referencing off the end of a struct when passed by value in
x86-64 abi.  This also improves codegen as well.  Some refactoring is needed of
this code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109681 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/x86_64-arguments.c