Patent Document ID: 9841959
Application ID: 14634401
Patent Flag: 1

Claim One:
1. A method for inter-procedural optimization comprising: generating, by a processor, for each of a plurality of source code modules, an intermediate representation file; generating, by the processor, for each of the plurality of source code modules, function indices and function summary data, wherein each function index comprises a function symbol table that maps function IDs to function body offsets in the intermediate representation file; storing, by the processor, in separate sections of each intermediate representation file, the generated function indices and function summary data for the corresponding source code module; generating, by the processor, for the plurality of source code modules, a thin-archive corresponding to the generated intermediate representation files, wherein the generated thin-archive includes a combined function map and references to the generated intermediate representation files while lacking copies of the generated intermediate representation files; and performing, by the processor, cross-module optimization on the plurality of source code modules using the corresponding thin-archive.