aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-11-28 22:08:52 +0000
committerManman Ren <mren@apple.com>2012-11-28 22:08:52 +0000
commitf51c61c78e8487061b6a434286488fa3e5b919e5 (patch)
tree046eed6e2928b97b4cc365c2ac2b81c909693ce8 /lib/Driver/Tools.cpp
parentf641166066c7053300cada4ca5c9e69ad1cd2358 (diff)
ABI: modify CreateCoercedLoad and CreateCoercedStore to not use load or store of
the original parameter or return type. Since we do not accurately represent the data fields of a union, we should not directly load or store a union type. As an exmple, if we have i8,i8, i32, i32 as one field type and i32,i32 as another field type, the first field type will be chosen to represent the union. If we load with the union's type, the 3rd byte and the 4th byte will be skipped. rdar://12723368 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions