[PATCH] D115604: [Support] Expand `<CFGDIR>` as the base directory in configuration files.

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 29 23:29:45 PST 2021


sepavloff added inline comments.


================
Comment at: llvm/lib/Support/CommandLine.cpp:1099
+    else
+      llvm::sys::path::append(ResponseFile, LHS);
+    ResponseFile.append(BasePath);
----------------
What happens if `<CFGDIR>` is used without trailing path? Such line:
```
    --sysroot=<CFGDIR> -abc
```
 would be processed correctly?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115604/new/

https://reviews.llvm.org/D115604



More information about the llvm-commits mailing list