Replacing memory pointers with implicit pointers to be used in compiler-generated debug output
AssigneeRed Hat, Inc.
InventorRoland McGrath
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorRoland McGrath
Estimating the term…
A mechanism for replacing memory pointers with implicit pointers is disclosed. A method of embodiments of the invention includes determining a memory pointer in a source code compiling on a computer system. The memory pointer is associated with a first value in the source code and serves as a referencing link to a second value in memory. The method further includes replacing the memory pointer with an implicit pointer as the memory pointer is optimized away during code optimization of the source code such that the implicit pointer is provided in a compiler-generated debug output to serve as an implicit reference link between the first value and second value. The implicit reference link was once provided as an explicit reference link by the memory pointer before getting optimized away.
A method comprising:
A system comprising:
A non-transitory machine-readable storage medium including instructions that, when accessed by a processing device, cause the processing device to perform operations comprising:
Dependencies are inferred from the claim text.