[all-commits] [llvm/llvm-project] 314b92: Revert "[CGBlocks] Improve line info in backtraces...

adrian-prantl via All-commits all-commits at lists.llvm.org
Thu Mar 5 09:58:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 314b9278f0975b12e15d6e12f896eaf7c4519ef2
      https://github.com/llvm/llvm-project/commit/314b9278f0975b12e15d6e12f896eaf7c4519ef2
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/test/CodeGenObjC/debug-info-blocks.m

  Log Message:
  -----------
  Revert "[CGBlocks] Improve line info in backtraces containing *_helper_block"

Block copy/destroy helpers are now linkonce_odr functions, meant to be uniqued, and thus attaching debug information from one translation unit (or even just from one instance of many inside one translation unit) would be misleading and wrong in the general case.

This effectively reverts commit 9c6b6826ce3720ca8bb9bd15f3abf71261e6b911.

<rdar://problem/59137040>

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




More information about the All-commits mailing list