Lines Matching defs:option

169 // Parses a linker -m option.
558 // Report a warning for an unknown -z option.
609 // Note that --reproduce is a debug option so you can ignore it
735 error("unknown --target2 option: " + s);
1086 static DebugCompressionType getCompressionType(StringRef s, StringRef option) {
1093 error("unknown " + option + " value: " + s);
1096 error(option + ": " + reason);
1143 // If -z rel or -z rela is specified, use the last option.
1499 std::pair<StringRef, StringRef> option =
1502 if (option.first != reportArg.first)
1505 if (!isValidReportString(option.second)) {
1506 error(Twine("-z ") + reportArg.first + "= parameter " + option.second +
1510 *reportArg.second = option.second;
1515 std::pair<StringRef, StringRef> option =
1517 if (option.first != "dead-reloc-in-nonalloc")
1521 std::pair<StringRef, StringRef> kv = option.second.split('=');
1549 // unsupported LLVMgold.so option and error.
1553 error(arg->getSpelling() + ": unknown plugin option '" + arg->getValue() +
1608 // is an old-fashioned option that does not play well with lld's layout.
1960 // Parses --image-base option.
1997 // Handles the --exclude-libs option. If a static library file is specified
1998 // by the --exclude-libs option, all public symbols from the archive become
2002 // This is not a popular option, but some programs such as bionic libc use it.
2027 static void handleUndefined(Symbol *sym, const char *option) {
2036 ctx.whyExtractRecords.emplace_back(option, sym->file, *sym);
2134 // Handle --dependency-file=<path>. If that option is given, lld creates a
2147 // This option is useful if you want to make your final executable to depend
2155 // part of your program. By using --dependency-file option, you can make
2400 // The --wrap option is a feature to rename symbols so that you can write
2407 // This data structure is instantiated for each --wrap option.
2414 // Handles --wrap option.
2661 // If a --hash-style option was not given, set to a default value,