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

dc.contributor.authorIsemann, Raphael
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.examinerMyreen, Magnus
dc.contributor.supervisorSewell, Thomas
dc.date.accessioned2019-07-11T06:39:46Z
dc.date.available2019-07-11T06:39:46Z
dc.date.issued2019sv
dc.date.submitted2019
dc.description.abstractExpression 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.sv
dc.identifier.coursecodeDATX05sv
dc.identifier.urihttps://hdl.handle.net/20.500.12380/300037
dc.language.isoengsv
dc.setspec.uppsokTechnology
dc.subjectcompilers, debuggers, C++ , LLVM, C++ modules, Clang, LLDBsv
dc.titleBeyond debug information: Improving program reconstruction in LLDB using C++ modulessv
dc.type.degreeExamensarbete för masterexamensv
dc.type.uppsokH
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 19-49 Isemann.pdf
Storlek:
3.14 MB
Format:
Adobe Portable Document Format
Beskrivning:
Beyond Debug Information: Improving Program Reconstruction in LLDB using C++ Modules
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
1.14 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: