diff options
| author | John McCall <rjmccall@apple.com> | 2012-12-07 07:03:17 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2012-12-07 07:03:17 +0000 |
| commit | c818bbb8b283739934f42f328711bbd900984c8d (patch) | |
| tree | 64dd7d1dd12dcefa48ac19b4b939750ca7ba2be6 /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp | |
| parent | 3f2f792673c11ce1459dd7299497ea9fb25177bf (diff) | |
Fix the required args count for variadic blocks.
We were emitting calls to blocks as if all arguments were
required --- i.e. with signature (A,B,C,D,...) rather than
(A,B,...). This patch fixes that and accounts for the
implicit block-context argument as a required argument.
In addition, this patch changes the function type under which
we call unprototyped functions on platforms like x86-64 that
guarantee compatibility of variadic functions with unprototyped
function types; previously we would always call such functions
under the LLVM type T (...)*, but now we will call them under
the type T (A,B,C,D,...)*. This last change should have no
material effect except for making the type conventions more
explicit; it was a side-effect of the most convenient implementation.
llvm-svn: 169588
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp')
0 files changed, 0 insertions, 0 deletions
