<div dir="ltr"><div class="gmail_quote">Since the last update, we’ve finished switching our GitHub repo to the rebased branch (<a href="https://github.com/facebookincubator/BOLT/tree/rebased" target="_blank">https://github.com/facebookincubator/BOLT/tree/rebased</a>). BOLT repository is now closely tracking the main branch of LLVM, lagging by a couple of months at most. We’ve also brought up an open-source testing environment based on GitHub Actions and Docker.<br>We’ve addressed the concrete issues pointed out by Fangrui Song and are welcome to new questions and suggestions.<br>Overall, we’re seeing an increased interest in BOLT from the community on GitHub and social media, specifically highlighting the collaboration with the Huawei Moscow team working on adding Golang support.<br><br>Currently we’re working on two major areas in preparation for the actual integration.<br><ol><li style="margin-left:15px">Testing is an important part of the migration as we plan on converting internal tests to public ones. We’ve made a lot of progress in improving debug info testing coverage and qualifying BOLT to be ready for release, which currently stays internal. The strategy is to focus on growing our open-source testing when adding new changes.</li><li style="margin-left:15px">Aligning the changes made to LLVM libraries with the upstream repository, either by publishing our patches or refactoring BOLT to avoid them. (The rest of our changes are contained in bolt top-level directory).</li></ol>To give you a sense of our progress, at the beginning of the upstreaming process, we identified 23 such changes, of which 16 are resolved and 7 are currently WIP or TBD:<br><ol><li style="margin-left:15px">[MC] Alignment for Macro-op Fusion (<a href="https://reviews.llvm.org/D97982" target="_blank">https://reviews.llvm.org/D97982</a>): review in progress</li><li style="margin-left:15px">[MC] TrapFillValue (<a href="https://reviews.llvm.org/D102287" target="_blank">https://reviews.llvm.org/D102287</a>): TBD, plan is to reimplement in BOLT, easy</li><li style="margin-left:15px">[MC] TAILJMP encoding (<a href="https://reviews.llvm.org/D102297?vs=on&id=344627#toc" target="_blank">https://reviews.llvm.org/D102297?vs=on&id=344627#toc</a>): WIP by Amir, reimplement in BOLT, medium</li><li style="margin-left:15px">[DWARF] Support DWARF expressions in CFI instructions (<a href="https://reviews.llvm.org/D98301" target="_blank">https://reviews.llvm.org/D98301</a>): WIP by Rafael, upstream, hard</li><li style="margin-left:15px">[DWARF] Extend DWARFAbbreviationDeclaration::AttributeSpec with AttrOffset and FormOffset (<a href="https://reviews.llvm.org/D102291" target="_blank">https://reviews.llvm.org/D102291</a>): TBD, perhaps reimplement, medium</li><li style="margin-left:15px">[DWARF] Support emitting AdvanceLineAddrAbs (<a href="https://reviews.llvm.org/D105747" target="_blank">https://reviews.llvm.org/D105747</a>): TBD, perhaps upstream, hard</li><li style="margin-left:15px">[DWARF] Introduce RefHandler to parse external refs in frame data (<a href="https://reviews.llvm.org/D105746" target="_blank">https://reviews.llvm.org/D105746</a>): TBD, perhaps reimplement, medium</li></ol><font color="#888888"><div>-Amir</div></font><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>