Changeset View
Changeset View
Standalone View
Standalone View
tools/lldb-mi/MICmnMIOutOfBandRecord.cpp
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | MapOutOfBandToText(CMICmnMIOutOfBandRecord::OutOfBand_e veType) { | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_ThreadSelected: | case CMICmnMIOutOfBandRecord::eOutOfBand_ThreadSelected: | ||||
return "thread-selected"; | return "thread-selected"; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleLoaded: | case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleLoaded: | ||||
return "library-loaded"; | return "library-loaded"; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleUnloaded: | case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleUnloaded: | ||||
return "library-unloaded"; | return "library-unloaded"; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_TargetStreamOutput: | case CMICmnMIOutOfBandRecord::eOutOfBand_TargetStreamOutput: | ||||
return ""; | return ""; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_ConsoleStreamOutput: | |||||
return ""; | |||||
case CMICmnMIOutOfBandRecord::eOutOfBand_LogStreamOutput: | |||||
return ""; | |||||
} | } | ||||
assert(false && "unknown CMICmnMIOutofBandRecord::OutOfBand_e"); | assert(false && "unknown CMICmnMIOutofBandRecord::OutOfBand_e"); | ||||
return NULL; | return NULL; | ||||
} | } | ||||
static const char * | static const char * | ||||
MapOutOfBandToToken(CMICmnMIOutOfBandRecord::OutOfBand_e veType) { | MapOutOfBandToToken(CMICmnMIOutOfBandRecord::OutOfBand_e veType) { | ||||
switch (veType) { | switch (veType) { | ||||
Show All 22 Lines | MapOutOfBandToToken(CMICmnMIOutOfBandRecord::OutOfBand_e veType) { | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_ThreadSelected: | case CMICmnMIOutOfBandRecord::eOutOfBand_ThreadSelected: | ||||
return "="; | return "="; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleLoaded: | case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleLoaded: | ||||
return "="; | return "="; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleUnloaded: | case CMICmnMIOutOfBandRecord::eOutOfBand_TargetModuleUnloaded: | ||||
return "="; | return "="; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_TargetStreamOutput: | case CMICmnMIOutOfBandRecord::eOutOfBand_TargetStreamOutput: | ||||
return "@"; | return "@"; | ||||
case CMICmnMIOutOfBandRecord::eOutOfBand_ConsoleStreamOutput: | |||||
return "~"; | |||||
case CMICmnMIOutOfBandRecord::eOutOfBand_LogStreamOutput: | |||||
return "&"; | |||||
} | } | ||||
assert(false && "unknown CMICmnMIOutofBandRecord::OutOfBand_e"); | assert(false && "unknown CMICmnMIOutofBandRecord::OutOfBand_e"); | ||||
return NULL; | return NULL; | ||||
} | } | ||||
//++ | //++ | ||||
//------------------------------------------------------------------------------------ | //------------------------------------------------------------------------------------ | ||||
// Details: Build the Out-of-band record's mandatory data part. The part up to | // Details: Build the Out-of-band record's mandatory data part. The part up to | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |