Re: [edk2-devel] [Patch V4 09/10] EmulatorPkg/Sec: Change local variable scope for XCODE5

2019-08-16 Thread Jordan Justen
On 2019-08-15 19:14:36, Michael D Kinney wrote: > The local variable PpiArray[10] is declared in middle > of the SEC module _ModuleEntryPoint(). When building > for XCODE5 with optimizations enabled, this results in > corruption and an exception. It looks like with old code, the scope containing

[edk2-devel] [Patch V4 09/10] EmulatorPkg/Sec: Change local variable scope for XCODE5

2019-08-15 Thread Michael D Kinney
The local variable PpiArray[10] is declared in middle of the SEC module _ModuleEntryPoint(). When building for XCODE5 with optimizations enabled, this results in corruption and an exception. The fix is to move the declaration of PpiArray[10] to the standard location at the beginning of the