diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-10-12 19:41:05 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-10-12 19:41:05 +0000 |
commit | a6e3a823b3aac3cce6e5c0c3a5816c5f0ad2cd93 (patch) | |
tree | 2610efe3483b5d29deeb1ab63eb3c3da85ee9d4e /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | |
parent | 1bb0c6041afaa2570a4dd943146d31e7d66e4590 (diff) | |
download | bcm5719-llvm-a6e3a823b3aac3cce6e5c0c3a5816c5f0ad2cd93.tar.gz bcm5719-llvm-a6e3a823b3aac3cce6e5c0c3a5816c5f0ad2cd93.zip |
Revert BTF commit series.
The initial patch was not reviewed, and does not have any tests;
it should not have been merged.
This reverts 344395, 344390, 344387, 344385, 344381, 344376,
and 344366.
llvm-svn: 344405
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp index 7ac16b34c4c..0ab9ea87c23 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#include "Dwarf2BTF.h" #include "DwarfFile.h" #include "DwarfCompileUnit.h" #include "DwarfDebug.h" @@ -16,8 +15,6 @@ #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/DIE.h" #include "llvm/IR/DebugInfoMetadata.h" -#include "llvm/MC/MCBTFContext.h" -#include "llvm/MC/MCContext.h" #include "llvm/MC/MCStreamer.h" #include <algorithm> #include <cstdint> @@ -91,13 +88,6 @@ void DwarfFile::emitStrings(MCSection *StrSection, MCSection *OffsetSection, StrPool.emit(*Asm, StrSection, OffsetSection, UseRelativeOffsets); } -void DwarfFile::emitBTFSection(bool IsLittleEndian) { - Dwarf2BTF Dwarf2BTF(Asm->OutContext, IsLittleEndian); - for (auto &TheU : CUs) - Dwarf2BTF.addDwarfCU(TheU.get()); - Dwarf2BTF.finish(); -} - bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { auto &ScopeVars = ScopeVariables[LS]; const DILocalVariable *DV = Var->getVariable(); |