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)
commitf258ff1fa9d926519c8b0cbb159d39b89dd1437f
tree396c5d3dcde8bf5100237e65ba9013773cf2e095
parent9f8cb730ebbcac7278b80d6896d65e344d4c207a
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).

llvm-svn: 287482
llvm/lib/Support/CommandLine.cpp