[all-commits] [llvm/llvm-project] d8136f: [CodeGen][ObjC] Emit a primitive store to store a ...
ahatanaka via All-commits
all-commits at lists.llvm.org
Tue Dec 3 23:48:19 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d8136f14f125fb27f2326f397df0964bf62078ca
https://github.com/llvm/llvm-project/commit/d8136f14f125fb27f2326f397df0964bf62078ca
Author: Akira Hatanaka <ahatanaka at apple.com>
Date: 2019-12-03 (Tue, 03 Dec 2019)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGExpr.cpp
A clang/test/CodeGenObjC/nontrivial-struct-param-init.m
Log Message:
-----------
[CodeGen][ObjC] Emit a primitive store to store a __strong field in
ExpandTypeFromArgs
This fixes a bug in IRGen where a call to `llvm.objc.storeStrong` was
being emitted to initialize a __strong field of an uninitialized
temporary struct, which caused crashes at runtime.
rdar://problem/51807365
More information about the All-commits
mailing list