[all-commits] [llvm/llvm-project] 709c52: [DebugInfo][DWARF] Emit a single location instead ...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon May 18 01:50:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 709c52b9553f4ba83ab901a873392f8a7f2c56a5
      https://github.com/llvm/llvm-project/commit/709c52b9553f4ba83ab901a873392f8a7f2c56a5
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2020-05-18 (Mon, 18 May 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    A llvm/test/DebugInfo/X86/single-location-inlined-param.mir
    A llvm/test/DebugInfo/X86/single-location-interrupted-scope.mir
    A llvm/test/DebugInfo/X86/single-location.mir

  Log Message:
  -----------
  [DebugInfo][DWARF] Emit a single location instead of a location list

for variables in nested scopes (including inlined functions) if there is a
single location which covers the entire scope and the scope is contained in a
single block.

Based on work by @jmorse.

Reviewed By: vsk, aprantl

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




More information about the All-commits mailing list