glapi: Force frame pointer elimination on Windows.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 7 Jan 2015 14:24:07 +0000 (14:24 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 7 Jan 2015 19:35:34 +0000 (19:35 +0000)
commitfd1f79f7dda3cbe1b677a74ad1b242603646ffd5
tree7461ee4db6fa1a61a8dd7fa8062760f63c1b49f5
parent1829f9c928836940fa13b12a8b073f09c26dc782
glapi: Force frame pointer elimination on Windows.

To catch mismatches in cdecl vs stdcall calling convention.  See code
comment for more detailed explanation.

Tested with piglit gl-1.0-beginend-coverage (it now also crashes on
debug builds.)

VMware PR1350505.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mapi/glapi/glapi_dispatch.c