How debuggable is your (compiler-optimised) program?
- đ¤ Speaker: Stephen Kell, King's College London đ Website
- đ Date & Time: Thursday 22 February 2024, 15:00 - 16:00
- đ Venue: FW11
Abstract
Source-level debugging of compiled code only works when compilers generate the necessary metadata. Currently, that means it rarely works well, at least in optimising ahead-of-time compilers like LLVM and GCC . I’ll give an overview of how compiler-generated metadata enables source-level debugging, the challenges of making it work for optimised code, and our recent work on doing better. Whereas compilers have so far taken a “best-effort” approach with no particular correctness criterion, I’ll outline a correctness condition for local variable information that seems to balance the relevant trade-offs. I’ll then describe a tool we’ve built that can use this to mechanically find valid LLVM bugs capturing avoidable losses or corruptions of debug info. A theme will be how the textbook framing of compiler optimisations as “eliminating” code or variables could be more constructively thought of as “residualising” them into debug info; I’ll finish with some thoughts on what that could mean for how compilers are built. All this is joint work with J. Ryan Stinnett.
Series This talk is part of the Computer Laboratory Systems Research Group Seminar series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge Centre for Data-Driven Discovery (C2D3)
- Cambridge talks
- Chris Davis' list
- CL's SRG seminar
- Computer Laboratory Systems Research Group Seminar
- Department of Computer Science and Technology talks and seminars
- FW11
- Interested Talks
- ndk22's list
- ob366-ai4er
- rp587
- School of Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)



Thursday 22 February 2024, 15:00-16:00