aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2019-04-23 21:12:58 +0000
committerAmy Huang <akhuang@google.com>2019-04-23 21:12:58 +0000
commitfc79ab9857adc96d243cc5ed0a641eef8ef3f253 (patch)
tree19b9d84f6d3f2f193eccc59cd3318a35ba1ac2f2 /llvm/lib/CodeGen/MachineFunction.cpp
parent3cc6d1f542b5643a4284d2e43fd656b714c35abd (diff)
downloadllvm-fc79ab9857adc96d243cc5ed0a641eef8ef3f253.zip
llvm-fc79ab9857adc96d243cc5ed0a641eef8ef3f253.tar.gz
llvm-fc79ab9857adc96d243cc5ed0a641eef8ef3f253.tar.bz2
Revert "[MS] Emit S_HEAPALLOCSITE debug info" because of ToTWin64(db)
buildbot failure. This reverts commit d07d6d617713bececf57f3547434dd52f0f13f9e and c774f687b6880484a126ed3e3d737e74c926f0ae. llvm-svn: 359034
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index bcc523f..88a7d15 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -43,7 +43,6 @@
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/DataLayout.h"
-#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
@@ -807,16 +806,6 @@ try_next:;
return FilterID;
}
-void MachineFunction::addCodeViewHeapAllocSite(MachineInstr *I, MDNode *MD) {
- MCSymbol *BeginLabel = Ctx.createTempSymbol("heapallocsite", true);
- MCSymbol *EndLabel = Ctx.createTempSymbol("heapallocsite", true);
- I->setPreInstrSymbol(*this, BeginLabel);
- I->setPostInstrSymbol(*this, EndLabel);
-
- DIType *DI = dyn_cast<DIType>(MD);
- CodeViewHeapAllocSites.push_back(std::make_tuple(BeginLabel, EndLabel, DI));
-}
-
/// \}
//===----------------------------------------------------------------------===//