]> granicus.if.org Git - clang/commit
[Driver] Fix codeview-column-info on macOS
authorShoaib Meenai <smeenai@fb.com>
Tue, 27 Feb 2018 06:04:23 +0000 (06:04 +0000)
committerShoaib Meenai <smeenai@fb.com>
Tue, 27 Feb 2018 06:04:23 +0000 (06:04 +0000)
commit2e136b185eb43c64d5de4d17cf6128ace6866d7e
tree54467ba6c7183913a7912ce174ee3bcf5c1129ae
parent88d94f25465b59868c5a4ae541e85df5ef741c9f
[Driver] Fix codeview-column-info on macOS

macOS home directory paths begin with /Users, and clang-cl interprets
the /U portion as a macro undefine rather than a path, causing test
failures on macOS. Use a -- to explicitly treat the input file as a path
and fix the test.

This effectively reverts r326168 and adds an alternative fix.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326171 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/codeview-column-info.c