about summary refs log tree commit diff
path: root/tests/coverage
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-12-13 22:40:45 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-12-17 13:55:19 +1100
commit154fae1e8d825955ce83ae4c7d21a03db406e56c (patch)
treea9ea166e6fcdb0f83e51ebdeca1d79485bfddde9 /tests/coverage
parentfe412af4fce43aa5222b8940e068da3a19188e4b (diff)
downloadrust-154fae1e8d825955ce83ae4c7d21a03db406e56c.tar.gz
rust-154fae1e8d825955ce83ae4c7d21a03db406e56c.zip
coverage: Build the global file table on the fly
Diffstat (limited to 'tests/coverage')
-rw-r--r--tests/coverage/unused_mod.cov-map8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/coverage/unused_mod.cov-map b/tests/coverage/unused_mod.cov-map
index af10906fa3c..5e8b69fcdba 100644
--- a/tests/coverage/unused_mod.cov-map
+++ b/tests/coverage/unused_mod.cov-map
@@ -1,16 +1,16 @@
 Function name: unused_mod::main
-Raw bytes (9): 0x[01, 02, 00, 01, 01, 04, 01, 02, 02]
+Raw bytes (9): 0x[01, 01, 00, 01, 01, 04, 01, 02, 02]
 Number of files: 1
-- file 0 => global file 2
+- file 0 => global file 1
 Number of expressions: 0
 Number of file 0 mappings: 1
 - Code(Counter(0)) at (prev + 4, 1) to (start + 2, 2)
 Highest counter ID seen: c0
 
 Function name: unused_mod::unused_module::never_called_function (unused)
-Raw bytes (9): 0x[01, 01, 00, 01, 00, 02, 01, 02, 02]
+Raw bytes (9): 0x[01, 02, 00, 01, 00, 02, 01, 02, 02]
 Number of files: 1
-- file 0 => global file 1
+- file 0 => global file 2
 Number of expressions: 0
 Number of file 0 mappings: 1
 - Code(Zero) at (prev + 2, 1) to (start + 2, 2)