SN Systems Tech Blog

    Using automated tests to tune the -Og pipeline

    ARTICLE BY: Stephen Tozer
    POSTED: Sep 01, 2023
    TAGS: LLVM Developers Meeting, Toolchain

    In clang, the -Og flag is intended to run optimizations that will not significantly reduce the quality of the program's debug information. Rather than making informed decisions about which optimizations will preserve debug info, this flag currently uses the -O1 pipeline, to run a few optimizations and hope that debug info will not be significantly affected.

    READ THE WHOLE POST