diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-07-10 13:11:08 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-07-10 13:11:08 +0000 |
| commit | ddb44b85f0536b1e6b0fdc8e74b7f43fda370a4c (patch) | |
| tree | 9aa9e5933b34e322ed79fda3d99fd609b1b39c6b /clang/test/Profile | |
| parent | 0429b7aeb49098269557fe19af0f4c687bdc7ecc (diff) | |
| download | bcm5719-llvm-ddb44b85f0536b1e6b0fdc8e74b7f43fda370a4c.tar.gz bcm5719-llvm-ddb44b85f0536b1e6b0fdc8e74b7f43fda370a4c.zip | |
Tweak a couple of -fprofile tests in clang/test to accept backslash in path.
llvm-svn: 241903
Diffstat (limited to 'clang/test/Profile')
| -rw-r--r-- | clang/test/Profile/gcc-flag-compatibility.c | 2 |
1 files changed, 1 insertions, 1 deletions
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*) |

