Handle both Linux and Windows path separator for the resource dir
authorPetr Hosek <phosek@chromium.org>
Thu, 28 Jun 2018 03:54:08 +0000 (03:54 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 28 Jun 2018 03:54:08 +0000 (03:54 +0000)
commit1a330a1acfacee3baef50104d3f1a32aa028aac0
tree55da74773622c0afd341a650e09a7273be29ce82
parent887f26d4703616934fd7a11b6649f605e1c7b4e3
Handle both Linux and Windows path separator for the resource dir

The resource dir path used for the multiarch runtimes support is
constructed in a platform independent way and therefore will use
native path separators on each platform. We need to make sure that
the per target runtime directory test handles both to not fail
when the test is being executed on Windows.

llvm-svn: 335810
clang/test/Driver/linux-per-target-runtime-dir.c