当前位置: 首页>>代码示例>>C++>>正文


C++ lldb::SBEvent类代码示例

本文整理汇总了C++中lldb::SBEvent的典型用法代码示例。如果您正苦于以下问题:C++ SBEvent类的具体用法?C++ SBEvent怎么用?C++ SBEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了SBEvent类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: GetWatchpointFromEvent

SBWatchpoint SBWatchpoint::GetWatchpointFromEvent(const lldb::SBEvent &event) {
  SBWatchpoint sb_watchpoint;
  if (event.IsValid())
    sb_watchpoint.m_opaque_sp =
        Watchpoint::WatchpointEventData::GetWatchpointFromEvent(event.GetSP());
  return sb_watchpoint;
}
开发者ID:CodaFi,项目名称:swift-lldb,代码行数:7,代码来源:SBWatchpoint.cpp

示例2: LLDB_RECORD_STATIC_METHOD

bool SBWatchpoint::EventIsWatchpointEvent(const lldb::SBEvent &event) {
  LLDB_RECORD_STATIC_METHOD(bool, SBWatchpoint, EventIsWatchpointEvent,
                            (const lldb::SBEvent &), event);

  return Watchpoint::WatchpointEventData::GetEventDataFromEvent(event.get()) !=
         NULL;
}
开发者ID:llvm-project,项目名称:lldb,代码行数:7,代码来源:SBWatchpoint.cpp

示例3:

uint32_t
SBBreakpoint::GetNumBreakpointLocationsFromEvent (const lldb::SBEvent &event)
{
    uint32_t num_locations = 0;
    if (event.IsValid())
        num_locations = (Breakpoint::BreakpointEventData::GetNumBreakpointLocationsFromEvent (event.GetSP()));
    return num_locations;
}
开发者ID:Aj0Ay,项目名称:lldb,代码行数:8,代码来源:SBBreakpoint.cpp

示例4:

size_t
SBProcess::GetNumRestartedReasonsFromEvent (const lldb::SBEvent &event)
{
    return Process::ProcessEventData::GetNumRestartedReasons(event.get());
}
开发者ID:ATeamMac2014,项目名称:lldb,代码行数:5,代码来源:SBProcess.cpp

示例5: EventIsWatchpointEvent

bool SBWatchpoint::EventIsWatchpointEvent(const lldb::SBEvent &event) {
  return Watchpoint::WatchpointEventData::GetEventDataFromEvent(event.get()) !=
         NULL;
}
开发者ID:CodaFi,项目名称:swift-lldb,代码行数:4,代码来源:SBWatchpoint.cpp

示例6: EventIsCommandInterpreterEvent

bool SBCommandInterpreter::EventIsCommandInterpreterEvent(
    const lldb::SBEvent &event) {
  return event.GetBroadcasterClass() ==
         SBCommandInterpreter::GetBroadcasterClass();
}
开发者ID:2trill2spill,项目名称:freebsd,代码行数:5,代码来源:SBCommandInterpreter.cpp


注:本文中的lldb::SBEvent类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。