[all-commits] [llvm/llvm-project] 70165b: [DebugInfo] Fix emitting offsets to CUs with -dwar...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Thu Jun 25 22:13:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 70165bb7e91de53e046e9de7b593a388d998752c
      https://github.com/llvm/llvm-project/commit/70165bb7e91de53e046e9de7b593a388d998752c
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2020-06-26 (Fri, 26 Jun 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
    A llvm/test/DebugInfo/X86/sections-as-references-cu-offset.ll

  Log Message:
  -----------
  [DebugInfo] Fix emitting offsets to CUs with -dwarf-sections-as-references=Enable.

The size of the field depends on the DWARF format, not the address size
of the target.

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




More information about the All-commits mailing list