[all-commits] [llvm/llvm-project] a1a9aa: Set a source location for Objective-C accessor stubs

adrian-prantl via All-commits all-commits at lists.llvm.org
Thu Dec 5 12:45:27 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a1a9aa17b4db08937e458cdda85327b9eff307df
      https://github.com/llvm/llvm-project/commit/a1a9aa17b4db08937e458cdda85327b9eff307df
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M clang/lib/Sema/SemaObjCProperty.cpp
    A clang/test/SemaObjC/default-synthesize-sourceloc.m

  Log Message:
  -----------
  Set a source location for Objective-C accessor stubs
even when there is no explicit synthesize statement.

This fixes a regression introduced in https://reviews.llvm.org/D68108
that could lead to missing debug locations in cleanup code in
synthesized Objective-C++ properties.

rdar://57630879

Differential Revision: https://reviews.llvm.org/D71084


  Commit: ce7d35988d1ca5e17758283804ea1f76389dc1f0
      https://github.com/llvm/llvm-project/commit/ce7d35988d1ca5e17758283804ea1f76389dc1f0
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M clang/lib/CodeGen/CGObjC.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    A clang/test/CodeGenObjCXX/synthesized-property-cleanup.mm

  Log Message:
  -----------
  Debug Info: Assert that location is available for cleanups

rdar://57630879

Differential Revision: https://reviews.llvm.org/D71042


Compare: https://github.com/llvm/llvm-project/compare/d0b9ed5c490e...ce7d35988d1c


More information about the All-commits mailing list