From 8a3ef6f3c3603a9cb6f2cd21b70d739a14d931d7 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Fri, 2 Nov 2018 08:35:46 +0000 Subject: [PATCH] [XRay] Fix tests with updated fdr-dump Follow-up to D54022. llvm-svn: 345955 --- .../tools/llvm-xray/X86/fdr-dump-arg1-version-3.txt | 12 ++++++------ llvm/test/tools/llvm-xray/X86/fdr-dump-arg1.txt | 4 ++-- llvm/unittests/XRay/FDRRecordPrinterTest.cpp | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1-version-3.txt b/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1-version-3.txt index 35303016af9a..ccb8a1b0538b 100644 --- a/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1-version-3.txt +++ b/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1-version-3.txt @@ -12,14 +12,14 @@ ; CHECK-NEXT: ; CHECK-NEXT: ; CHECK-EMPTY: -; CHECK-NEXT: - -; CHECK-NEXT: - -; CHECK-NEXT: - -; CHECK-NEXT: - +; CHECK-NEXT: - +; CHECK-NEXT: - +; CHECK-NEXT: - +; CHECK-NEXT: - ; CHECK-EMPTY: ; CHECK-NEXT: Metadata: ; CHECK-EMPTY: -; CHECK-NEXT: - +; CHECK-NEXT: - ; CHECK-NEXT: : -; CHECK-NEXT: - +; CHECK-NEXT: - diff --git a/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1.txt b/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1.txt index df39f6ddd5fe..8fb381a170c3 100644 --- a/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1.txt +++ b/llvm/test/tools/llvm-xray/X86/fdr-dump-arg1.txt @@ -9,8 +9,8 @@ ; CHECK-NEXT: ; CHECK-NEXT: ; CHECK-EMPTY: -; CHECK-NEXT: - +; CHECK-NEXT: - ; CHECK-NEXT: : -; CHECK-NEXT: - +; CHECK-NEXT: - ; CHECK-NEXT: *** diff --git a/llvm/unittests/XRay/FDRRecordPrinterTest.cpp b/llvm/unittests/XRay/FDRRecordPrinterTest.cpp index 321892e72407..a0ec3f22bf5b 100644 --- a/llvm/unittests/XRay/FDRRecordPrinterTest.cpp +++ b/llvm/unittests/XRay/FDRRecordPrinterTest.cpp @@ -132,7 +132,7 @@ TEST(FDRRecordPrinterTest, WriteFunctionRecordEnter) { FunctionRecord R(RecordTypes::ENTER, 1, 2); ASSERT_FALSE(errorToBool(R.apply(P))); OS.flush(); - EXPECT_THAT(Data, Eq("")); + EXPECT_THAT(Data, Eq("")); } TEST(FDRRecordPrinterTest, WriteFunctionRecordExit) { @@ -142,7 +142,7 @@ TEST(FDRRecordPrinterTest, WriteFunctionRecordExit) { FunctionRecord R(RecordTypes::EXIT, 1, 2); ASSERT_FALSE(errorToBool(R.apply(P))); OS.flush(); - EXPECT_THAT(Data, Eq("")); + EXPECT_THAT(Data, Eq("")); } TEST(FDRRecordPrinterTest, WriteFunctionRecordTailExit) { @@ -152,7 +152,7 @@ TEST(FDRRecordPrinterTest, WriteFunctionRecordTailExit) { FunctionRecord R(RecordTypes::TAIL_EXIT, 1, 2); ASSERT_FALSE(errorToBool(R.apply(P))); OS.flush(); - EXPECT_THAT(Data, Eq("")); + EXPECT_THAT(Data, Eq("")); } TEST(FDRRecordPrinterTest, WriteFunctionRecordEnterArg) { @@ -162,7 +162,7 @@ TEST(FDRRecordPrinterTest, WriteFunctionRecordEnterArg) { FunctionRecord R(RecordTypes::ENTER_ARG, 1, 2); ASSERT_FALSE(errorToBool(R.apply(P))); OS.flush(); - EXPECT_THAT(Data, Eq("")); + EXPECT_THAT(Data, Eq("")); } } // namespace