[all-commits] [llvm/llvm-project] e39286: Temporary fix for D85085 debug_loc bug with basic ...

Sriraman Tallam via All-commits all-commits at lists.llvm.org
Thu Sep 24 14:43:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e39286510deb59730c40fa662a44e73f484ea1c2
      https://github.com/llvm/llvm-project/commit/e39286510deb59730c40fa662a44e73f484ea1c2
  Author: Sriraman Tallam <tmsriram at google.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    A llvm/test/DebugInfo/X86/basic-block-sections-debug-loc.ll

  Log Message:
  -----------
  Temporary fix for D85085 debug_loc bug with basic block sections.

Until then, this one line fix removes the assert fail with basic block sections
with debug info. Bug tracking this: #47549
This fix does not generate loc list or DW_AT_const_value if the argument is
mentioned in a different section than the start of the function.

Temporarily fixes bugzilla : https://bugs.llvm.org/show_bug.cgi?id=47549

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




More information about the All-commits mailing list