Add SourcePawn debug metadata options to core.cfg (#1412)

This commit is contained in:
Asher Baker
2021-06-30 23:20:28 +01:00
committed by GitHub
parent 7816379aae
commit 77259acf9e
2 changed files with 43 additions and 2 deletions
+11 -1
View File
@@ -145,5 +145,15 @@
* Disable this option at your own risk.
*/
"FollowCSGOServerGuidelines" "yes"
}
/**
* Controls whether the SourcePawn runtime will generate additional metadata about
* JIT-compiled functions for performance profiling or debugging purposes.
*
* "none" - Don't generate any additional JIT metadata
* "default" - Generate basic perf metadata (on Linux) and delete it automatically on quit
* "perf" - Generate basic perf metadata (Linux only - function names)
* "jitdump" - Generate extended perf metadata (Linux only - function names, bytecode, and source information)
*/
"JITMetadata" "default"
}