mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-02 00:18:23 +00:00
The macro fast paths only reference GetProfiler from -O0 code, direct calls, and ON_DEMAND builds: the single GetProfiler() call on the macro path sits behind the constexpr-dead callstack guard and is folded away at -O1+, so Release builds carried no config fingerprint and mismatched clients linked silently. GetToken is the hot-path binding of every queueing macro and is referenced at all optimization levels; mangle it the same way so mismatches fail at link time in Release builds too.