[all-commits] [llvm/llvm-project] f13f05: [DebugInfo] Support for signed constants inside DI...

Sourabh Singh Tomar via All-commits all-commits at lists.llvm.org
Tue Mar 30 10:51:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f13f0505515dcb1d256673c5224cc3ca55569122
      https://github.com/llvm/llvm-project/commit/f13f0505515dcb1d256673c5224cc3ca55569122
  Author: Sourabh Singh Tomar <SourabhSingh.Tomar at amd.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    A llvm/test/DebugInfo/X86/global-constants.ll
    A llvm/test/DebugInfo/X86/invalid-global-constants.ll
    M llvm/test/DebugInfo/X86/stack-value-dwarf4.ll
    M llvm/test/Transforms/StripSymbols/strip-dead-debug-info.ll

  Log Message:
  -----------
  [DebugInfo] Support for signed constants inside DIExpression

Negative numbers are represented using DW_OP_consts along with signed representation
of the number as the argument.

Test case IR is generated using Fortran front-end.

Reviewed By: aprantl

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




More information about the All-commits mailing list