From ddb44b85f0536b1e6b0fdc8e74b7f43fda370a4c Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 10 Jul 2015 13:11:08 +0000 Subject: Tweak a couple of -fprofile tests in clang/test to accept backslash in path. llvm-svn: 241903 --- clang/test/Profile/gcc-flag-compatibility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Profile') diff --git a/clang/test/Profile/gcc-flag-compatibility.c b/clang/test/Profile/gcc-flag-compatibility.c index f4d0ccf7d6b..5f76c62483f 100644 --- a/clang/test/Profile/gcc-flag-compatibility.c +++ b/clang/test/Profile/gcc-flag-compatibility.c @@ -15,7 +15,7 @@ // Check that -fprofile-generate=/path/to generates /path/to/default.profraw // RUN: %clang %s -c -S -o - -emit-llvm -fprofile-generate=/path/to | FileCheck -check-prefix=PROFILE-GEN-EQ %s -// PROFILE-GEN-EQ: private constant [25 x i8] c"/path/to/default.profraw\00" +// PROFILE-GEN-EQ: private constant [25 x i8] c"/path/to{{/|\\5C}}default.profraw\00" // PROFILE-GEN-EQ: call void @__llvm_profile_override_default_filename(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @0, i32 0, i32 0)) // PROFILE-GEN-EQ: declare void @__llvm_profile_override_default_filename(i8*) -- cgit v1.2.3