[all-commits] [llvm/llvm-project] 338588: Debug Info: Apply a default location for cleanups ...

adrian-prantl via All-commits all-commits at lists.llvm.org
Thu Dec 5 13:30:28 PST 2019


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

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CodeGenFunction.cpp

  Log Message:
  -----------
  Debug Info: Apply a default location for cleanups if none is available.

This unbreaks the debuginfo-tests testsuite by replacing the assertion
with a default location. There are cleanups in helper functions that
don't have a valid source location such as block copy helpers and it's
not worth tracking each of them down.

rdar://57630879




More information about the All-commits mailing list