diff options
author | Amy Huang <akhuang@google.com> | 2019-04-23 21:12:58 +0000 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2019-04-23 21:12:58 +0000 |
commit | fc79ab9857adc96d243cc5ed0a641eef8ef3f253 (patch) | |
tree | 19b9d84f6d3f2f193eccc59cd3318a35ba1ac2f2 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 3cc6d1f542b5643a4284d2e43fd656b714c35abd (diff) | |
download | llvm-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/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 8ca30d0..89cd7a8 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -1072,23 +1072,6 @@ void CodeViewDebug::emitDebugInfoForFunction(const Function *GV, endSymbolRecord(AnnotEnd); } - for (auto HeapAllocSite : FI.HeapAllocSites) { - MCSymbol *BeginLabel = std::get<0>(HeapAllocSite); - MCSymbol *EndLabel = std::get<1>(HeapAllocSite); - DIType *DITy = std::get<2>(HeapAllocSite); - - MCSymbol *HeapAllocEnd = beginSymbolRecord(SymbolKind::S_HEAPALLOCSITE); - OS.AddComment("Call site offset"); - OS.EmitCOFFSecRel32(BeginLabel, /*Offset=*/0); - OS.AddComment("Call site section index"); - OS.EmitCOFFSectionIndex(BeginLabel); - OS.AddComment("Call instruction length"); - OS.emitAbsoluteSymbolDiff(EndLabel, BeginLabel, 2); - OS.AddComment("Type index"); - OS.EmitIntValue(getCompleteTypeIndex(DITy).getIndex(), 4); - endSymbolRecord(HeapAllocEnd); - } - if (SP != nullptr) emitDebugInfoForUDTs(LocalUDTs); @@ -2824,7 +2807,6 @@ void CodeViewDebug::endFunctionImpl(const MachineFunction *MF) { } CurFn->Annotations = MF->getCodeViewAnnotations(); - CurFn->HeapAllocSites = MF->getCodeViewHeapAllocSites(); CurFn->End = Asm->getFunctionEnd(); |