mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 07:18:50 +00:00
A same-directory control of the Windows HIP rdna3 strata.exe (jobq owner-20261125-1250-2a5a: the symbol build against a build of the same tree in the same folder without STRATA_KEEP_SYMBOLS) still had a different .text (8,066,560 against 8,067,072 bytes) with -g on the C and C++ files. The compile of one file shows why: expert_source.cpp assembled with -g has 10 of its 108,318 instruction lines different from the build without a flag (lea (%rdi,%rdx),%r8; add %r8,%rcx where the other has two adds): the same arithmetic, another instruction selection. -gline-tables-only and -g1 give assembly identical to no flag on expert_source.cpp, native_expert.cpp, session.cpp and remote_experts.cpp, and keep the file and line of every function, which is what a crash address needs (no variable or type information). tools/packaging/keep_symbols.py check on the two strata.exe is the control the release script owner runs.