US 11,669,432 B1
Compiler-enabled application execution tracking
Harshavardhan Parandekar, San Jose, CA (US); Pratap Pereira, Saratoga, CA (US); Tapraj Singh, Danville, CA (US); Jeffrey yi dar Lo, Cupertino, CA (US); and Zhijian Zhang, Ottawa (CA)
Assigned to Cisco Technology, Inc., San Jose, CA (US)
Filed by Cisco Technology, Inc., San Jose, CA (US)
Filed on Jul. 17, 2020, as Appl. No. 16/932,363.
Int. Cl. G06F 11/36 (2006.01); G06F 8/41 (2018.01)
CPC G06F 11/3624 (2013.01) [G06F 8/44 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method of generating object code corresponding to source code for a portion of a software program, the method comprising:
receiving, by a compiler, input defining a configuration of a debug operation to be generated based at least in part on processing a type of operation associated with a function included in the portion of the software program;
processing, by the compiler, the source code;
generating, by the compiler and based on processing the source code, first object code associated with the function in the source code;
determining, by the compiler, the type of operation associated with the function;
in response to processing the source code and determining the type of operation associated with the function, generating, by the compiler, second object code, the second object code including the debug operation that is unconditionally bound to a unique identifier of the debug operation, wherein the second object code, when executed by one or more processors, causes the one or more processors to perform at least the debug operation; and
generating, by the compiler and in a bindings memory, an indication of a mapping of the unique identifier to the function in the source code.