Improving Debug Info Quality in C++ with Automated Tests
The article discusses the use of automated tests to tune the -Og pipeline in C++. The -Og flag in clang is designed to optimize the program without significantly affecting the debug information. However, the lack of data on how well the optimization passes in LLVM preserve debug info has led to the use of the -O1 pipeline instead. To address this issue, Sony Interactive Entertainment has developed a tool called Dexter, which tests the quality of debug info. They have integrated Dexter into an automated test pipeline to explore different pipeline designs and find a fast and debuggable -Og pipeline. The article highlights the importance of improving debug info quality and provides insights into the process of using automated tests to achieve this goal.