Lines Matching defs:option
149 // Parses a linker -m option.
575 // Report a warning for an unknown -z option.
628 // Note that --reproduce is a debug option so you can ignore it
755 ErrAlways(ctx) << "unknown --target2 option: " << s;
1125 StringRef option) {
1132 ErrAlways(ctx) << "unknown " << option << " value: " << s;
1135 ErrAlways(ctx) << option << ": " << reason;
1185 // If -z rel or -z rela is specified, use the last option.
1565 std::pair<StringRef, StringRef> option =
1568 if (option.first != reportArg.first)
1571 if (!isValidReportString(option.second)) {
1573 << option.second << " is not recognized";
1576 *reportArg.second = option.second;
1607 std::pair<StringRef, StringRef> option =
1609 if (option.first != "dead-reloc-in-nonalloc")
1613 std::pair<StringRef, StringRef> kv = option.second.split('=');
1643 // unsupported LLVMgold.so option and error.
1647 ErrAlways(ctx) << arg->getSpelling() << ": unknown plugin option '"
1704 // is an old-fashioned option that does not play well with lld's layout.
2106 // Parses --image-base option.
2143 // Handles the --exclude-libs option. If a static library file is specified
2144 // by the --exclude-libs option, all public symbols from the archive become
2148 // This is not a popular option, but some programs such as bionic libc use it.
2176 static void handleUndefined(Ctx &ctx, Symbol *sym, const char *option) {
2185 ctx.whyExtractRecords.emplace_back(option, sym->file, *sym);
2286 // Handle --dependency-file=<path>. If that option is given, lld creates a
2299 // This option is useful if you want to make your final executable to depend
2307 // part of your program. By using --dependency-file option, you can make
2566 // The --wrap option is a feature to rename symbols so that you can write
2573 // This data structure is instantiated for each --wrap option.
2580 // Handles --wrap option.