CPC G06F 9/44521 (2013.01) [G06F 8/20 (2013.01); G06F 8/41 (2013.01); G06F 8/73 (2013.01); G06F 8/76 (2013.01); G06F 9/541 (2013.01)] | 21 Claims |
1. A non-transitory machine-readable medium storing instructions which, when executed, cause one or more processors of a data processing system to perform operations to detect conflicts during a build process for a dynamic library, the operations comprising:
loading program code for the dynamic library to build for a first platform;
parsing a set of interfaces and data structures exported by the dynamic library to verify consistency of a build contract for the dynamic library; and
generating a build error during a build process for the dynamic library upon detecting an inconsistent build contract, the build contract specifying an application binary interface (ABI) for building the dynamic library and an application programming interface (API) for building the dynamic library, wherein detecting an inconsistent build contract includes detecting a mismatch between the ABI or API for the dynamic library when built for the first platform and the ABI or API for the dynamic library when built for a second platform.
|