diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-06-29 07:04:55 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-06-29 07:04:55 +0000 |
commit | ded137fcab19f0aace08a28b5c91574e6b23debc (patch) | |
tree | 3be48f9fa6bac39fd13585ce5b330b0ee1edd7ad /lib/CodeGen/CGBlocks.cpp | |
parent | 1df396d85d87b7d6e05cd7110d64ec8eeed74bef (diff) |
We don't pass classes with a copy-constructor or destructor byval, so the address takes up an integer register (if one is available). Make sure the x86-64 ABI implementation takes that into account properly.
The fixed implementation is compatible with the implementation both gcc and llvm-gcc use.
rdar://9686430 . (This is the issue that was reported in the thread "[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable".)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions