summaryrefslogtreecommitdiff
path: root/cross-project-tests
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2022-07-12 19:29:00 +0000
committerDavid Blaikie <dblaikie@gmail.com>2022-07-12 19:29:38 +0000
commit63f4cfe267076d44b318bcee718ccf33b06df926 (patch)
tree9eae8ecefe4ff888b42646d1085a2e49413fea7d /cross-project-tests
parente5ff1a7f5600999bd6d3797dcd199f4814e56103 (diff)
downloadllvm-63f4cfe267076d44b318bcee718ccf33b06df926.tar.gz
Pretty printer test fixes
Diffstat (limited to 'cross-project-tests')
-rw-r--r--cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb10
1 files changed, 5 insertions, 5 deletions
diff --git a/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb b/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
index eafac583d9f5..6222ab84ed8c 100644
--- a/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
+++ b/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
@@ -42,7 +42,7 @@ p Twine
# CHECK: llvm::StringMap with 2 elements = {["foo"] = 123, ["bar"] = 456}
py import sys
-py gdb.execute("p StringMap" if sys.version_info.major > 2 else "printf \"llvm::StringMap with 2 elements = {[\\\"foo\\\"] = 123, [\\\"bar\\\"] = 456}\"\n")
+py gdb.execute("p StringMap" if sys.version_info.major > 2 else "printf \"llvm::StringMap with 2 elements = {[\\\"foo\\\"] = 123, [\\\"bar\\\"] = 456}\"\n\n")
# CHECK: {pointer = 0xabc, value = 1}
p PointerIntPair
@@ -64,7 +64,7 @@ set print pretty
# CHECK: },
# CHECK: <llvm::ilist_node<IlistNode, llvm::ilist_tag<B> >> = {
# CHECK: prev = [[Node_14]],
-# CHECK: next = [[SimpleIlist_Sentinel:0x.*]] <completed>
+# CHECK: next = [[SimpleIlist_Sentinel:0x.*]] <SimpleIlist>
# CHECK: },
# CHECK: members of IlistNode:
# CHECK: Value = 13
@@ -87,7 +87,7 @@ set print pretty
# CHECK: next = [[Ilist_Sentinel]] <Ilist>
# CHECK: },
# CHECK: <llvm::ilist_node<IlistNode, llvm::ilist_tag<B> >> = {
-# CHECK: prev = [[SimpleIlist_Sentinel]] <completed>,
+# CHECK: prev = [[SimpleIlist_Sentinel]] <SimpleIlist>,
# CHECK: next = [[Node_14]]
# CHECK: },
# CHECK: members of IlistNode:
@@ -103,7 +103,7 @@ p Ilist
# CHECK: next = [[Ilist_Sentinel]] <Ilist>
# CHECK: },
# CHECK: <llvm::ilist_node<IlistNode, llvm::ilist_tag<B> >> = {
-# CHECK: prev = [[SimpleIlist_Sentinel]] <completed>,
+# CHECK: prev = [[SimpleIlist_Sentinel]] <SimpleIlist>,
# CHECK: next = [[Node_14]]
# CHECK: },
# CHECK: members of IlistNode:
@@ -128,7 +128,7 @@ p Ilist
# CHECK: },
# CHECK: <llvm::ilist_node<IlistNode, llvm::ilist_tag<B> >> = {
# CHECK: prev = [[Node_14]],
-# CHECK: next = [[SimpleIlist_Sentinel]] <completed>
+# CHECK: next = [[SimpleIlist_Sentinel]] <SimpleIlist>
# CHECK: },
# CHECK: members of IlistNode:
# CHECK: Value = 13