summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-09-14 21:14:08 +0000
committerReid Kleckner <rnk@google.com>2018-09-14 21:14:08 +0000
commitb3d456a79ef822d6044473c776e38c679aa084ed (patch)
tree230a405f134a38643f20b4771cfbf546dc5738b8 /llvm/lib
parent4d68951e6d2c1062b97fa002fbe36db13e7f9888 (diff)
downloadbcm5719-llvm-b3d456a79ef822d6044473c776e38c679aa084ed.tar.gz
bcm5719-llvm-b3d456a79ef822d6044473c776e38c679aa084ed.zip
[codeview] Remove dead code
llvm-svn: 342285
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp13
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h4
2 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 760833dba0c..61b683616d3 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -1034,19 +1034,6 @@ CodeViewDebug::createDefRangeMem(uint16_t CVRegister, int Offset) {
return DR;
}
-CodeViewDebug::LocalVarDefRange
-CodeViewDebug::createDefRangeGeneral(uint16_t CVRegister, bool InMemory,
- int Offset, bool IsSubfield,
- uint16_t StructOffset) {
- LocalVarDefRange DR;
- DR.InMemory = InMemory;
- DR.DataOffset = Offset;
- DR.IsSubfield = IsSubfield;
- DR.StructOffset = StructOffset;
- DR.CVRegister = CVRegister;
- return DR;
-}
-
void CodeViewDebug::collectVariableInfoFromMFTable(
DenseSet<InlinedEntity> &Processed) {
const MachineFunction &MF = *Asm->MF;
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
index c466a33d0cc..6d7b97c5dd6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
@@ -85,10 +85,6 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase {
};
static LocalVarDefRange createDefRangeMem(uint16_t CVRegister, int Offset);
- static LocalVarDefRange createDefRangeGeneral(uint16_t CVRegister,
- bool InMemory, int Offset,
- bool IsSubfield,
- uint16_t StructOffset);
/// Similar to DbgVariable in DwarfDebug, but not dwarf-specific.
struct LocalVariable {
OpenPOWER on IntegriCloud