[Driver] Don't use capture for InstalledDir
authorPetr Hosek <phosek@google.com>
Tue, 20 Apr 2021 20:42:18 +0000 (13:42 -0700)
committerPetr Hosek <phosek@google.com>
Tue, 20 Apr 2021 20:43:56 +0000 (13:43 -0700)
commitcaff17e503fe81d69e90dd69b14f5149659f9db4
treee9e0f155fd2da967936cb5b23515484c74bc00c8
parentf5efe0aa048b2bd3363b3a53efe9ae7367244801
[Driver] Don't use capture for InstalledDir

This is another attempt to address the issue introduced in
ae8b2cab67408a043a4fe964d16e4803553c4ee0.

We cannot capture InstalledDir because FileCheck doesn't handle
the backslashes correctly, so instead we just consume the entire
path prefix which is what other tests are doing.
clang/test/Driver/darwin-ld.c