Merge pull request #1969 from aws-lumberyard-dev/carlitosan/thecleansing

Fix parser crash related to ebus handler control, and compile time null check
This commit is contained in:
carlitosan
2021-07-09 15:30:40 -07:00
committed by GitHub
30 changed files with 1075 additions and 334 deletions
@@ -146,7 +146,7 @@ namespace AZ {
AZStd::mutex g_dbgLoadingMutex;
HANDLE g_currentProcess = 0; /// We deal with only one process for now.
CRITICAL_SECTION g_csDbgHelpDll; /// All dbg help functions are single threaded, so we need to control the access.
AZStd::fixed_vector<SymbolStorage::ModuleInfo, 256> g_moduleInfo;
AZStd::fixed_vector<SymbolStorage::ModuleInfo, 2048> g_moduleInfo;
// reserve 4k of scratch space so that we can get some callstack information without any allocations and as little stack frame usage as possible.
const size_t g_scratchSpaceSize = 2048;