Method and apparatus for automatically logging compiler options and/or overriding compiler options
Abstract
The present invention provides a method and apparatus for automatically logging compiler options currently being used in a build environment and/or for replacing or supplementing the current compiler options with new compiler options without necessarily modifying the build environment. In accordance with a first embodiment of the present invention, a wrapper program is stored at a location in memory where the compiler program normally resides. Whenever a compiler user invokes the build process program, a command is generated which is intended to invoke the compiler program. However, instead of the compiler program being invoked by the command, the wrapper program is invoked. The wrapper program comprises a software routine which analyzes the compiler commands to determine which compiler options are designated in the compiler commands. The wrapper program causes a log file of the compiler options contained in the compiler commands to be generated, which is readable by a human and/or by a machine. The wrapper program then causes the compiler program to be invoked and the compiler program then performs its normal functions. The wrapper program may be separate from the compiler program
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 40.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An apparatus for automatically logging compiler options currently being used by a compiler program to compile a source file, the apparatus comprising: a memory device, the memory device having a compiler program stored therein; and a computer in communication with the memory device, wherein in order to compile a source file, the computer invokes the compiler program, the computer passing compiler commands to the compiler program, the compiler program analyzing at least one of the compiler commands to identify one or more compiler options contained in said at least one command, the compiler p
- Claim 2Depends on #1
The apparatus of claim 1, wherein the computer comprises an interface for receiving input from a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 40 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (2)
- Chang et al. Uding Profile Information to Assist Classic Code Optimizations, Software Practice and Experience, pp. 1301 1321, Dec. 1991.
- Chang et al. Uding Profile Information to Assist Classic Code Optimizations, Software-Practice and Experience, pp. 1301-1321, Dec. 1991.