Code Generation and Separate Compilation in a Parallel Program Debugger

dc.contributor.authorChoi, Jong-Deoken_US
dc.contributor.authorMiller, Barton Pen_US
dc.date.accessioned2012-03-15T16:51:34Z
dc.date.available2012-03-15T16:51:34Z
dc.date.created1989en_US
dc.date.issued1989
dc.description.abstractThe Parallel Program Debugger (PPD) allows a programmer to find bugs by following dynamic dependences in a program?s execution; this technique is called flowback analysis. Flowback analysis requires the tracing of all variable references and modifications. PPD avoids the overhead of this tracing by recording only a subset of the program?s state during execution, and incrementally filling in the missing details when the programmer makes queries about execution dependences. There is a trade-off between overhead of the tracing during program execution and the speed of generating the missing details during user queries. Our compiler is divided into four phases. This separation of phases allows us to first compile separate files, and to generate code for these files. Second, we perform interprocedural analysis using the data structures generated by the first phase. Third, we modify the individual assembly files to account for optimizations to the tracing, and to generate tracing for shared variables. The last phase links together all the individual files. The compiling costs for our debugging system are several times higher than the standard system compiler. Initial results show that there is a large execution time cost savings by carefully selecting the data to be traced during program execution. The savings includes both the size of the trace file and execution time overhead. The most sensitive areas seem to involve small procedures, long-running loops, or arrays.en_US
dc.format.mimetypeapplication/pdfen_US
dc.identifier.citationTR874
dc.identifier.urihttp://digital.library.wisc.edu/1793/59178
dc.publisherUniversity of Wisconsin-Madison Department of Computer Sciencesen_US
dc.titleCode Generation and Separate Compilation in a Parallel Program Debuggeren_US
dc.typeTechnical Reporten_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR874.pdf
Size:
2.61 MB
Format:
Adobe Portable Document Format