[all-commits] [llvm/llvm-project] c024f3: Teach the stripNonLineTableDebugInfo pass about th...

adrian-prantl via All-commits all-commits at lists.llvm.org
Thu Apr 2 17:39:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c024f3ebdcfc9910d7d8f711a76d9dc669c9e97c
      https://github.com/llvm/llvm-project/commit/c024f3ebdcfc9910d7d8f711a76d9dc669c9e97c
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll

  Log Message:
  -----------
  Teach the stripNonLineTableDebugInfo pass about the llvm.dbg.addr intrinsic.

This patch also strips llvm.dbg.addr intrinsics when downgrading debug
info to linetables-only.

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


  Commit: 93fe58c9cf532d8ddb166d8d00667707bc017ed7
      https://github.com/llvm/llvm-project/commit/93fe58c9cf532d8ddb166d8d00667707bc017ed7
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M llvm/lib/IR/DebugInfo.cpp
    A llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-labels.ll

  Log Message:
  -----------
  Teach the stripNonLineTableDebugInfo pass about the llvm.dbg.label intrinsic.

Debug info for labels is not generated at -gline-tables-only, so this
pass should remove them.

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


Compare: https://github.com/llvm/llvm-project/compare/8838d6d3566d...93fe58c9cf53


More information about the All-commits mailing list