[PATCH] D145909: [DebugInfo][NFC] Add RawLocationWrapper to wrap location operand metadata [1/x]

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 02:31:07 PDT 2023


Orlando created this revision.
Orlando added reviewers: StephenTozer, jmorse, jryans, scott.linder.
Orlando added a project: debug-info.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Orlando requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

RawLocationWrapper wraps the location operand of a debug intrinsic which may be either (wrapped in MetadataAsValue) a DIArgList, ValueAsMetadata, or an empty MDTuple. This class lets us avoid duplicating location handling code in a later patch in this stack.


https://reviews.llvm.org/D145909

Files:
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/lib/IR/IntrinsicInst.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145909.504556.patch
Type: text/x-patch
Size: 9302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/c8471f8c/attachment.bin>


More information about the llvm-commits mailing list