diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-23 05:26:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-23 05:26:13 +0000 |
commit | b6c504b9101251bcb364dd9becbb887c97db27d3 (patch) | |
tree | 8c3f0c18eaae8b39312904ce0f6a397660a55d0b /lib/Sema/SemaInit.cpp | |
parent | 796788ff212241152afef47c21b077904e188a3f (diff) |
fix rdar://8340348, a miscompile of boost that was exposed by r109848.
That revision started classifying truly empty structs like "Y" and "X"
as being NoClass/NoClass and turning them into 'ignore'. The call code
turns around and allocates space for the ignored argument with
GetUndefRValue. The bug is that GetUndefRValue would return the address
as undef, instead of returning an object with a defined address but
undefined contents.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions