Lines Matching +defs:load +defs:file
173 // For compatibility no value means don't load dependents.
221 "Fullpath to a core file to use for this target."),
227 "symbols file for when debug symbols "
230 LLDB_OPT_SET_1, false, "remote-file", 'r', 0, eArgTypeFilename,
231 "Fullpath to the file on the remote host if debugging remotely.") {
256 auto file = FileSystem::Instance().Open(
259 if (!file) {
262 llvm::toString(file.takeError()));
270 auto file = FileSystem::Instance().Open(
273 if (!file) {
276 llvm::toString(file.takeError()));
333 // I have a remote file.. two possible cases
335 // if the remote file does not exist, push it there
344 // there is no local file and we need one
350 // copy the remote file to the local file
357 // If the remote file exists, we can debug reading that out of
359 // then we can at least check the file exists remotely. Otherwise
363 // support supplying a remote file but no local file for a local
366 result.AppendError("Supply a local file, not a remote file, "
375 // Since there's only a remote file, we need to set the executable
376 // file spec to the remote one.
418 // Seems weird that we Launch a core file, but that is what we
423 result.AppendError(error.AsCString("unknown core file format"));
427 "Core file '{0}' ({1}) was loaded.\n", core_file.GetPath(),
433 result.AppendErrorWithFormatv("Unknown core file format '{0}'\n",
697 static const uint32_t SHORT_OPTION_FILE = 0x66696c65; // 'file'
708 m_option_compile_units(LLDB_OPT_SET_1, false, "file", SHORT_OPTION_FILE,
710 "A basename or fullpath to a file that contains "
1366 strm.Format("No object file for module: {0:F}\n",
1820 // module list in case it is a extra file used somewhere else
1835 // A base command object class that can auto complete with module file
1863 // file paths
1893 "Dump the object file headers from one or more target modules.",
2175 // Take a single file argument.
2193 result.AppendError("file must have a .pcm extension");
2198 result.AppendError("pcm file does not exist");
2232 "Dump the clang ast for a given module's symbol file.",
2303 "Dump the debug symbol file for one or more target modules.",
2402 result.AppendError("file option must be specified.");
2627 strm << "Symbol file: " << symfile;
2709 "symbols file for when debug symbols "
2734 // We are given a UUID only, go locate the file
2754 "Unable to create the executable or symbol file with "
2755 "UUID %s with path %s and symbol file %s",
2760 "Unable to create the executable or symbol file with "
2767 "or symbol file with UUID %s",
2776 "Unable to locate the executable or symbol file with UUID %s",
2845 interpreter, "target modules load",
2846 "Set the load addresses for one or more sections in a target "
2848 "target modules load [--file <module> --uuid <uuid>] <sect-name> "
2851 m_file_option(LLDB_OPT_SET_1, false, "file", 'f', 0, eArgTypeName,
2852 "Fullpath or basename for module to load.", ""),
2853 m_load_option(LLDB_OPT_SET_1, false, "load", 'l',
2854 "Write file contents to the memory.", false, true),
2857 " Only applicable with '--load' option.",
2860 "Set the load address for all sections to be the "
2861 "virtual address in the file plus the offset.",
2879 const bool load = m_load_option.GetOptionValue().GetCurrentValue();
2886 // Allow "load" option to work without --file or --uuid option.
2887 if (load) {
2915 result.AppendErrorWithFormat("no object file for module '%s'\n",
2948 result.AppendError("one or more section name + load "
2956 "section load addresses.\n");
2993 "invalid load address string '%s'\n", load_addr_cstr);
2999 "a load address.\n");
3001 result.AppendError("one or more section name + load "
3014 if (load) {
3022 result.AppendError("No entry address in object file");
3050 result.AppendErrorWithFormat("no sections in object file '%s'\n",
3055 result.AppendErrorWithFormat("no object file for module '%s'\n",
3078 "multiple modules match%s%s%s%s:\n", path[0] ? " file=" : "",
3089 path[0] ? " file=" : "", path, !uuid_str.empty() ? " uuid=" : "",
3094 result.AppendError("either the \"--file <module>\" or the \"--uuid "
3345 // Show the load address of the image
3385 // Dump symbol file only if different from module file
3659 result.GetOutputStream().Printf("object file UnwindPlan:\n");
3668 result.GetOutputStream().Printf("object file augmented UnwindPlan:\n");
3720 result.GetOutputStream().Printf("Symbol file UnwindPlan:\n");
3901 FileSpec m_file; // Files for file lookups
3905 uint32_t m_line_number; // Line number for file+line lookups
3908 // file/line.
4179 LoadSubCommand("load", CommandObjectSP(new CommandObjectTargetModulesLoad(
4211 "Add a debug symbol file to one of the target's current modules by "
4212 "specifying a path to a debug symbols file or by using the options "
4264 // Now module_spec represents a symbol file for a module that might exist
4268 // First extract all module specs from the symbol file
4308 // Just try to match up the file by basename if we have no matches at
4330 result.AppendErrorWithFormat("multiple modules match symbol file '%s', "
4353 "symbol file '%s' has been added to '%s'\n", symfile_path,
4362 // Make sure we load any scripting resources that may be embedded
4370 "unable to load scripting data for module %s - error "
4384 // Clear the symbol file spec if anything went wrong
4395 "symbol file '%s'%s does not match any existing module%s\n",
4398 ? "\n please specify the full path to the symbol file"
4455 "unable to find debug symbols for the executable file ");
4584 result.AppendError("one or more symbol file paths must be specified, "
4594 result.AppendError("specify at most one symbol file path when "
4890 a line range in a source file, a function name or a class name.
5262 interpreter, "target dump section-load-list",
5263 "Dump the state of the target's internal section load list. "
5287 "target dump [typesystem|section-load-list]") {
5291 LoadSubCommand("section-load-list",