[all-commits] [llvm/llvm-project] ef9473: [llvm-lit] Resolve TypeError in built-in cat -v im...
Connie via All-commits
all-commits at lists.llvm.org
Thu Jul 18 15:55:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef94732b4fa0512a3a635766b872c1574a1aade4
https://github.com/llvm/llvm-project/commit/ef94732b4fa0512a3a635766b872c1574a1aade4
Author: Connie <60797237+connieyzhu at users.noreply.github.com>
Date: 2024-07-18 (Thu, 18 Jul 2024)
Changed paths:
M llvm/utils/lit/lit/builtin_commands/cat.py
Log Message:
-----------
[llvm-lit] Resolve TypeError in built-in cat -v implementation (#98363)
When using -v in lit's internal implementation of cat, there is a
TypeError when the file data is passed into convertToCaretAndMNotation()
as a str, because bytearray() requires an encoded string. This patch
encodes the str before passing it through bytearray().
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list