[PATCH] D99273: [DebugInfo] Support for signed constants inside DIExpression
Sourabh Singh Tomar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 24 09:00:46 PDT 2021
SouraVX created this revision.
SouraVX added reviewers: aprantl, alok, jini.susan.george, probinson.
SouraVX added a project: debug-info.
Herald added subscribers: dexonsmith, hiraditya.
SouraVX requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changes are pretty conservative, as it does not touches/extends
all other uses of global unsigned constants. -ve 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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99273
Files:
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/lib/Transforms/IPO/StripSymbols.cpp
llvm/test/DebugInfo/X86/global-constants.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99273.333015.patch
Type: text/x-patch
Size: 7181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210324/784a1cbd/attachment.bin>
More information about the llvm-commits
mailing list