[all-commits] [llvm/llvm-project] 37fa9d: [CodeGen][ObjC] Don't extend lifetime of ObjC poin...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Tue Mar 10 22:24:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37fa9d65eaa7d8fae7e5b787c4e8ef0a982cead5
      https://github.com/llvm/llvm-project/commit/37fa9d65eaa7d8fae7e5b787c4e8ef0a982cead5
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenObjC/os_log.m

  Log Message:
  -----------
  [CodeGen][ObjC] Don't extend lifetime of ObjC pointers passed to calls
to __builtin_os_log_format if ARC isn't enabled

Fixes a bug introduced in this commit:
https://github.com/llvm/llvm-project/commit/f4d791f8332c2bb7e89849d0fe4ef48cb0a23229

rdar://problem/60301219




More information about the All-commits mailing list