From a6e3a823b3aac3cce6e5c0c3a5816c5f0ad2cd93 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 12 Oct 2018 19:41:05 +0000 Subject: 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 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 184ec4dabe9..94e12658cfe 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -971,10 +971,6 @@ void DwarfDebug::endModule() { // Emit the pubnames and pubtypes sections if requested. emitDebugPubSections(); - const Triple &TT = Asm->TM.getTargetTriple(); - if (TT.getArch() == Triple::bpfel || TT.getArch() == Triple::bpfeb) - emitBTFSection(TT.getArch() == Triple::bpfel); - // clean up. // FIXME: AbstractVariables.clear(); } @@ -2459,12 +2455,6 @@ MCDwarfDwoLineTable *DwarfDebug::getDwoLineTable(const DwarfCompileUnit &CU) { return &SplitTypeUnitFileTable; } -void DwarfDebug::emitBTFSection(bool IsLittleEndian) { - DwarfFile &Holder = useSplitDwarf() ? SkeletonHolder : InfoHolder; - - Holder.emitBTFSection(IsLittleEndian); -} - uint64_t DwarfDebug::makeTypeSignature(StringRef Identifier) { MD5 Hash; Hash.update(Identifier); -- cgit v1.2.3