[NFC] Add DebugVariable constructor that takes DbgVariableIntrinsic pointer
authorOCHyams <orlando.hyams@sony.com>
Thu, 20 Oct 2022 14:26:40 +0000 (15:26 +0100)
committerOCHyams <orlando.hyams@sony.com>
Thu, 20 Oct 2022 14:28:00 +0000 (15:28 +0100)
commit50d9bb6b39c56f394eba63f4b8473a7e5a021e85
tree762ca9cd4f68de1959e69a7cdaa9a92861f4a1b0
parentf825214411a0f014950b644f789ed478f534bda2
[NFC] Add DebugVariable constructor that takes DbgVariableIntrinsic pointer

Note: The constructor definition cannot be inline without some refactoring as
it introduces a circular dependency between the headers
llvm/IR/DebugInfoMetadata.h (this file) and llvm/IR/IntrinsicInst.h (where
DbgVariableIntrinsic is defined).

Reviewed By: jryans

Differential Revision: https://reviews.llvm.org/D133286
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/IR/DebugInfoMetadata.cpp