/* Get Mapfile and SymbolName from one symbol format: SymbolName. */
VOID GetMapfileAndSymbol(IN CHAR16 *Symbol, OUT CHAR16 **MapfileName, OUT CHAR16 **SymbolName)
/* Get Mapfile and SymbolName from one symbol format: SymbolName. */
VOID GetMapfileAndSymbol(IN CHAR16 *Symbol, OUT CHAR16 **MapfileName, OUT CHAR16 **SymbolName)
{
  CHAR16  *Ch;
  *MapfileName = NULL;
  *SymbolName  = Symbol;
  for (Ch = Symbol; *Ch != 0; Ch++) {
    if (*Ch == L':') {
      *MapfileName = Symbol;
      *Ch          = 0;
      *SymbolName  = Ch + 1;
      break;
    }
  }
  return;
}