commit | 7e21ffb97e1da7ee5470865859c5b4bfbe0b91a3 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed May 05 22:55:13 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed May 05 22:55:13 2010 +0000 |
tree | edc15343f2638a9caba981519f4c265a410e800c | |
parent | 60a8fbb4242e2535ccddd1fa2d8257ec1bf749c2 [diff] |
Pass the globaldecl into GetOrCreateLLVMFunction so that llvm function attributes like byval get applied to the function definition. This fixes PR7058 and makes i386 llvm/clang bootstrap pass all the same tests as x86-64 bootstrap for me (the llvmc tests still fail in both). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103131 91177308-0d34-0410-b5e6-96231b3b80d8