diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2025-07-18 08:25:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-18 08:25:10 +0100 |
commit | 2a1869b9815c1f59af9eae91a3ef7e7d78e8f4f2 (patch) | |
tree | 8867485da80dcb062e6eb98ac92db553f4e7c76e /llvm/lib/IR/DebugInfoMetadata.cpp | |
parent | beec840822867079b829f35cbd4b360aa8971438 (diff) | |
download | llvm-2a1869b9815c1f59af9eae91a3ef7e7d78e8f4f2.zip llvm-2a1869b9815c1f59af9eae91a3ef7e7d78e8f4f2.tar.gz llvm-2a1869b9815c1f59af9eae91a3ef7e7d78e8f4f2.tar.bz2 |
[DebugInfo] Shave even more users of DbgVariableIntrinsic from LLVM (#149136)
At this stage I'm just opportunistically deleting any code using
debug-intrinsic types, largely adjacent to calls to findDbgUsers. I'll
get to deleting that in probably one or more two commits.
Diffstat (limited to 'llvm/lib/IR/DebugInfoMetadata.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfoMetadata.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/IR/DebugInfoMetadata.cpp b/llvm/lib/IR/DebugInfoMetadata.cpp index 2270923..f16963d 100644 --- a/llvm/lib/IR/DebugInfoMetadata.cpp +++ b/llvm/lib/IR/DebugInfoMetadata.cpp @@ -49,20 +49,11 @@ uint32_t DIType::getAlignInBits() const { const DIExpression::FragmentInfo DebugVariable::DefaultFragment = { std::numeric_limits<uint64_t>::max(), std::numeric_limits<uint64_t>::min()}; -DebugVariable::DebugVariable(const DbgVariableIntrinsic *DII) - : Variable(DII->getVariable()), - Fragment(DII->getExpression()->getFragmentInfo()), - InlinedAt(DII->getDebugLoc().getInlinedAt()) {} - DebugVariable::DebugVariable(const DbgVariableRecord *DVR) : Variable(DVR->getVariable()), Fragment(DVR->getExpression()->getFragmentInfo()), InlinedAt(DVR->getDebugLoc().getInlinedAt()) {} -DebugVariableAggregate::DebugVariableAggregate(const DbgVariableIntrinsic *DVI) - : DebugVariable(DVI->getVariable(), std::nullopt, - DVI->getDebugLoc()->getInlinedAt()) {} - DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, unsigned Column, uint64_t AtomGroup, uint8_t AtomRank, ArrayRef<Metadata *> MDs, bool ImplicitCode) |