summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index dd930fedbe5..a1622da33a6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -13,7 +13,6 @@
#include "llvm/CodeGen/AsmPrinter.h"
#include "AsmPrinterHandler.h"
-#include "BTFDebug.h"
#include "CodeViewDebug.h"
#include "DwarfDebug.h"
#include "DwarfException.h"
@@ -141,8 +140,6 @@ static const char *const CFGuardDescription = "Control Flow Guard Tables";
static const char *const CodeViewLineTablesGroupName = "linetables";
static const char *const CodeViewLineTablesGroupDescription =
"CodeView Line Tables";
-static const char *const BTFGroupName = "BTF";
-static const char *const BTFGroupDescription = "BTF Emission";
STATISTIC(EmittedInsts, "Number of machine instrs printed");
@@ -314,12 +311,6 @@ bool AsmPrinter::doInitialization(Module &M) {
Handlers.push_back(HandlerInfo(DD, DbgTimerName, DbgTimerDescription,
DWARFGroupName, DWARFGroupDescription));
}
- const Triple &TT = TM.getTargetTriple();
- if (TT.getArch() == Triple::bpfel || TT.getArch() == Triple::bpfeb) {
- Handlers.push_back(HandlerInfo(new BTFDebug(this),
- DbgTimerName, DbgTimerDescription,
- BTFGroupName, BTFGroupDescription));
- }
}
switch (MAI->getExceptionHandlingType()) {
OpenPOWER on IntegriCloud