This is just a few trivial changes -- change the interpreter and fix a
few byte-vs-string issues.
Details
Details
- Reviewers
bruno - Commits
- rG1bd4dc4f2854: [hmaptool] Port to python3
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Overall looks great but there are some test failures, looks like you also need to update line 223?
-- Traceback (most recent call last): File "/var/lib/buildkite-agent/builds/llvm-project/build/bin/hmaptool", line 296, in <module> main() File "/var/lib/buildkite-agent/builds/llvm-project/build/bin/hmaptool", line 293, in main commands[cmd](cmd, sys.argv[2:]) File "/var/lib/buildkite-agent/builds/llvm-project/build/bin/hmaptool", line 223, in action_write f.write(magic.encode()) AttributeError: 'bytes' object has no attribute 'encode' --
clang/utils/hmaptool/hmaptool | ||
---|---|---|
224 | magic is a bytes object that does not have encode() method |
magic is a bytes object that does not have encode() method