From 4bdc7aed0373a384f0526db3f7da11efd08d7bf7 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Thu, 15 May 2025 15:45:10 +0100 Subject: libctf: testsuite fixes for datasec size changes --- libctf/testsuite/libctf-lookup/by-kind/array.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/const.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/datasec.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/decl-tag.lk | 4 ++-- libctf/testsuite/libctf-lookup/by-kind/enum.lk | 4 ++-- libctf/testsuite/libctf-lookup/by-kind/forward.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/integer.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/pointer.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/restrict.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/struct.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/type-tag.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/union.lk | 2 +- libctf/testsuite/libctf-lookup/by-kind/volatile.lk | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) (limited to 'libctf') diff --git a/libctf/testsuite/libctf-lookup/by-kind/array.lk b/libctf/testsuite/libctf-lookup/by-kind/array.lk index 2f9334d..e33c101 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/array.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/array.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x4: foo: 0x3: \(kind 3\) int \[16\] .* + 0: 0x4: foo \(datasec size: .*\): 0x3: \(kind 3\) int \[16\] .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/const.lk b/libctf/testsuite/libctf-lookup/by-kind/const.lk index 3191053..c895abb 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/const.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/const.lk @@ -4,7 +4,7 @@ #... Section \.rodata: - 0: 0x3: foo: 0x2: \(kind 10\) const int .* + 0: 0x3: foo \(datasec size: .*\): 0x2: \(kind 10\) const int .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/datasec.lk b/libctf/testsuite/libctf-lookup/by-kind/datasec.lk index 0e3ed47..f5a657c 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/datasec.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/datasec.lk @@ -4,7 +4,7 @@ #... Section \.BAR: - 0: 0x2: foo: 0x1: \(kind 1\) int .* + 0: 0x2: foo \(datasec size: .*\): 0x1: \(kind 1\) int .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/decl-tag.lk b/libctf/testsuite/libctf-lookup/by-kind/decl-tag.lk index 18c430a..7a150fd 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/decl-tag.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/decl-tag.lk @@ -4,8 +4,8 @@ #... Section \.bss: - 0: 0x[45]: bar: 0x2: \(kind 4\) struct .* - 0: 0x[56]: foo: 0x1: \(kind 1\) int .* + 0: 0x[45]: bar \(datasec size: .*\): 0x2: \(kind 4\) struct .* + 0: 0x[56]: foo \(datasec size: .*\): 0x1: \(kind 1\) int .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/enum.lk b/libctf/testsuite/libctf-lookup/by-kind/enum.lk index f06d8cd..875f09a 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/enum.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/enum.lk @@ -4,8 +4,8 @@ #... Section \.bss: - [0-9]*: 0x[0-9]*: bar: 0x3: \(kind 19\) enum big .* - [0-9]*: 0x[0-9]*: foo: 0x1: \(kind 6\) enum baz .* + [0-9]*: 0x[0-9]*: bar \(datasec size: .*\): 0x3: \(kind 19\) enum big .* + [0-9]*: 0x[0-9]*: foo \(datasec size: .*\): 0x1: \(kind 6\) enum baz .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/forward.lk b/libctf/testsuite/libctf-lookup/by-kind/forward.lk index aad478b..e5b78c2 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/forward.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/forward.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x3: bar: 0x2: \(kind 2\) struct foo \* .* -> 0x1: \(kind 7\) struct foo + 0: 0x3: bar \(datasec size: .*\): 0x2: \(kind 2\) struct foo \* .* -> 0x1: \(kind 7\) struct foo Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/integer.lk b/libctf/testsuite/libctf-lookup/by-kind/integer.lk index 9c99b27..a7cef36 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/integer.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/integer.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x2: foo: 0x1: \(kind 1\) int .* + 0: 0x2: foo \(datasec size: .*\): 0x1: \(kind 1\) int .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/pointer.lk b/libctf/testsuite/libctf-lookup/by-kind/pointer.lk index d551902..f399d0b 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/pointer.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/pointer.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x3: foo: 0x2: \(kind 2\) int \* .* + 0: 0x3: foo \(datasec size: .*\): 0x2: \(kind 2\) int \* .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/restrict.lk b/libctf/testsuite/libctf-lookup/by-kind/restrict.lk index 5a6ad19..26254db 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/restrict.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/restrict.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x4: foo: 0x3: \(kind 11\) int \*restrict .* + 0: 0x4: foo \(datasec size: .*\): 0x3: \(kind 11\) int \*restrict .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/struct.lk b/libctf/testsuite/libctf-lookup/by-kind/struct.lk index 879a8af..7552549 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/struct.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/struct.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x3: foo: 0x1: \(kind 4\) struct .* + 0: 0x3: foo \(datasec size: .*\): 0x1: \(kind 4\) struct .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/type-tag.lk b/libctf/testsuite/libctf-lookup/by-kind/type-tag.lk index a7647b0..1837605 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/type-tag.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/type-tag.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x[23]: foo: 0x[234]: \(kind 18\) ttag .* -> 0x1: \(kind 1\) int .* + 0: 0x[23]: foo \(datasec size: .*\): 0x[234]: \(kind 18\) ttag .* -> 0x1: \(kind 1\) int .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/union.lk b/libctf/testsuite/libctf-lookup/by-kind/union.lk index 4092fca..8f8887f 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/union.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/union.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x3: foo: 0x1: \(kind 5\) union bar .* + 0: 0x3: foo \(datasec size: .*\): 0x1: \(kind 5\) union bar .* Types: diff --git a/libctf/testsuite/libctf-lookup/by-kind/volatile.lk b/libctf/testsuite/libctf-lookup/by-kind/volatile.lk index 65b533e..3f42274 100644 --- a/libctf/testsuite/libctf-lookup/by-kind/volatile.lk +++ b/libctf/testsuite/libctf-lookup/by-kind/volatile.lk @@ -4,7 +4,7 @@ #... Section \.bss: - 0: 0x3: foo: 0x2: \(kind 9\) volatile int .* + 0: 0x3: foo \(datasec size: .*\): 0x2: \(kind 9\) volatile int .* Types: -- cgit v1.1