jungmair wrote: Yes, thanks for your help on this. I fixed a small typo/bug in your changes and added a test that verifies that the generated snapshot file fits the printing flags (i.e., is printed with debug info) https://github.com/llvm/llvm-project/pull/119373