[PATCH] D107944: [hmaptool] Port to python3
Ivan Murashko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 19 00:43:01 PST 2021
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
More information about the cfe-commits
mailing list