From 00746bf09047cdf01c19dac513a532bcf3ed3ea3 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Wed, 9 Jul 2025 14:41:19 +0800 Subject: Stable names and backwards compat for serialized IR modules (#7644) * stable names * tests, options and ci for stable names * Add back compat design document * fix warnings * formatting * comment * neaten * regenerate command line reference * consolidate ci scripts * faster ci * remove libreadline * Move new function to end of interface --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- tests/ir/dump-module-info.slang | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/ir/dump-module-info.slang (limited to 'tests') diff --git a/tests/ir/dump-module-info.slang b/tests/ir/dump-module-info.slang new file mode 100644 index 000000000..9ce421161 --- /dev/null +++ b/tests/ir/dump-module-info.slang @@ -0,0 +1,13 @@ +//TEST:COMPILE: tests/ir/dump-module-info.slang -o tests/ir/dump-module-info.slang-module + +//TEST:SIMPLE(filecheck=CHECK): -get-module-info tests/ir/dump-module-info.slang-module + +module "foo"; + +// CHECK: Module Name: foo +// This will need bumping whenever we bump the ir module version +// CHECK: Module Version: 0 +// Just check that this is in the output with some string +// CHECK: Compiler Version: {{.+}} + + -- cgit v1.2.3