diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2019-04-10 06:20:20 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-04-10 06:20:20 +0000 |
commit | 9ca9d32b6be038debc6fda9c16a5f95b59e9b806 (patch) | |
tree | 1c85ba4ddb65ada984e304eb1ec9f928134a7412 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 391d5caa106007daaa1ae0bf8214f9020f40a8b5 (diff) | |
download | bcm5719-llvm-9ca9d32b6be038debc6fda9c16a5f95b59e9b806.tar.gz bcm5719-llvm-9ca9d32b6be038debc6fda9c16a5f95b59e9b806.zip |
[ObjC][ARC] Convert the retainRV marker that is passed as a named
metadata into a module flag in the auto-upgrader and make the ARC
contract pass read the marker as a module flag.
This is needed to fix a bug where ARC contract wasn't inserting the
retainRV marker when LTO was enabled, which caused objects returned
from a function to be auto-released.
rdar://problem/49464214
Differential Revision: https://reviews.llvm.org/D60303
llvm-svn: 358047
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions