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

References

tools/lld/wasm/Driver.cpp
  305   config->allowUndefined = args.hasArg(OPT_allow_undefined);
  307       args.hasFlag(OPT_check_features, OPT_no_check_features, true);
  308   config->compressRelocations = args.hasArg(OPT_compress_relocations);
  309   config->demangle = args.hasFlag(OPT_demangle, OPT_no_demangle, true);
  310   config->disableVerify = args.hasArg(OPT_disable_verify);
  311   config->emitRelocs = args.hasArg(OPT_emit_relocs);
  312   config->entry = getEntry(args);
  313   config->exportAll = args.hasArg(OPT_export_all);
  314   config->exportTable = args.hasArg(OPT_export_table);
  315   config->growableTable = args.hasArg(OPT_growable_table);
  317       args.hasFlag(OPT_fatal_warnings, OPT_no_fatal_warnings, false);
  318   config->importMemory = args.hasArg(OPT_import_memory);
  319   config->sharedMemory = args.hasArg(OPT_shared_memory);
  320   config->importTable = args.hasArg(OPT_import_table);
  321   config->ltoo = args::getInteger(args, OPT_lto_O, 2);
  322   config->ltoPartitions = args::getInteger(args, OPT_lto_partitions, 1);
  323   config->optimize = args::getInteger(args, OPT_O, 0);
  324   config->outputFile = args.getLastArgValue(OPT_o);
  325   config->relocatable = args.hasArg(OPT_relocatable);
  327       args.hasFlag(OPT_gc_sections, OPT_no_gc_sections, !config->relocatable);
  329       args.hasFlag(OPT_merge_data_segments, OPT_no_merge_data_segments,
  331   config->pie = args.hasFlag(OPT_pie, OPT_no_pie, false);
  333       args.hasFlag(OPT_print_gc_sections, OPT_no_print_gc_sections, false);
  334   config->saveTemps = args.hasArg(OPT_save_temps);
  335   config->searchPaths = args::getStrings(args, OPT_L);
  336   config->shared = args.hasArg(OPT_shared);
  337   config->stripAll = args.hasArg(OPT_strip_all);
  338   config->stripDebug = args.hasArg(OPT_strip_debug);
  339   config->stackFirst = args.hasArg(OPT_stack_first);
  340   config->trace = args.hasArg(OPT_trace);
  341   config->thinLTOCacheDir = args.getLastArgValue(OPT_thinlto_cache_dir);
  343       parseCachePruningPolicy(args.getLastArgValue(OPT_thinlto_cache_policy)),
  345   config->thinLTOJobs = args::getInteger(args, OPT_thinlto_jobs, -1u);
  346   errorHandler().verbose = args.hasArg(OPT_verbose);
  348   threadsEnabled = args.hasFlag(OPT_threads, OPT_no_threads, true);
  350   config->initialMemory = args::getInteger(args, OPT_initial_memory, 0);
  351   config->globalBase = args::getInteger(args, OPT_global_base, 1024);
  352   config->maxMemory = args::getInteger(args, OPT_max_memory, 0);
  354       args::getZOptionValue(args, OPT_z, "stack-size", WasmPageSize);
  358       args.hasFlag(OPT_export_dynamic, OPT_no_export_dynamic, config->shared);
  360   if (auto *arg = args.getLastArg(OPT_features)) {