[llvm] r345195 - [ExecutionEngine] Remove some dead code from JITEventListener.h.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 24 13:37:41 PDT 2018
Author: lhames
Date: Wed Oct 24 13:37:40 2018
New Revision: 345195
URL: http://llvm.org/viewvc/llvm-project?rev=345195&view=rev
Log:
[ExecutionEngine] Remove some dead code from JITEventListener.h.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/JITEventListener.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/JITEventListener.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/JITEventListener.h?rev=345195&r1=345194&r2=345195&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/JITEventListener.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/JITEventListener.h Wed Oct 24 13:37:40 2018
@@ -35,25 +35,6 @@ class ObjectFile;
} // end namespace object
-/// JITEvent_EmittedFunctionDetails - Helper struct for containing information
-/// about a generated machine code function.
-struct JITEvent_EmittedFunctionDetails {
- struct LineStart {
- /// The address at which the current line changes.
- uintptr_t Address;
-
- /// The new location information. These can be translated to DebugLocTuples
- /// using MF->getDebugLocTuple().
- DebugLoc Loc;
- };
-
- /// The machine function the struct contains information for.
- const MachineFunction *MF;
-
- /// The list of line boundary information, sorted by address.
- std::vector<LineStart> LineStarts;
-};
-
/// JITEventListener - Abstract interface for use by the JIT to notify clients
/// about significant events during compilation. For example, to notify
/// profilers and debuggers that need to know where functions have been emitted.
@@ -61,9 +42,6 @@ struct JITEvent_EmittedFunctionDetails {
/// The default implementation of each method does nothing.
class JITEventListener {
public:
- using EmittedFunctionDetails = JITEvent_EmittedFunctionDetails;
-
-public:
JITEventListener() = default;
virtual ~JITEventListener() = default;
More information about the llvm-commits
mailing list