From 62af08e4325492721cf5034a2db7ac2a54c9c8a9 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Wed, 14 Oct 2026 19:28:13 -0400 Subject: [PATCH] Normalize addresses printed for non-file-scope pointers in output [] --- dev_tools/pylibs/edgtest/filter/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev_tools/pylibs/edgtest/filter/__init__.py b/dev_tools/pylibs/edgtest/filter/__init__.py index cfcb640ce7..bac3d19a8d 100644 --- a/dev_tools/pylibs/edgtest/filter/__init__.py +++ b/dev_tools/pylibs/edgtest/filter/__init__.py @@ -108,6 +108,9 @@ async def load_build_constants(compiler_bin: Path) -> BuildConstants: # IL-style address annotations. r'@[0-9a-f]{3,}': '@XXXXXXXX', r'@0x[0-9a-f]{3,}': '@XXXXXXXX', + # IL display of a name that is not in the file scope memory region. + r'\*\*possible non-file-scope ptr\*\* \(0x[0-9a-f]+\)': + '**possible non-file-scope ptr** (0xXX)', # Linker section offsets that move with codegen layout; keep the .text # marker so symbol-blame changes remain visible. r'\.text\+0x[0-9a-f]+': '.text+0xXX',