summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/XRay/FDRRecordPrinterTest.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-11-02 08:35:46 +0000
committerDean Michael Berris <dberris@google.com>2018-11-02 08:35:46 +0000
commit8a3ef6f3c3603a9cb6f2cd21b70d739a14d931d7 (patch)
treeab771fc90c8dc65d29a4232d88a27f799e630e25 /llvm/unittests/XRay/FDRRecordPrinterTest.cpp
parent0c96ae3d6e24eaf2612a95bb396a77b419051318 (diff)
downloadbcm5719-llvm-8a3ef6f3c3603a9cb6f2cd21b70d739a14d931d7.tar.gz
bcm5719-llvm-8a3ef6f3c3603a9cb6f2cd21b70d739a14d931d7.zip
[XRay] Fix tests with updated fdr-dump
Follow-up to D54022. llvm-svn: 345955
Diffstat (limited to 'llvm/unittests/XRay/FDRRecordPrinterTest.cpp')
-rw-r--r--llvm/unittests/XRay/FDRRecordPrinterTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/unittests/XRay/FDRRecordPrinterTest.cpp b/llvm/unittests/XRay/FDRRecordPrinterTest.cpp
index 321892e7240..a0ec3f22bf5 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("<Function Enter: #1 delta = +1>"));
+ EXPECT_THAT(Data, Eq("<Function Enter: #1 delta = +2>"));
}
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("<Function Exit: #1 delta = +1>"));
+ EXPECT_THAT(Data, Eq("<Function Exit: #1 delta = +2>"));
}
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("<Function Tail Exit: #1 delta = +1>"));
+ EXPECT_THAT(Data, Eq("<Function Tail Exit: #1 delta = +2>"));
}
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("<Function Enter With Arg: #1 delta = +1>"));
+ EXPECT_THAT(Data, Eq("<Function Enter With Arg: #1 delta = +2>"));
}
} // namespace
OpenPOWER on IntegriCloud