aboutsummaryrefslogtreecommitdiff
path: root/tests/expected/fixed-segments.txt
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-07-09 22:07:47 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-07-09 22:14:22 +0200
commit6f58e4ab8d90166cac4e4da269a77c5134f12f1e (patch)
tree207e1f418787df63c015178b1379b0e466b54e5c /tests/expected/fixed-segments.txt
parent0664f0bad653ca750d320e513f685ab0c852f359 (diff)
downloadtools.nes-6f58e4ab8d90166cac4e4da269a77c5134f12f1e.tar.gz
tools.nes-6f58e4ab8d90166cac4e4da269a77c5134f12f1e.zip
Add support for the asan:fixed-segments comment
This magic comment allows for the definition of segments that are fixed and for which references are always safe. This goes in tandem with the asan:safe comment, which can then be used more sporadically. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'tests/expected/fixed-segments.txt')
-rw-r--r--tests/expected/fixed-segments.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/expected/fixed-segments.txt b/tests/expected/fixed-segments.txt
new file mode 100644
index 0000000..9a93bf4
--- /dev/null
+++ b/tests/expected/fixed-segments.txt
@@ -0,0 +1 @@
+warning: referencing 'hello_bank1' from 'FIXED', which belongs to the 'BANK1' segment (fixed-segments.s: line 114)