Back to search

Chalmers University of Technology

Beyond debug information: Improving program reconstruction in LLDB using C++ modules

Abstract

dc:description.abstract

Expression evaluation is a core feature of every modern C++ debugger. Still, no C++ debugger currently features an expression evaluator that consistently supports advanced language features such as meta-programming with templates. The underlying problem is that the debugger can often only partially reconstruct the debugged program from the debug information. This thesis presents a solution to this problem by using C++ modules as an additional source of program information. We developed a prototype based on the LLDB debugger that is loading missing program components from the C++ modules used by the program. With this approach, our prototype is able to reliably reconstruct more components than other widely used C++ debuggers such as GDB, Microsoft Visual Studio Debugger and LLDB itself. However, our prototype was slower than LLDB and could only improve program reconstruction for components which are defined in a C++ module.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2019

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Isemann, Raphael
Advisor dc:contributor.supervisor
  • Sewell, Thomas
Committee member dc:contributor.committeemember
  • Myreen, Magnus

Subjects

dc:subject × 1

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
DATX05

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Isemann, Raphael. Beyond debug information: Improving program reconstruction in LLDB using C++ modules. H thesis, 2019. https://hdl.handle.net/20.500.12380/300037