// Opens and parses a file. Path has to be resolved already.
// Newly created memory buffers are owned by this driver.
void LinkerDriver::addFile(StringRef Path) {
- using namespace llvm::sys::fs;
+ using namespace sys::fs;
if (Config->Verbose)
- llvm::outs() << Path << "\n";
+ outs() << Path << "\n";
if (!Config->Reproduce.empty())
copyInputFile(Path);
// Expand response files. '@<filename>' is replaced by the file's contents.
SmallVector<const char *, 256> Vec(Argv.data(), Argv.data() + Argv.size());
StringSaver Saver(Alloc);
- llvm::cl::ExpandResponseFiles(Saver, llvm::cl::TokenizeGNUCommandLine, Vec);
+ cl::ExpandResponseFiles(Saver, cl::TokenizeGNUCommandLine, Vec);
// Parse options and then do error checking.
opt::InputArgList Args = this->ParseArgs(Vec, MissingIndex, MissingCount);
// the same command with the same inputs just by executing
// "ld.lld @response.txt". Used by --reproduce. This feature is
// supposed to be used by users to report an issue to LLD developers.
-void elf::createResponseFile(const llvm::opt::InputArgList &Args) {
+void elf::createResponseFile(const opt::InputArgList &Args) {
// Create the output directory.
if (std::error_code EC =
fs::create_directories(Config->Reproduce, /*IgnoreExisting=*/false)) {