[test]Make test work on Windows
authorJames Henderson <jh7370@my.bristol.ac.uk>
Tue, 14 May 2019 10:53:35 +0000 (10:53 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Tue, 14 May 2019 10:53:35 +0000 (10:53 +0000)
commitce0da8ba82d0fd5491e24a0a6aa85818911c9a46
tree4823779bf1a4b8908f9309c4cecff5d83e271e98
parent15842132d504cc43c849512c37e6efd2471c78b5
[test]Make test work on Windows

Previously, the test didn't work because '\' characters appeared in the
sed string, causing bogus escape characters to form in the substituted
string literal. Switching to using '%/p' causes the path to be emitted
with '/' characters instead, so that there are are no escaping issues.

Reviewed by: kzhuravl, grimar

Differential Revision: https://reviews.llvm.org/D61856

llvm-svn: 360660
llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.ll