diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-08-05 10:58:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-05 10:58:59 -0700 |
commit | 12da87bef12d9545775a5c375cfc22904ca4602d (patch) | |
tree | 11c82ca00836ec9ca706e32d879ec510c46ae26a /llvm/lib/TextAPI/Architecture.cpp | |
parent | bb3c060ca41455bc48e48ec51a66910c164b4345 (diff) | |
download | llvm-12da87bef12d9545775a5c375cfc22904ca4602d.zip llvm-12da87bef12d9545775a5c375cfc22904ca4602d.tar.gz llvm-12da87bef12d9545775a5c375cfc22904ca4602d.tar.bz2 |
[lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (#152031)
Binary I/O (also called buffered I/O) expects bytes-like objects and
produces bytes objects [1]. Switch from using a Python buffer to using
Python bytes to read the data. This eliminates calls to functions that
aren't part of the Python stable C API.
[1] https://docs.python.org/3/library/io.html#binary-i-o
Diffstat (limited to 'llvm/lib/TextAPI/Architecture.cpp')
0 files changed, 0 insertions, 0 deletions