aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2023-11-02 17:17:19 +0000
committerJeremy Morse <jeremy.morse@sony.com>2023-11-02 17:41:36 +0000
commit957efa4ce4f0391147cec62746e997226ee2b836 (patch)
tree4b39d03d52aa393dc2bf64c56f3843a2d77b2d17 /llvm/lib/IR/LLVMContextImpl.cpp
parent495ed8d8c8b3795dd51595aad7a192189f2cfeab (diff)
downloadllvm-957efa4ce4f0391147cec62746e997226ee2b836.zip
llvm-957efa4ce4f0391147cec62746e997226ee2b836.tar.gz
llvm-957efa4ce4f0391147cec62746e997226ee2b836.tar.bz2
Revert "[DebugInfo][RemoveDIs] Add prototype storage classes for "new" debug-info"
And some intervening fixups. There are two remaining problems: * A memory leak via https://lab.llvm.org/buildbot/#/builders/236/builds/7120/steps/10/logs/stdio * A performance slowdown with -g where I'm not completely sure what the cause it These might be fairly straightforwards to fix, but it's the end of the day hear, so I figure I'll clear the buildbots til tomorrow. This reverts commit 7d77bbef4ad9230f6f427649373fe46a668aa909. This reverts commit 9026f35afe6ffdc5e55b6615efcbd36f25b11558. This reverts commit d97b2b389a0e511c65af6845119eb08b8a2cb473.
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp
index 406850b..2076eee 100644
--- a/llvm/lib/IR/LLVMContextImpl.cpp
+++ b/llvm/lib/IR/LLVMContextImpl.cpp
@@ -45,14 +45,6 @@ LLVMContextImpl::LLVMContextImpl(LLVMContext &C)
Int16Ty(C, 16), Int32Ty(C, 32), Int64Ty(C, 64), Int128Ty(C, 128) {}
LLVMContextImpl::~LLVMContextImpl() {
-#ifndef NDEBUG
- // Check that any variable location records that fell off the end of a block
- // when it's terminator was removed were eventually replaced. This assertion
- // firing indicates that DPValues went missing during the lifetime of the
- // LLVMContext.
- assert(TrailingDPValues.empty() && "DPValue records in blocks not cleaned");
-#endif
-
// NOTE: We need to delete the contents of OwnedModules, but Module's dtor
// will call LLVMContextImpl::removeModule, thus invalidating iterators into
// the container. Avoid iterators during this operation: