Skip to content

Commit

Permalink
[ExecutionEngine] Remove some dead code from JITEventListener.h.
Browse files Browse the repository at this point in the history
llvm-svn: 345195
  • Loading branch information
lhames committed Oct 24, 2018
1 parent 70d7717 commit a0d18b6
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions llvm/include/llvm/ExecutionEngine/JITEventListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,34 +35,12 @@ 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.
///
/// The default implementation of each method does nothing.
class JITEventListener {
public:
using EmittedFunctionDetails = JITEvent_EmittedFunctionDetails;

public:
JITEventListener() = default;
virtual ~JITEventListener() = default;
Expand Down

0 comments on commit a0d18b6

Please sign in to comment.