feat: Add Profile-Guided Optimization (PGO) build support

Implements two-stage PGO build system with CMake integration and
automated build scripts for Windows, Linux, and macOS. Supports
MSVC, GCC, and Clang compilers.

PGO enables runtime profiling-based optimizations for improved
emulator performance. Includes helper scripts to streamline the
build workflow and resolve platform-specific issues.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-10-11 13:30:39 +10:00
parent 2a7e6c74bd
commit bdd2875642
6 changed files with 890 additions and 0 deletions

9
.gitignore vendored
View File

@@ -36,3 +36,12 @@ CMakeSettings.json
# Windows global filetypes
Thumbs.db
# PGO (Profile-Guided Optimization) files
pgo-profiles-backup/
*.pgd
*.pgc
*.profraw
*.profdata
*.gcda
*.gcno