From 5d4116881f2cc4d053fad66c1a6d00d2dcbead90 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sat, 25 Apr 2026 22:57:57 +0200 Subject: Add the context's name into memory ranges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is applied whenever a given memory range name is not under the global context. The end result is that scopes will be shown into the memory.txt file when using '--write-info'. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xixanta/src/object.rs') diff --git a/lib/xixanta/src/object.rs b/lib/xixanta/src/object.rs index 5b4b235..cd1db1f 100644 --- a/lib/xixanta/src/object.rs +++ b/lib/xixanta/src/object.rs @@ -4,7 +4,7 @@ use crate::opcodes::CONTROL_FUNCTIONS; use std::collections::HashMap; /// The name of the global context as used internally. -const GLOBAL_CONTEXT: &str = "__internal_nasm_global_scope"; +pub const GLOBAL_CONTEXT: &str = "__internal_nasm_global_scope"; /// A Bundle represents a set of bytes that can be encoded as binary data. #[derive(Debug, Default, Clone, Eq, Ord, PartialEq, PartialOrd)] -- cgit v1.2.3