labath added a comment. For the underlying functionality, I think it'd be best to extend `lldb-test` to print section alignment (`dumpSectionList` in `lldb/tools/lldb-test/lldb-test.cpp`) and then write (or extend) some test in `test/Shell/ObjectFile/ELF` (or your favourite object format).
That won't test the code added here though, as lldb-test does not use the SB API. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128069/new/ https://reviews.llvm.org/D128069 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits