diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-02-16 18:48:33 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-02-16 18:48:33 +0000 |
commit | b2fbb4b2764f49c07de373cb537f15048e9e7af0 (patch) | |
tree | bcaf9871efb99dc2c5266323df331bfe28214650 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | |
parent | 920576042d53ab69298bdd13095f63a9bae2697b (diff) | |
download | bcm5719-llvm-b2fbb4b2764f49c07de373cb537f15048e9e7af0.tar.gz bcm5719-llvm-b2fbb4b2764f49c07de373cb537f15048e9e7af0.zip |
Refactor DebugHandlerBase a bit to common non-debug-having-function filtering
llvm-svn: 295354
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h index 3dd4315e4c2..343384c5177 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h @@ -299,6 +299,13 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase { unsigned getPointerSizeInBytes(); +protected: + /// \brief Gather pre-function debug information. + void beginFunctionImpl(const MachineFunction *MF) override; + + /// \brief Gather post-function debug information. + void endFunctionImpl(const MachineFunction *) override; + public: CodeViewDebug(AsmPrinter *Asm); @@ -307,12 +314,6 @@ public: /// \brief Emit the COFF section that holds the line table information. void endModule() override; - /// \brief Gather pre-function debug information. - void beginFunction(const MachineFunction *MF) override; - - /// \brief Gather post-function debug information. - void endFunction(const MachineFunction *) override; - /// \brief Process beginning of an instruction. void beginInstruction(const MachineInstr *MI) override; }; |