reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/include/lldb/Core/ModuleSpec.h
  223       strm.Printf("object_name = %s", m_object_name.GetCString());
tools/lldb/include/lldb/Core/UniqueCStringMap.h
  136       if (regex.Execute(pos->cstring.GetCString()))
  196       return uintptr_t(lhs.GetCString()) < uintptr_t(rhs.GetCString());
  196       return uintptr_t(lhs.GetCString()) < uintptr_t(rhs.GetCString());
tools/lldb/include/lldb/DataFormatters/FormatClasses.h
  131       m_type.m_type_name.assign(type.GetConstTypeName().GetCString());
tools/lldb/include/lldb/DataFormatters/TypeCategory.h
  354   const char *GetName() { return m_name.GetCString(); }
tools/lldb/include/lldb/Symbol/ClangASTContext.h
  214             ast->Idents.get(type_name.GetCString());
tools/lldb/include/lldb/Target/Platform.h
  525         GetName().GetCString());
  533         GetName().GetCString());
tools/lldb/include/lldb/Target/Process.h
  625         GetPluginName().GetCString());
  950         GetPluginName().GetCString());
 1026         GetPluginName().GetCString());
 1062         GetPluginName().GetCString());
 1098         GetPluginName().GetCString());
 1125         GetPluginName().GetCString());
 1156         GetPluginName().GetCString());
 1595         GetPluginName().GetCString());
 1679         GetPluginName().GetCString());
 1882         GetPluginName().GetCString());
 2002         GetPluginName().GetCString());
 2010         GetPluginName().GetCString());
tools/lldb/source/API/SBBroadcaster.cpp
  105     return m_opaque_ptr->GetBroadcasterName().GetCString();
tools/lldb/source/API/SBCommandInterpreter.cpp
  246                     .GetCString()
tools/lldb/source/API/SBDebugger.cpp
 1308   return (m_opaque_sp ? ConstString(m_opaque_sp->GetPrompt()).GetCString()
 1323               ? ConstString(m_opaque_sp->GetReproducerPath()).GetCString()
tools/lldb/source/API/SBFrame.cpp
 1237             name = sc.function->GetName().GetCString();
 1242             name = sc.symbol->GetName().GetCString();
 1281             name = sc.function->GetDisplayName().GetCString();
 1286             name = sc.symbol->GetDisplayName().GetCString();
tools/lldb/source/API/SBFunction.cpp
  193         return variable_sp->GetName().GetCString();
tools/lldb/source/API/SBModule.cpp
  179     uuid_cstr = ConstString(module_sp->GetUUID().GetAsString()).GetCString();
  606     return const_triple.GetCString();
tools/lldb/source/API/SBModuleSpec.cpp
  103   return m_opaque_up->GetObjectName().GetCString();
  120   return const_triple.GetCString();
tools/lldb/source/API/SBPlatform.cpp
  148   return m_opaque_ptr->m_local_cache_directory.GetCString();
  299     return platform_sp->GetName().GetCString();
  376       return ConstString(arch.GetTriple().getTriple().c_str()).GetCString();
  392         return ConstString(s.c_str()).GetCString();
  409         return ConstString(s.c_str()).GetCString();
tools/lldb/source/API/SBProcess.cpp
   91     return process_sp->GetPluginName().GetCString();
  101     return process_sp->GetPluginName().GetCString();
tools/lldb/source/API/SBSection.cpp
   65     return section_sp->GetName().GetCString();
tools/lldb/source/API/SBTarget.cpp
 1680     return const_triple.GetCString();
tools/lldb/source/API/SBType.cpp
  501   return m_opaque_sp->GetName().GetCString();
  509   return m_opaque_sp->GetDisplayTypeName().GetCString();
  662     return m_opaque_up->GetName().GetCString();
  720     const char *name = m_opaque_up->GetName().GetCString();
  791     return m_opaque_sp->GetName().GetCString();
  803       return mangled.GetDemangledName(mangled.GuessLanguage()).GetCString();
  814     return m_opaque_sp->GetMangledName().GetCString();
tools/lldb/source/API/SBTypeCategory.cpp
  418         (const void *)ConstString(type_name.GetName()).GetCString();
  542         (const void *)ConstString(type_name.GetName()).GetCString();
tools/lldb/source/API/SBTypeEnumMember.cpp
   66     return m_opaque_sp->GetName().GetCString();
  192       strm.Printf(" %s", m_opaque_sp->GetName().GetCString());
tools/lldb/source/API/SBValue.cpp
  297     name = value_sp->GetName().GetCString();
  309     name = value_sp->GetQualifiedTypeName().GetCString();
  322     name = value_sp->GetDisplayTypeName().GetCString();
tools/lldb/source/Breakpoint/BreakpointLocation.cpp
  592                 resolved_symbol->GetName().GetCString());
tools/lldb/source/Breakpoint/BreakpointResolverAddress.cpp
   76       module_name.SetCString(module_name.GetCString());
   79                                    module_name.GetCString());
tools/lldb/source/Breakpoint/BreakpointResolverName.cpp
  411       s->Printf("name = '%s'", m_lookups[0].GetName().GetCString());
  416                   m_lookups[i].GetName().GetCString());
tools/lldb/source/Commands/CommandCompletions.cpp
  348   m_file_name = partial_spec.GetFilename().GetCString();
  349   m_dir_name = partial_spec.GetDirectory().GetCString();
  366         const char *sfile_file_name = sfile_spec.GetFilename().GetCString();
  367         const char *sfile_dir_name = sfile_spec.GetFilename().GetCString();
  381       const char *cur_file_name = context.comp_unit->GetFilename().GetCString();
  382       const char *cur_dir_name = context.comp_unit->GetDirectory().GetCString();
  407         m_matching_files.GetFileSpecAtIndex(i).GetFilename().GetCString());
  474     m_request.AddCompletion((*pos).GetCString());
  482   m_file_name = partial_spec.GetFilename().GetCString();
  483   m_dir_name = partial_spec.GetDirectory().GetCString();
  494         context.module_sp->GetFileSpec().GetFilename().GetCString();
  496         context.module_sp->GetFileSpec().GetDirectory().GetCString();
tools/lldb/source/Commands/CommandObjectDisassemble.cpp
  301                                    name.GetCString());
tools/lldb/source/Commands/CommandObjectMemory.cpp
  471       if (type_list.GetSize() == 0 && lookup_type_name.GetCString()) {
  497               lookup_type_name.GetCString());
  511                                        lookup_type_name.GetCString(),
tools/lldb/source/Commands/CommandObjectPlatform.cpp
  219     ostrm.Printf("%s: %s\n", host_platform_sp->GetPluginName().GetCString(),
  360                            platform_sp->GetPluginName().GetCString());
  372               platform_sp->GetPluginName().GetCString());
  923     FileSpec dst_fs(dst ? dst : src_fs.GetFilename().GetCString());
 1116                     platform_sp->GetPluginName().GetCString());
 1120                     platform_sp->GetPluginName().GetCString());
 1126                   platform_sp->GetName().GetCString());
 1366               platform_sp->GetPluginName().GetCString());
tools/lldb/source/Commands/CommandObjectSource.cpp
  776       if (function.GetCString() < rhs.function.GetCString())
  776       if (function.GetCString() < rhs.function.GetCString())
  778       if (line_entry.file.GetDirectory().GetCString() <
  779           rhs.line_entry.file.GetDirectory().GetCString())
  781       if (line_entry.file.GetFilename().GetCString() <
  782           rhs.line_entry.file.GetFilename().GetCString())
  811                                        source_info.function.GetCString());
tools/lldb/source/Commands/CommandObjectTarget.cpp
   87                 platform_sp->GetName().GetCString());
  838                             var_sp->GetName().GetCString());
  896                                 use_var_name ? var_sp->GetName().GetCString()
 1282       result.GetOutputStream().Printf("%s\n", transformed.GetCString());
 1284       result.GetOutputStream().Printf("%s\n", orig.GetCString());
 1661                     typedef_type_sp->GetName().GetCString());
 1705                   typedef_type_sp->GetName().GetCString());
 3224       const char *object_name = module->GetObjectName().GetCString();
 4165                       .GetCString(),
tools/lldb/source/Commands/CommandObjectType.cpp
 1596     std::string type_name_str(type_name.GetCString());
tools/lldb/source/Core/Address.cpp
  721                         var->GetID(), var->GetName().GetCString());
  724                 s->Printf(", type = \"%s\"", type->GetName().GetCString());
tools/lldb/source/Core/Disassembler.cpp
  373             .GetCString();
tools/lldb/source/Core/FormatEntity.cpp
  921                                        additional_data.GetCString());
 1577         s.PutCString(name.GetCString());
 1629                 inline_info->GetName(sc->function->GetLanguage()).GetCString();
 1682               const char *var_name = var_value_sp->GetName().GetCString();
 1720                            var_value_sp->GetTypeName().GetCString(),
tools/lldb/source/Core/IOHandler.cpp
 2847         options.show_types ? valobj->GetTypeName().GetCString() : nullptr;
 2848     const char *name = valobj->GetName().GetCString();
 3860               "%s", m_sc.module_sp->GetFileSpec().GetFilename().GetCString());
 3863             m_title.Printf("`%s", func_name.GetCString());
tools/lldb/source/Core/Mangled.cpp
   69   const char *mangled_name_cstr = mangled.GetCString();
  162     if (cstring_is_mangled(name.GetCString())) {
  228                      m_mangled.GetCString());
  235   ManglingScheme scheme = cstring_mangling_scheme(m_mangled.GetCString());
  263       if (char *d = GetMSVCDemangledStr(m_mangled.GetCString())) {
  299                        m_mangled.GetCString());
  302     const char *mangled_name = m_mangled.GetCString();
  409     const char *mangled_name = mangled.GetCString();
  419         && ObjCLanguage::IsPossibleObjCMethodName(demangled_name.GetCString()))
tools/lldb/source/Core/Module.cpp
  632   const char *name_cstr = name.GetCString();
  736           ::strstr(full_name.GetCString(), m_name.GetCString()) == nullptr) {
  736           ::strstr(full_name.GetCString(), m_name.GetCString()) == nullptr) {
  774             if (qualified_name != m_name.GetCString()) {
  963   const char *type_name_cstr = name.GetCString();
 1055     spec += m_object_name.GetCString();
 1070     const char *filename = m_file.GetFilename().GetCString();
 1079   const char *object_name = m_object_name.GetCString();
 1201             m_object_name ? m_object_name.GetCString() : "",
 1507                     GetFileSpec().GetFileNameStrippingExtension().GetCString(),
tools/lldb/source/Core/ModuleList.cpp
  982                                              .GetCString(),
tools/lldb/source/Core/PluginManager.cpp
 1292     return instances[idx].name.GetCString();
 1355     llvm::StringRef plugin_name(pos->name.GetCString());
 1408     return instances[idx].name.GetCString();
tools/lldb/source/Core/RichManglingContext.cpp
   36   bool err = m_ipd.partialDemangle(mangled.GetCString());
tools/lldb/source/Core/ValueObject.cpp
  284             GetName().GetCString(), static_cast<void *>(this),
  565   return GetCompilerType().GetIndexOfChildWithName(name.GetCString(),
  584           name.GetCString(), omit_empty_base_classes, child_indexes);
 2147       const char *name = GetName().GetCString();
tools/lldb/source/Core/ValueObjectDynamicValue.cpp
  246     LLDB_LOGF(log, "[%s %p] has a new dynamic type %s", GetName().GetCString(),
  247               static_cast<void *>(this), GetTypeName().GetCString());
tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp
  300   bool did_find = m_name_toindex.GetValueForKey(name.GetCString(), found_index);
  306     m_name_toindex.SetValueForKey(name.GetCString(), index);
tools/lldb/source/DataFormatters/TypeCategory.cpp
  300         *matching_category = m_name.GetCString();
  310         *matching_category = m_name.GetCString();
  320         *matching_category = m_name.GetCString();
  330         *matching_category = m_name.GetCString();
  340         *matching_category = m_name.GetCString();
  350         *matching_category = m_name.GetCString();
  360         *matching_category = m_name.GetCString();
  370         *matching_category = m_name.GetCString();
  380         *matching_category = m_name.GetCString();
  390         *matching_category = m_name.GetCString();
tools/lldb/source/DataFormatters/TypeCategoryMap.cpp
  187           match.GetTypeName().GetCString(),
  226           match.GetTypeName().GetCString(),
  267           match.GetTypeName().GetCString(),
  308           match.GetTypeName().GetCString(),
tools/lldb/source/DataFormatters/TypeSynthetic.cpp
   55   const char *name_cstr = name.GetCString();
  192                                                 name.GetCString());
tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp
  260       std::string type_name_str(type_name.GetCString());
tools/lldb/source/DataFormatters/VectorType.cpp
  245     const char *item_name = name.GetCString();
tools/lldb/source/Expression/ExpressionVariable.cpp
   34   SymbolMap::iterator si = m_symbol_map.find(name.GetCString());
   55       m_symbol_map[jitted_function.m_name.GetCString()] =
   58                 jitted_function.m_name.GetCString(),
   73       m_symbol_map[global_var.m_name.GetCString()] = global_var.m_remote_addr;
   75                 global_var.m_name.GetCString(), global_var.m_remote_addr);
tools/lldb/source/Expression/IRExecutionUnit.cpp
  719     if (CPlusPlusLanguage::IsCPPMangledName(name.GetCString())) {
  751     if (CPlusPlusLanguage::IsCPPMangledName(name.GetCString())) {
tools/lldb/source/Expression/Materializer.cpp
   77           m_persistent_variable_sp->GetName().GetCString(),
   83               m_persistent_variable_sp->GetName().GetCString(), mem);
  133           m_persistent_variable_sp->GetName().GetCString(),
  228               m_persistent_variable_sp->GetName().GetCString(),
  263             m_persistent_variable_sp->GetName().GetCString());
  271             m_persistent_variable_sp->GetName().GetCString());
  280                   m_persistent_variable_sp->GetName().GetCString(),
  296               m_persistent_variable_sp->GetName().GetCString(),
tools/lldb/source/Host/common/FileSystem.cpp
  326   const std::string filename_str(filename.GetCString());
tools/lldb/source/Host/posix/HostProcessPosix.cpp
   71     const char *filename = file_spec.GetFilename().GetCString();
tools/lldb/source/Interpreter/OptionArgParser.cpp
  204             s.str().c_str(), valobj_sp->GetTypeName().GetCString());
tools/lldb/source/Interpreter/OptionGroupPlatform.cpp
   29                                        platform_sp->GetName().GetCString(),
tools/lldb/source/Interpreter/OptionValueDictionary.cpp
   48       strm.Indent(pos->first.GetCString());
   89     strm.Printf("%s=", pos->first.GetCString());
  184               key.GetCString());
  320     strm.Printf("%s=", pos->first.GetCString());
tools/lldb/source/Interpreter/OptionValueEnumeration.cpp
   66                           m_enumerations.GetCStringAtIndex(0).GetCString());
   69                             m_enumerations.GetCStringAtIndex(i).GetCString());
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp
 1307             ConstString(g_register_infos[i].name).GetCString();
 1310             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp
 1648             ConstString(g_register_infos[i].name).GetCString();
 1651             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
  694             ConstString(g_register_infos[i].name).GetCString();
  697             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp
   70     DEFINE_GENERIC_REGISTER_STUB(r0, nullptr, LLDB_REGNUM_GENERIC_ARG1),
   71     DEFINE_GENERIC_REGISTER_STUB(r1, nullptr, LLDB_REGNUM_GENERIC_ARG2),
   72     DEFINE_GENERIC_REGISTER_STUB(r2, nullptr, LLDB_REGNUM_GENERIC_ARG3),
   73     DEFINE_GENERIC_REGISTER_STUB(r3, nullptr, LLDB_REGNUM_GENERIC_ARG4),
   74     DEFINE_GENERIC_REGISTER_STUB(r4, nullptr, LLDB_REGNUM_GENERIC_ARG5),
   75     DEFINE_GENERIC_REGISTER_STUB(r5, nullptr, LLDB_REGNUM_GENERIC_ARG6),
   76     DEFINE_GENERIC_REGISTER_STUB(r6, nullptr, LLDB_REGNUM_GENERIC_ARG7),
   77     DEFINE_GENERIC_REGISTER_STUB(r7, nullptr, LLDB_REGNUM_GENERIC_ARG8),
   78     DEFINE_REGISTER_STUB(r8, nullptr),
   79     DEFINE_REGISTER_STUB(r9, nullptr),
   80     DEFINE_REGISTER_STUB(r10, nullptr),
   81     DEFINE_REGISTER_STUB(r11, nullptr),
   82     DEFINE_REGISTER_STUB(r12, nullptr),
   83     DEFINE_REGISTER_STUB(r13, nullptr),
   84     DEFINE_REGISTER_STUB(r14, nullptr),
   85     DEFINE_REGISTER_STUB(r15, nullptr),
   86     DEFINE_REGISTER_STUB(r16, nullptr),
   87     DEFINE_REGISTER_STUB(r17, nullptr),
   88     DEFINE_REGISTER_STUB(r18, nullptr),
   89     DEFINE_REGISTER_STUB(r19, nullptr),
   90     DEFINE_REGISTER_STUB(r20, nullptr),
   91     DEFINE_REGISTER_STUB(r21, nullptr),
   92     DEFINE_REGISTER_STUB(r22, nullptr),
   93     DEFINE_REGISTER_STUB(r23, nullptr),
   94     DEFINE_REGISTER_STUB(r24, nullptr),
   95     DEFINE_REGISTER_STUB(r25, nullptr),
   96     DEFINE_REGISTER_STUB(r26, "gp"),
   97     DEFINE_GENERIC_REGISTER_STUB(r27, "fp", LLDB_REGNUM_GENERIC_FP),
   98     DEFINE_GENERIC_REGISTER_STUB(r28, "sp", LLDB_REGNUM_GENERIC_SP),
   99     DEFINE_REGISTER_STUB(r29, "ilink"),
  100     DEFINE_REGISTER_STUB(r30, nullptr),
  101     DEFINE_GENERIC_REGISTER_STUB(r31, "blink", LLDB_REGNUM_GENERIC_RA),
  102     DEFINE_REGISTER_STUB(r32, nullptr),
  103     DEFINE_REGISTER_STUB(r33, nullptr),
  104     DEFINE_REGISTER_STUB(r34, nullptr),
  105     DEFINE_REGISTER_STUB(r35, nullptr),
  106     DEFINE_REGISTER_STUB(r36, nullptr),
  107     DEFINE_REGISTER_STUB(r37, nullptr),
  108     DEFINE_REGISTER_STUB(r38, nullptr),
  109     DEFINE_REGISTER_STUB(r39, nullptr),
  110     DEFINE_REGISTER_STUB(r40, nullptr),
  111     DEFINE_REGISTER_STUB(r41, nullptr),
  112     DEFINE_REGISTER_STUB(r42, nullptr),
  113     DEFINE_REGISTER_STUB(r43, nullptr),
  114     DEFINE_REGISTER_STUB(r44, nullptr),
  115     DEFINE_REGISTER_STUB(r45, nullptr),
  116     DEFINE_REGISTER_STUB(r46, nullptr),
  117     DEFINE_REGISTER_STUB(r47, nullptr),
  118     DEFINE_REGISTER_STUB(r48, nullptr),
  119     DEFINE_REGISTER_STUB(r49, nullptr),
  120     DEFINE_REGISTER_STUB(r50, nullptr),
  121     DEFINE_REGISTER_STUB(r51, nullptr),
  122     DEFINE_REGISTER_STUB(r52, nullptr),
  123     DEFINE_REGISTER_STUB(r53, nullptr),
  124     DEFINE_REGISTER_STUB(r54, nullptr),
  125     DEFINE_REGISTER_STUB(r55, nullptr),
  126     DEFINE_REGISTER_STUB(r56, nullptr),
  127     DEFINE_REGISTER_STUB(r57, nullptr),
  128     DEFINE_REGISTER_STUB(r58, "accl"),
  129     DEFINE_REGISTER_STUB(r59, "acch"),
  130     DEFINE_REGISTER_STUB(r60, "lp_count"),
  131     DEFINE_REGISTER_STUB(r63, "pcl"),
  132     DEFINE_GENERIC_REGISTER_STUB(pc, nullptr, LLDB_REGNUM_GENERIC_PC),
  133     DEFINE_GENERIC_REGISTER_STUB(status32, nullptr, LLDB_REGNUM_GENERIC_FLAGS)} };
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp
 1308             ConstString(g_register_infos[i].name).GetCString();
 1311             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp
 1646             ConstString(g_register_infos[i].name).GetCString();
 1649             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp
  987             ConstString(g_register_infos[i].name).GetCString();
  990             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp
  185             ConstString(g_register_infos[i].name).GetCString();
  188             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp
  186             ConstString(g_register_infos[i].name).GetCString();
  189             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
  202             ConstString(g_register_infos[i].name).GetCString();
  205             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp
 1070             ConstString(g_register_infos[i].name).GetCString();
 1073             ConstString(g_register_infos[i].alt_name).GetCString();
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  894                           actual_symbol->GetName().GetCString(), load_addr);
  940               current_symbol->GetName().GetCString(),
  941               actual_symbol->GetName().GetCString(),
  964                       symbol->GetName().GetCString(), resolved_addr);
  990   equivalent_regex_buf.append(trampoline_name.GetCString());
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  538   FileSpec file(info.GetName().GetCString());
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  425   LLDB_LOGF(log, "Recording persistent type %s\n", name_cs.GetCString());
  445   LLDB_LOGF(log, "Recording persistent decl %s\n", name_cs.GetCString());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  247   const char *uniqued_const_decl_name = const_decl_name.GetCString();
  331                   i->first->GetFileSpec().GetFilename().GetCString());
  701                 name.GetCString());
  708                 name.GetCString(),
  715                 name.GetCString(), context.m_decl_context->getDeclKindName());
  757                 i->first->GetFileSpec().GetFilename().GetCString());
  836                   current_id, name.GetCString(),
  837                   module_sp->GetFileSpec().GetFilename().GetCString());
  865                   current_id, name.GetCString(),
  866                   image->GetFileSpec().GetFilename().GetCString());
  890           const char *name_string = type_sp->GetName().GetCString();
  893                     current_id, name.GetCString(),
  932                       current_id, name.GetCString());
  994               current_id, name.GetCString());
 1879                 name.GetCString(),
 1886                 name.GetCString());
 1913                 name.GetCString(),
 1914                 module_sp->GetFileSpec().GetFilename().GetCString());
 1945                 name.GetCString(),
 1946                 image->GetFileSpec().GetFilename().GetCString());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  381             static_cast<const void *>(decl), name.GetCString(),
  382             var->GetName().GetCString());
  710                 current_id, name.GetCString());
  716                 current_id, name.GetCString(),
  722                 current_id, name.GetCString(),
  757                     i->first->GetFileSpec().GetFilename().GetCString());
  845                 name.GetCString());
  851   if (name.GetCString()[0] == '$' && !namespace_decl) {
 1110                   m_ast_context, name.GetCString(), nullptr);
 1136     const char *reg_name(&name.GetCString()[1]);
 1433                         current_id, name.GetCString());
 1461                         current_id, name.GetCString());
 1689               current_id, pvar_sp->GetName().GetCString());
 1709               pvar_sp->GetName().GetCString(), ast_dumper.GetCString());
 2002               function_type->GetName().GetCString(), function_type->GetID());
 2013                   function_type->GetName().GetCString(),
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  305                           component.GetCString());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
   85       std::pair<const char *, clang::NamedDecl *>(name.GetCString(), decl));
   90           ConstString(enumerator_decl->getNameAsString()).GetCString(),
   99       m_persistent_decls.find(name.GetCString());
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  347       m_result_name.GetCString());
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
  552   std::string sym_name = symbol->GetName().GetCString();
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  148   llvm::StringRef full(m_full.GetCString());
  366   if (!strncmp(mangled_name.GetCString(), "_ZN", 3) &&
  367       strncmp(mangled_name.GetCString(), "_ZNK", 4)) {
  369     fixed_scratch.append(mangled_name.GetCString() + 3);
  374   if (!strncmp(mangled_name.GetCString(), "_Z", 2) &&
  375       strncmp(mangled_name.GetCString(), "_ZL", 3)) {
  377     fixed_scratch.append(mangled_name.GetCString() + 2);
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
   87         callable_info.callable_line_entry.file.GetFilename().GetCString(),
   93         callable_info.callable_line_entry.file.GetFilename().GetCString(),
   98                   callable_info.callable_symbol.GetName().GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp
   24     return formatters::ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
  114   return ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp
  115     return ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
  456   return ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxOptional.cpp
   24     return formatters::ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp
   24     return formatters::ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
  213   return ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp
  162   stream.Printf(" Active Type = %s ", template_type.GetTypeName().GetCString());
  177     return formatters::ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
  170   return ExtractIndexFromString(name.GetCString());
  277   const char *item_name = name.GetCString();
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
  104   return ExtractIndexFromString(name.GetCString());
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp
   63   llvm::StringRef class_name(descriptor->GetClassName().GetCString());
  111   llvm::StringRef class_name(descriptor->GetClassName().GetCString());
  156   llvm::StringRef class_name(descriptor->GetClassName().GetCString());
  201   llvm::StringRef class_name(descriptor->GetClassName().GetCString());
  247   llvm::StringRef class_name(descriptor->GetClassName().GetCString());
  436   llvm::StringRef class_name(descriptor->GetClassName().GetCString());
  955   llvm::StringRef class_name = descriptor->GetClassName().GetCString();
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp
  547   const char *item_name = name.GetCString();
  637   const char *item_name = name.GetCString();
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
   79           nullptr, lldb::eAccessPublic, g___lldb_autogen_nspair.GetCString(),
  513   const char *item_name = name.GetCString();
  737   const char *item_name = name.GetCString();
  906   const char *item_name = name.GetCString();
tools/lldb/source/Plugins/Language/ObjC/NSError.cpp
  200   const char *class_name = descriptor->GetClassName().GetCString();
tools/lldb/source/Plugins/Language/ObjC/NSException.cpp
  192   const char *class_name = descriptor->GetClassName().GetCString();
tools/lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
  129     const char *item_name = name.GetCString();
tools/lldb/source/Plugins/Language/ObjC/NSSet.cpp
  249   const char *class_name = class_name_cs.GetCString();
  325   const char *class_name = class_name_cs.GetCString();
  373   const char *item_name = name.GetCString();
  528   const char *item_name = name.GetCString();
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp
  145     stream.Printf("class name = %s", class_name_cs.GetCString());
tools/lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
  123       const char *full = m_full.GetCString();
  149       const char *full = m_full.GetCString();
  157         if (!m_class && strchr(m_class_category.GetCString(), '(') == nullptr) {
  172       const char *full = m_full.GetCString();
  188       const char *full = m_full.GetCString();
  212       strm.Printf("[%s %s]", GetClassName().GetCString(),
  213                   GetSelector().GetCString());
  228   ObjCLanguage::MethodName objc_method(method_name.GetCString(), false);
  246     strm.Printf("+%s", objc_method.GetFullName().GetCString());
  250     strm.Printf("-%s", objc_method.GetFullName().GetCString());
  255       strm.Printf("+%s", name_sans_category.GetCString());
  259       strm.Printf("-%s", name_sans_category.GetCString());
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
  162   llvm::StringRef vtable_name(symbol->GetName().GetCString());
  309   llvm::StringRef function_name(symbol->GetName().GetCString());
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
   85                       original_ptr, in_value.GetTypeName().GetCString(), name);
  129                       type_sp->GetID(), type_sp->GetName().GetCString());
  145                         type_sp->GetID(), type_sp->GetName().GetCString());
  161                         type_sp->GetID(), type_sp->GetName().GetCString());
  291     std::string corrected_name(type_and_or_name.GetName().GetCString());
  365                                        demangled.GetCString());
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
  277     std::string corrected_name(type_and_or_name.GetName().GetCString());
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
  403       return (size_t)arg.GetCString();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
  873                     kernel_name.GetCString(),
 1231                     base_kernel.GetCString());
 3613               func_name.GetCString());
 3620               func_name.GetCString());
 3766   target.AddNameToBreakpoint(bp, name.GetCString(), err);
 3887             kernel_addr, name.GetCString());
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
 2199       auto section_it = section_name_to_section.find(sect_name.GetCString());
 2203                 .emplace(sect_name.GetCString(),
 2791                       GetNextSyntheticSymbolName().GetCString(), // Symbol name.
 2836   const char *section_name = section->GetName().GetCString();
 2852       const char *hay_name = I->section_name.GetCString();
 2891         const char *symbol_name = GetNextSyntheticSymbolName().GetCString();
 3197       s->Printf("   %s\n", spec.GetFilename().GetCString());
 3330         section->GetName().GetCString(),
 3343         section->GetName().GetCString(),
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1902            static_cast<unsigned long long>(other), name.GetCString());
 1904       printf(" -> \"%s\"\n", import_name.GetCString());
 4295                 .GetCString();
 4415                                         .GetCString();
 5081           rpath.insert(0, this_file_spec.GetDirectory().GetCString());
 5084           rpath.insert(0, this_file_spec.GetDirectory().GetCString());
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  988     dll_specs.GetDirectory().SetString(m_file.GetDirectory().GetCString());
 1214       s->Printf("  %s\n", spec.GetFilename().GetCString());
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
  159                   GetPluginName().GetCString());
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
   85                   module_spec.GetFilename().GetCString());
  119                                  symfile_spec.GetDirectory().GetCString(),
  123                   symfile_spec.GetDirectory().GetCString(),
 1311       std::string basename_lower = fspec.GetFilename().GetCString();
 1586   stream.Printf("lib%s.dylib", basename.GetCString());
 1591   if (process && strstr(GetPluginName().GetCString(), "-simulator")) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
  118             GetPluginName().GetCString(), arch_names.GetData());
  148       FileSpec sdk_sysroot_fspec(m_sdk_sysroot.GetCString());
  157             m_sdk_sysroot.GetCString());
  365     return m_sdk_sysroot.GetCString();
  503         platform_file_path, GetPluginName().GetCString());
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  196               GetPluginName().GetCString(), arch_names.GetData());
  448         GetPluginName().GetCString());
  492         GetPluginName().GetCString());
 1061   stream.Printf("lib%s.so", basename.GetCString());
tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
  250               GetPluginName().GetCString(), arch_names.GetData());
  422   stream.Printf("%s.dll", basename.GetCString());
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  148             GetPluginName().GetCString(), arch_names.GetData());
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
 1309                            FileSpec file_spec(Info.GetName().GetCString());
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
  113     reg_info.name = name_val.GetCString();
  115     reg_info.alt_name = alt_name_val.GetCString();
  192                        containing_reg_name.GetCString());
  236                          composite_reg_name.GetCString());
  369                      invalidate_reg_name.GetCString(), reg_info.name);
  745     if (reg_info.name == reg_name.GetCString()) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
  260                m_full_unwind_plan_sp->GetSourceName().GetCString());
  841                           unwind_plan_sp->GetSourceName().GetCString());
  879                           unwind_plan_sp->GetSourceName().GetCString());
  893                             unwind_plan_sp->GetSourceName().GetCString());
  909                         unwind_plan_sp->GetSourceName().GetCString());
  948                         unwind_plan_sp->GetSourceName().GetCString());
  958         arch_default_unwind_plan_sp->GetSourceName().GetCString());
 1241             m_full_unwind_plan_sp->GetSourceName().GetCString());
 1296                      m_full_unwind_plan_sp->GetSourceName().GetCString());
 1683                  m_fallback_unwind_plan_sp->GetSourceName().GetCString(),
 1684                  original_full_unwind_plan_sp->GetSourceName().GetCString());
 1736                  m_full_unwind_plan_sp->GetSourceName().GetCString());
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  242           m_nt_file_entries[0].path.GetCString(), FileSpec::Style::native);
  257         this, DynamicLoaderPOSIXDYLD::GetPluginNameStatic().GetCString()));
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
   75         GetPluginName().GetCString());
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 2110                   StringConvert::ToUInt32(key.GetCString(), UINT32_MAX, 10);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
  507                                            : m_dyld_plugin_name.GetCString()));
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.h
   91         GetPluginName().GetCString());
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 2705     std::string basename(target_file.GetFilename().GetCString());
 2737       std::string directory = target_file.GetDirectory().GetCString();
 2760         if (llvm::StringRef(extension.GetCString()) == ".py")
 2762         else if (llvm::StringRef(extension.GetCString()) == ".pyc")
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  202                                      operation.GetCString());
  222     dict_p->AddStringItem("type", GetOperationType().GetCString());
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  490           attrs.name.GetCString(), attrs.encoding,
  672               DW_TAG_value_to_name(tag), attrs.name.GetCString(),
  712           attrs.name.GetCString(),
  741           die.GetOffset(), attrs.name.GetCString());
  853                     class_opaque_type, attrs.name.GetCString(), clang_type,
  990                           attrs.name.GetCString(),
  991                           class_type->GetName().GetCString(), die.GetID(),
 1007                               attrs.name.GetCString(), attrs.mangled_name,
 1101               attrs.name.GetCString(), clang_type, attrs.storage,
 1110                 attrs.name.GetCString(), clang_type, attrs.storage,
 1115                     attrs.name.GetCString(), template_param_infos);
 1416               DW_TAG_value_to_name(tag), attrs.name.GetCString(),
 1441           attrs.name.GetCString());
 1474             DW_TAG_value_to_name(tag), attrs.name.GetCString(),
 1502                                 attrs.name.GetCString());
 1521                                          attrs.name.GetCString(), tag_decl_kind,
 1530                 DW_TAG_value_to_name(tag), attrs.name.GetCString());
 1551           decl_ctx, attrs.accessibility, attrs.name.GetCString(), tag_decl_kind,
 1618             die.GetOffset(), attrs.name.GetCString());
 2055                                     base_class_type.GetTypeName().GetCString());
 2597             prop_getter_name = prop_getter_method.GetSelector().GetCString();
 2602             prop_setter_name = prop_setter_method.GetSelector().GetCString();
 2617             prop_setter_name = fixed_setter.GetCString();
 3883                 dst_die.GetOffset(), dst_name_artificial.GetCString());
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  533           m_objfile_sp->GetFileSpec().GetDirectory().GetCString();
 2019         name.GetCString(), static_cast<const void *>(parent_decl_ctx),
 2036   if (!CPlusPlusLanguage::ExtractContextAndIdentifier(name.GetCString(),
 2111         name.GetCString(), static_cast<const void *>(parent_decl_ctx),
 2260         name.GetCString(), name_type_mask);
 2296         name.GetCString(), name_type_mask, include_inlines,
 2385           name.GetCString(), static_cast<const void *>(parent_decl_ctx),
 2392           name.GetCString(), max_matches);
 2441           name.GetCString(), static_cast<const void *>(parent_decl_ctx),
 2449           name.GetCString(), max_matches, types.GetSize());
 2501         name.GetCString());
 2540         name.GetCString(),
 3339           mangled = decl_ctx.GetQualifiedNameAsConstString().GetCString();
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
  365                       oso_symbol->GetName().GetCString());
  413       const char *oso_path = comp_unit_info->oso_path.GetCString();
 1011                      name.GetCString());
tools/lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
   83     m_collection[name.GetCString()].Append(entry);
   89     const char *unique_name_cstr = name.GetCString();
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
 1235           record_type.GetTypeName().GetCString(), member_name.c_str(),
 1236           member_comp_type.GetTypeName().GetCString());
 1299           record_type.GetTypeName().GetCString(),
 1300           base_comp_type.GetTypeName().GetCString());
 1356         record_type.GetTypeName().GetCString(),
 1357         method_comp_type.GetTypeName().GetCString());
tools/lldb/source/Symbol/ClangASTContext.cpp
 2201   type = CreateRecordType(nullptr, lldb::eAccessPublic, type_name.GetCString(),
 6867             valobj ? valobj->GetName().GetCString() : nullptr;
 6950           valobj ? valobj->GetName().GetCString() : nullptr;
 6987             valobj ? valobj->GetName().GetCString() : nullptr;
tools/lldb/source/Symbol/Function.cpp
  310                       GetName().GetCString(), m_comp_unit->GetPath().c_str());
  328     *s << ", name = \"" << name.GetCString() << '"';
  330     *s << ", mangled = \"" << mangled.GetCString() << '"';
tools/lldb/source/Symbol/LocateSymbolFile.cpp
  333                       symbol_file_spec.GetFilename().GetCString());
  335                       symbol_file_spec.GetFilename().GetCString());
  341                         symbol_file_spec.GetFilename().GetCString());
tools/lldb/source/Symbol/ObjectFile.cpp
  643             file_name.GetCString());
tools/lldb/source/Symbol/Symbol.cpp
  156   m_addr_range.GetBaseAddress().SetOffset((uintptr_t)name.GetCString());
  164         (uintptr_t)ConstString(fspec.GetPath().c_str()).GetCString());
  244       s->Printf(" -> %s`%s\n", (const char *)shlib, reexport_name.GetCString());
  246       s->Printf(" -> %s\n", reexport_name.GetCString());
tools/lldb/source/Symbol/SymbolContext.cpp
  136           inlined_block_info->GetName(function->GetLanguage()).GetCString());
  292     s->Printf("name = \"%s\"\n", variable->GetName().GetCString());
tools/lldb/source/Symbol/Symtab.cpp
   81     object_name = m_objfile->GetModule()->GetObjectName().GetCString();
  372   const char *decl_context_ccstr = ConstString(decl_context).GetCString();
tools/lldb/source/Symbol/Type.cpp
  107   printf("(\"%s\")\n", name.GetCString());
tools/lldb/source/Symbol/TypeList.cpp
  138       const char *match_type_name = match_type_name_const_str.GetCString();
tools/lldb/source/Symbol/TypeMap.cpp
  168       const char *match_type_name = match_type_name_const_str.GetCString();
tools/lldb/source/Symbol/UnwindPlan.cpp
  443                   m_source_name.GetCString(), s.GetData());
  447                   m_source_name.GetCString());
  466                   m_source_name.GetCString(), s.GetData());
  471                   m_source_name.GetCString());
  493              m_source_name.GetCString());
tools/lldb/source/Symbol/Variable.cpp
  427               var_sp->GetName().GetCString());
tools/lldb/source/Target/ABI.cpp
   48     const char *unique_name_cstr = name.GetCString();
tools/lldb/source/Target/InstrumentationRuntime.cpp
   58     if (runtime_regex.Execute(file_spec.GetFilename().GetCString()) ||
tools/lldb/source/Target/PathMappingList.cpp
  130                 m_pairs[index].first.GetCString(),
  131                 m_pairs[index].second.GetCString());
  134       s->Printf("%s -> %s", m_pairs[pair_index].first.GetCString(),
  135                 m_pairs[pair_index].second.GetCString());
  234       new_spec.SetFile(entry.second.GetCString(), FileSpec::Style::native);
tools/lldb/source/Target/Platform.cpp
  298           name.GetCString());
  403   strm.Printf("  Platform: %s\n", GetPluginName().GetCString());
  649       const char first_dst_dir_char = dst.GetDirectory().GetCString()[0];
  767                                    GetPluginName().GetCString(),
  783                                    GetPluginName().GetCString(),
  797                                    GetPluginName().GetCString(),
  965                                    GetPluginName().GetCString());
  969         GetPluginName().GetCString());
  978                                    GetPluginName().GetCString());
  982         GetPluginName().GetCString());
tools/lldb/source/Target/Process.cpp
 5707                  sc.module_sp->GetFileSpec().GetFilename().GetCString());
 5924                   __FUNCTION__, plugin_sp->GetPluginName().GetCString(),
 5925                   type_name.GetCString());
tools/lldb/source/Target/SectionLoadList.cpp
  110                 load_addr, module_sp->GetFileSpec().GetFilename().GetCString(),
  111                 section->GetName().GetCString(),
  112                 curr_module_sp->GetFileSpec().GetFilename().GetCString(),
  113                 ats_pos->second->GetName().GetCString());
tools/lldb/source/Target/StackFrame.cpp
  605                                    name_const_string.GetCString());
  682                 var_expr_path_strm.GetData(), child_name.GetCString(),
  688                 var_expr_path_strm.GetData(), child_name.GetCString(),
  711                 name_const_string.GetCString());
  717                   child_name.GetCString(),
tools/lldb/source/Target/StackFrameRecognizer.cpp
   76         callback(entry.recognizer_id, entry.recognizer->GetName(), entry.module.GetCString(),
   77                  entry.symbol.GetCString(), false);
tools/lldb/source/Target/Target.cpp
  159       s->PutCString(exe_module->GetFileSpec().GetFilename().GetCString());
 1362           module_sp->GetFileSpec().GetFileNameStrippingExtension().GetCString(),
 1698                                          section_sp->GetName().GetCString());
 2721                       module_sp->GetFileSpec().GetFilename().GetCString());
tools/lldb/source/Target/TargetList.cpp
  249                 error_strm.PutCString(the_platform_sp->GetName().GetCString());
tools/lldb/source/Target/ThreadPlanStepInRange.cpp
  362               .GetCString();
tools/lldb/source/Target/UnixSignals.cpp
  140     return pos->second.m_name.GetCString();
tools/lldb/source/Utility/ConstString.cpp
  204   const char *cstr = str.GetCString();
  265   const char *cstr = GetCString();
tools/lldb/source/Utility/Event.cpp
   61                 broadcaster->GetBroadcasterName().GetCString(), m_type,
   67                 broadcaster->GetBroadcasterName().GetCString(), m_type);
tools/lldb/source/Utility/ProcessInfo.cpp
   42   return m_executable.GetFilename().GetCString();
  120     s.Printf("   name = %s\n", m_executable.GetFilename().GetCString());
tools/lldb/unittests/Core/MangledTest.cpp
   37   EXPECT_STREQ(ExpectedResult.GetCString(), TheDemangled.GetCString());
   37   EXPECT_STREQ(ExpectedResult.GetCString(), TheDemangled.GetCString());
   46   EXPECT_STREQ("", TheDemangled.GetCString());
tools/lldb/unittests/Target/ModuleCacheTest.cpp
  155       llvm::sys::fs::create_directories(uuid_view.GetDirectory().GetCString());
tools/lldb/unittests/Target/PathMappingListTest.cpp
   30     SCOPED_TRACE(fail.GetCString());
   32         << "actual_remapped: " << actual_remapped.GetCString();
tools/lldb/unittests/Utility/FileSpecTest.cpp
   18   EXPECT_STREQ("/foo", fs_posix.GetDirectory().GetCString());
   19   EXPECT_STREQ("bar", fs_posix.GetFilename().GetCString());
   25   EXPECT_STREQ("bar", fs_windows.GetFilename().GetCString());
   29   EXPECT_EQ(nullptr, fs_posix_root.GetDirectory().GetCString());
   30   EXPECT_STREQ("/", fs_posix_root.GetFilename().GetCString());
   34   EXPECT_EQ(nullptr, fs_net_drive.GetDirectory().GetCString());
   35   EXPECT_STREQ("//net", fs_net_drive.GetFilename().GetCString());
   39   EXPECT_STREQ("//net", fs_net_root.GetDirectory().GetCString());
   40   EXPECT_STREQ("/", fs_net_root.GetFilename().GetCString());
   44   EXPECT_EQ(nullptr, fs_windows_drive.GetDirectory().GetCString());
   45   EXPECT_STREQ("F:", fs_windows_drive.GetFilename().GetCString());
   49   EXPECT_STREQ("F:", fs_windows_root.GetDirectory().GetCString());
   55   EXPECT_STREQ("/foo/bar", fs_posix_long.GetDirectory().GetCString());
   56   EXPECT_STREQ("baz", fs_posix_long.GetFilename().GetCString());
   62   EXPECT_STREQ("baz", fs_windows_long.GetFilename().GetCString());
   66   EXPECT_STREQ("/foo", fs_posix_trailing_slash.GetDirectory().GetCString());
   67   EXPECT_STREQ("bar", fs_posix_trailing_slash.GetFilename().GetCString());
   71   EXPECT_STREQ("bar", fs_windows_trailing_slash.GetFilename().GetCString());
   78   EXPECT_STREQ("/foo", fs_posix.GetDirectory().GetCString());
   79   EXPECT_STREQ("bar", fs_posix.GetFilename().GetCString());
   84   EXPECT_STREQ("/foo/bar", fs_posix_2.GetDirectory().GetCString());
   85   EXPECT_STREQ("baz", fs_posix_2.GetFilename().GetCString());
   92   EXPECT_STREQ("baz", fs_windows.GetFilename().GetCString());
   97   EXPECT_STREQ("/", fs_posix_root.GetDirectory().GetCString());
   98   EXPECT_STREQ("bar", fs_posix_root.GetFilename().GetCString());
  105   EXPECT_STREQ("bar", fs_windows_root.GetFilename().GetCString());
  112   EXPECT_STREQ("/foo", fs.GetDirectory().GetCString());
  113   EXPECT_STREQ("bar", fs.GetFilename().GetCString());
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  162   Info.name = ConstString(Elements["name"]).GetCString();
  166   Info.alt_name = ConstString(Elements["alt-name"]).GetCString();