diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2022-06-16 15:08:13 +0100 |
---|---|---|
committer | Stephen Tozer <stephen.tozer@sony.com> | 2022-08-22 16:28:12 +0100 |
commit | 11ce014a121ed0bbdbb2af6ea20c75f85e89fbe9 (patch) | |
tree | bc93ccb8357bba8e941c7072c67cd62c86cb1a11 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | aa59c9810a40653702d4c606111ebb4b0554bc35 (diff) | |
download | llvm-11ce014a121ed0bbdbb2af6ea20c75f85e89fbe9.zip llvm-11ce014a121ed0bbdbb2af6ea20c75f85e89fbe9.tar.gz llvm-11ce014a121ed0bbdbb2af6ea20c75f85e89fbe9.tar.bz2 |
[DebugInfo][NFC] Update LDV to use generic DBG_VALUE* MI interface
Currently, InstrRefLDV only handles DBG_VALUE instructions, not
DBG_VALUE_LIST, and as a result of this it handles these instructions
using functions that only work for that type of debug value, i.e. using
getOperand(0) to get the debug operand. This patch changes this to use
the generic debug value functions, such as getDebugOperand and
isDebugOffsetImm, as well as adding an IsVariadic field to the
DbgValueProperties class and a few other minor changes to acknowledge
DBG_VALUE_LISTs. Note that this patch does not add support for
DBG_VALUE_LIST here, but is a precursor to other patches that do add
that support.
Differential Revision: https://reviews.llvm.org/D128174
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions