Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/155090.155092acmconferencesArticle/Chapter ViewAbstractPublication PagespldiConference Proceedingsconference-collections
Article
Free access

Detection and recovery of endangered variables caused by instruction scheduling

Published: 01 June 1993 Publication History
  • Get Citation Alerts
  • Abstract

    Instruction scheduling re-orders and interleaves instruction sequences from different source statements. This impacts the task of a symbolic debugger, which attempts to present the user a picture of program execution that matches the source program. At a breakpoint B, if the value in the run-time location of a variable V may not correspond to the value the user expects V to have, then this variable is endangered at B. This paper describes an approach to detecting and recovering endangered variables caused by instruction scheduling. We measure the effects of instruction scheduling on a symbolic debugger's ability to recover source values at a breakpoint. This paper reports measurements for three C programs from the SPEC suite and a collection of programs from the Numerical Recipes, which have been compiled with a variant of a commercial C compiler.

    References

    [1]
    A. Adl-Tabatabai and T. Gross. Evicted variables and symbolic debugging of optimized code. In Proc. 20th POPL Conf., pages 371 - 383. ACM, January 1993.
    [2]
    Ali-Reza Adl-Tabatabai. Nonresident and endangered variables: The effects of code generation optimizations on symbolic debugging. Technical Report CMU-CS-92-221, CMU, December 1992.
    [3]
    S. Borkar, R. Cohn, G. Cox, S. Gleason, T. Gross, H. T. Kung, M. Lam, B. Moore, C. Peterson, J. Pieper, L. Rankin, P. S. Tseng, J. Sutton, J. Urbanski, and J. Webb. iwarp: An integrated solution to high-speed parallel computing. In Proceedings of Supercomputing '88, pages 330-339, Orlando, Florida, November 1988. IEEE Computer Society and ACM SIGARCH.
    [4]
    G. Brooks, G. Hansen, and S. Simmons. A new approach to debugging optimized code. in Proc. SIG- PLAN'92 Conf. on PLDi, pages 1-11. ACM SIG- PLAN, June 1992.
    [5]
    M. Copperman. Debugging optimized code without being misled. Technical Report 92-01, UC Santa Cruz, May 1992.
    [6]
    M. Copperman. Personal communication. 1992.
    [7]
    D. S. Coutant, S. Meloy, and M. Ruscetta. Doc: A practical approach to source-level debugging of globally optimized code. In Proc. SiGPLAN 1988 Conf. on PLDI, pages 125-134. ACM, June 1988.
    [8]
    J. L. Hennessy. Symbolic debugging of optimized code. A CM Trans. on Programming Languages and Systems, 4(3):323 - 344, July 1982.
    [9]
    B. W. Kernighan and D. M. Ritchie. The C Programming Language. Prentice-Hall, Inc., Englewood Cliffs, New Jersey, 1978.
    [10]
    P. Kessler. Fast breakpoints: Design and implementation, in Proc. A CM SiGPLAN'90 Conf. on PLDL pages 78-84. ACM, June 1990.
    [11]
    W. H. Press, B. P. Flannery, S. A Teukolsky, and W. T. Vetterling. Numerical Recipes in C. Cambridge University Press, 1991.
    [12]
    J. Uniejewski. Spec benchmark suite: Designed for today's advanced systems. SPEC Newsletter, 1(1), Fall 1989.
    [13]
    R. Wahbe. Efficient data breakpoints. In Proc. Fifth Intl. Conf. on Architectural Support for Programruing Languages and Operating Systems (ASPLOS V), pages 200- 212, Boston, October 1992. ACM/IEEE.
    [14]
    P. Zellweger. An interactive high-level debugger for control-flow optimized programs. In Proc. of the A CM SiGSOFT/SIGPLAN Software Engineering Symposium on High-Level Debugging, pages 159- 171. ACM, 1983.

    Cited By

    View all
    • (2023)Where Did My Variable Go? Poking Holes in Incomplete Debug InformationProceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 210.1145/3575693.3575720(935-947)Online publication date: 27-Jan-2023
    • (2016)Using Predictions in Online OptimizationACM SIGMETRICS Performance Evaluation Review10.1145/2964791.290146444:1(193-206)Online publication date: 14-Jun-2016
    • (2016)Social ClicksACM SIGMETRICS Performance Evaluation Review10.1145/2964791.290146244:1(179-192)Online publication date: 14-Jun-2016
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    PLDI '93: Proceedings of the ACM SIGPLAN 1993 conference on Programming language design and implementation
    August 1993
    313 pages
    ISBN:0897915984
    DOI:10.1145/155090
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 June 1993

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Article

    Conference

    PLDI93
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 406 of 2,067 submissions, 20%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)59
    • Downloads (Last 6 weeks)9
    Reflects downloads up to 10 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Where Did My Variable Go? Poking Holes in Incomplete Debug InformationProceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 210.1145/3575693.3575720(935-947)Online publication date: 27-Jan-2023
    • (2016)Using Predictions in Online OptimizationACM SIGMETRICS Performance Evaluation Review10.1145/2964791.290146444:1(193-206)Online publication date: 14-Jun-2016
    • (2016)Social ClicksACM SIGMETRICS Performance Evaluation Review10.1145/2964791.290146244:1(179-192)Online publication date: 14-Jun-2016
    • (2016)The Value of PrivacyACM SIGMETRICS Performance Evaluation Review10.1145/2964791.290146144:1(249-260)Online publication date: 14-Jun-2016
    • (2016)Improved Achievability and Converse Bounds for Erdos-Renyi Graph MatchingACM SIGMETRICS Performance Evaluation Review10.1145/2964791.290146044:1(63-72)Online publication date: 14-Jun-2016
    • (2008)SNAKDD 2008 social network mining and analysis postworkshop reportACM SIGKDD Explorations Newsletter10.1145/1540276.154029810:2(74-77)Online publication date: 20-Dec-2008
    • (2008)Report on the second KDD workshop on data mining for advertisingACM SIGKDD Explorations Newsletter10.1145/1540276.154029110:2(47-50)Online publication date: 20-Dec-2008
    • (2008)Learning to improve area-under-FROC for imbalanced medical data classification using an ensemble methodACM SIGKDD Explorations Newsletter10.1145/1540276.154029010:2(43-46)Online publication date: 20-Dec-2008
    • (2008)Breast cancer identificationACM SIGKDD Explorations Newsletter10.1145/1540276.154028910:2(39-42)Online publication date: 20-Dec-2008
    • (2008)KDD cup 2008 and the workshop on mining medical dataACM SIGKDD Explorations Newsletter10.1145/1540276.154028810:2(34-38)Online publication date: 20-Dec-2008
    • Show More Cited By

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media