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

References

tools/lld/ELF/ScriptParser.cpp
  279   if (isUnderSysroot && s.startswith("/")) {
  281     StringRef path = (config->sysroot + s).toStringRef(pathData);
  288   if (s.startswith("/")) {
  289     driver->addFile(s, /*withLOption=*/false);
  290   } else if (s.startswith("=")) {
  292       driver->addFile(s.substr(1), /*withLOption=*/false);
  294       driver->addFile(saver.save(config->sysroot + "/" + s.substr(1)),
  296   } else if (s.startswith("-l")) {
  297     driver->addLibrary(s.substr(2));
  298   } else if (sys::fs::exists(s)) {
  299     driver->addFile(s, /*withLOption=*/false);
  301     if (Optional<std::string> path = findFromSearchPaths(s))
  304       setError("unable to find " + s);