ivanmurashko added inline comments.
================ Comment at: clang/utils/hmaptool/hmaptool:223 with open(output_path, 'wb') as f: f.write(magic.encode()) f.write(struct.pack(header_fmt, *header)) ---------------- `magic` is a bytes object that does not have `encode()` method Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107944/new/ https://reviews.llvm.org/D107944 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits