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

Declarations

tools/lldb/include/lldb/Utility/FileSpec.h
  318   const char *GetCString(bool denormalize = true) const;

References

tools/lldb/source/API/SBFileSpec.cpp
  124   return directory.GetCString();
tools/lldb/source/API/SBLaunchInfo.cpp
  190   return m_opaque_sp->GetWorkingDirectory().GetCString();
tools/lldb/source/API/SBPlatform.cpp
  314     return platform_sp->GetWorkingDirectory().GetCString();
  517       working_dir = platform_sp->GetWorkingDirectory().GetCString();
tools/lldb/source/Core/Debugger.cpp
  359   return r.GetReproducerPath().GetCString();
tools/lldb/source/Host/common/FileAction.cpp
   29 llvm::StringRef FileAction::GetPath() const { return m_file_spec.GetCString(); }
   85                   m_file_spec.GetCString(), m_arg);
tools/lldb/source/Host/common/HostInfoBase.cpp
  280   file_spec.GetDirectory().SetCString(temp_file_spec.GetCString());
  303   file_spec.GetDirectory().SetCString(temp_file_spec.GetCString());
tools/lldb/source/Host/posix/FileSystem.cpp
   38   if (::symlink(dst.GetCString(), src.GetCString()) == -1)
   38   if (::symlink(dst.GetCString(), src.GetCString()) == -1)
   46   ssize_t count = ::readlink(src.GetCString(), buf, sizeof(buf) - 1);
   59     return Status("Couldn't get the canonical path for %s", src.GetCString());
tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
   76       file_spec.GetCString(), flags, 0666);
  122       0 != ::chdir(info.GetWorkingDirectory().GetCString()))
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
  107                 __FUNCTION__, m_exe_file_spec.GetCString());
  628     LLDB_LOGF(log, "\n   SOEntry [%d] %s", i, I->file_spec.GetCString());
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  589           __FUNCTION__, I->file_spec.GetCString(), I->base_addr);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
  874                     address.GetModule()->GetFileSpec().GetCString());
 2989               m_module->GetFileSpec().GetCString(), raw_rs_info.str().c_str());
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
  195         source_spec.GetCString(false));
  210   auto source_file = source_spec.GetCString(false);
  238         destination_spec.GetCString(false));
  345                  module_sp->GetPlatformFileSpec().GetCString(false),
  346                  symfile_platform_filespec.GetCString(false));
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  258                 working_dir.GetCString());
  272               working_dir.GetCString());
  603             file_spec.GetCString(), mode, error.GetError(), error.AsCString());
  614             file_spec.GetCString(), file_permissions, error.GetError(),
  626             file_spec.GetCString(), file_permissions, error.GetError(),
  674             src.GetCString(), dst.GetCString(), error.GetError(),
  674             src.GetCString(), dst.GetCString(), error.GetError(),
  683             file_spec.GetCString(), error.GetError(), error.AsCString());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
 1113   response.PutStringAsRawHex8(matched_module_spec.GetFileSpec().GetCString());
 1188   response.PutStringAsRawHex8(proc_info.GetExecutableFile().GetCString());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 1347     response.PutStringAsRawHex8(working_dir.GetCString());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  535   llvm::sys::fs::createUniqueFile(socket_path_spec.GetCString(), socket_path);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  803                 stdin_file_spec ? stdin_file_spec.GetCString() : "<null>",
  804                 stdout_file_spec ? stdout_file_spec.GetCString() : "<null>",
  805                 stderr_file_spec ? stderr_file_spec.GetCString() : "<null>");
  869             stdin_file_spec ? stdin_file_spec.GetCString() : "<null>",
  870             stdout_file_spec ? stdout_file_spec.GetCString() : "<null>",
  871             stderr_file_spec ? stderr_file_spec.GetCString() : "<null>");
  878                 stdin_file_spec ? stdin_file_spec.GetCString() : "<null>",
  879                 stdout_file_spec ? stdout_file_spec.GetCString() : "<null>",
  880                 stderr_file_spec ? stderr_file_spec.GetCString() : "<null>");
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
 1026       dwarf_cu->GetCompilationDirectory().GetCString(), FileSpec(comp_unit)));
tools/lldb/source/Target/Platform.cpp
  437     strm.Printf("WorkingDir: %s\n", GetWorkingDirectory().GetCString());
  568           "unable to setup directory %s on remote end", dst_dir.GetCString());
  672         fixed_dst.GetDirectory().SetCString(working_dir.GetCString());
  682       fixed_dst.GetDirectory().SetCString(working_dir.GetCString());
  709         recurse_dst.GetDirectory().SetCString(fixed_dst.GetCString());
  821             working_dir.GetCString());
tools/lldb/tools/lldb-server/lldb-platform.cpp
  103                   temp_file_spec.GetCString(), error.AsCString());
tools/lldb/tools/lldb-test/lldb-test.cpp
  906                            Files.GetFileSpecAtIndex(I).GetCString());
tools/lldb/unittests/Target/ModuleCacheTest.cpp
   89       << "uuid_view is: " << uuid_view.GetCString();
   94       << "sysroot_view is: " << sysroot_view.GetCString();
  114         EXPECT_STREQ(GetDummyRemotePath().GetCString(),
  115                      module_spec.GetFileSpec().GetCString());
  117             s_test_executable, tmp_download_file_spec.GetCString());
  135   EXPECT_STREQ(GetDummyRemotePath().GetCString(),
  136                module_sp->GetPlatformFileSpec().GetCString());
  157   ec = llvm::sys::fs::copy_file(s_test_executable, uuid_view.GetCString());
tools/lldb/unittests/Utility/FileSpecTest.cpp
   17   EXPECT_STREQ("/foo/bar", fs_posix.GetCString());
   22   EXPECT_STREQ("F:\\bar", fs_windows.GetCString());
   28   EXPECT_STREQ("/", fs_posix_root.GetCString());
   33   EXPECT_STREQ("//net", fs_net_drive.GetCString());
   38   EXPECT_STREQ("//net/", fs_net_root.GetCString());
   43   EXPECT_STREQ("F:", fs_windows_drive.GetCString());
   48   EXPECT_STREQ("F:\\", fs_windows_root.GetCString());
   54   EXPECT_STREQ("/foo/bar/baz", fs_posix_long.GetCString());
   59   EXPECT_STREQ("F:\\bar\\baz", fs_windows_long.GetCString());
   65   EXPECT_STREQ("/foo/bar", fs_posix_trailing_slash.GetCString());
   70   EXPECT_STREQ("F:\\bar", fs_windows_trailing_slash.GetCString());
   77   EXPECT_STREQ("/foo/bar", fs_posix.GetCString());
   83   EXPECT_STREQ("/foo/bar/baz", fs_posix_2.GetCString());
   89   EXPECT_STREQ("F:\\bar\\baz", fs_windows.GetCString());
   96   EXPECT_STREQ("/bar", fs_posix_root.GetCString());
  102   EXPECT_STREQ("F:\\bar", fs_windows_root.GetCString());
  111   EXPECT_STREQ("/foo/bar", fs.GetCString());
  119   EXPECT_STREQ("/bar/foo", fs_posix.GetCString());
  123   EXPECT_STREQ("/baz/foo/bar", fs_posix_2.GetCString());
  127   EXPECT_STREQ("F:\\bar\\baz", fs_windows.GetCString());
  131   EXPECT_STREQ("/bar", fs_posix_root.GetCString());
  135   EXPECT_STREQ("F:\\bar", fs_windows_root.GetCString());
  343   EXPECT_STREQ("/foo/bar/baz", fs_posix.GetCString());
  345   EXPECT_STREQ("/foo/bar", fs_posix.GetCString());
  347   EXPECT_STREQ("/foo", fs_posix.GetCString());
  349   EXPECT_STREQ("/", fs_posix.GetCString());
  351   EXPECT_STREQ("/", fs_posix.GetCString());
  354   EXPECT_STREQ("foo/bar/baz", fs_posix_relative.GetCString());
  356   EXPECT_STREQ("foo/bar", fs_posix_relative.GetCString());
  358   EXPECT_STREQ("foo", fs_posix_relative.GetCString());
  360   EXPECT_STREQ("foo", fs_posix_relative.GetCString());
  363   EXPECT_STREQ(".", fs_posix_relative2.GetCString());
  365   EXPECT_STREQ(".", fs_posix_relative2.GetCString());
  367   EXPECT_STREQ(".", fs_posix_relative2.GetCString());
  370   EXPECT_STREQ("C:\\foo\\bar\\baz", fs_windows.GetCString());
  372   EXPECT_STREQ("C:\\foo\\bar", fs_windows.GetCString());
  374   EXPECT_STREQ("C:\\foo", fs_windows.GetCString());
  376   EXPECT_STREQ("C:\\", fs_windows.GetCString());
  378   EXPECT_STREQ("C:", fs_windows.GetCString());
  380   EXPECT_STREQ("C:", fs_windows.GetCString());