Index: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h =================================================================== --- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h +++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h @@ -14,18 +14,18 @@ // C++ Includes #include #include + // Other libraries and framework includes // Project includes #include "lldb/lldb-public.h" #include "lldb/Host/Mutex.h" - +#include "lldb/Expression/UtilityFunction.h" namespace lldb_private { class AppleObjCTrampolineHandler { public: - AppleObjCTrampolineHandler (const lldb::ProcessSP &process_sp, const lldb::ModuleSP &objc_module_sp); @@ -44,7 +44,6 @@ return (addr == m_msg_forward_addr || addr == m_msg_forward_stret_addr); } - struct DispatchFunction { public: typedef enum @@ -92,7 +91,6 @@ lldb::addr_t code_start; }; - class VTableRegion { public: @@ -189,7 +187,6 @@ lldb::break_id_t m_trampolines_changed_bp_id; region_collection m_regions; lldb::ModuleSP m_objc_module_sp; - }; static const DispatchFunction g_dispatch_functions[]; @@ -205,10 +202,8 @@ lldb::addr_t m_msg_forward_addr; lldb::addr_t m_msg_forward_stret_addr; std::unique_ptr m_vtables_ap; - - }; -} // using namespace lldb_private +} // namespace lldb_private -#endif // lldb_AppleObjCTrampolineHandler_h_ +#endif // lldb_AppleObjCTrampolineHandler_h_