CPC G06F 9/3017 (2013.01) [G06F 8/41 (2013.01); G06F 9/44521 (2013.01); G06F 9/44552 (2013.01)] | 20 Claims |
1. A computer-implemented method comprising:
preprocessing, by a compiler, a plurality of macros in a computer program, wherein preprocessing a macro comprises:
identifying a compile time condition associated with the macro, wherein the compile time condition indicates a combination type of hardware and software of a target computing platform of the computer program;
determining a current value of the compile time condition at the time of compiling a computer instruction and a previous value of the compile time condition;
determining a set of computer instructions enclosed by the macro; and
storing a macro information record that includes the compile time condition, the current value and the previous value of the compile time condition, a name of a source code file of the computer program that includes the macro, and an identification of the set of computer instructions enclosed by the macro.
|