OSDN Git Service

Fix file name resolution in nested response files
authorSerge Pavlov <sepavloff@gmail.com>
Sun, 20 Nov 2016 06:25:07 +0000 (06:25 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Sun, 20 Nov 2016 06:25:07 +0000 (06:25 +0000)
commit15f79356372985e9409a0c3ee16d76a205e6ea88
tree8b43c55cde21afc07d4a7b19ec26f68888ed5e2f
parent802a1be56a3f4a0de31ed222141dc5b4c3020e2a
Fix file name resolution in nested response files

If a response file in construct `@file` was specified by relative name,
constructs `@file` nested within it were resolved incorrectly if the
flag RelativeNames in call to ExpandResponseFile was set to true.
This feature is used in configuration files, tests for it are in
respective change (see D24933).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp