diff options
author | Chris Jones <cjfj@deepmind.com> | 2023-04-13 17:05:26 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2023-04-13 17:09:19 +0200 |
commit | 62bf6c2e1083b8ddc698f5c8b99d6c3614c9b56a (patch) | |
tree | 336f3277f8e73efcd67dbf4aa60ec742a10d0350 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | a5f2e60a913bdd33a5a790d1459e8517d4d35677 (diff) | |
download | llvm-62bf6c2e1083b8ddc698f5c8b99d6c3614c9b56a.zip llvm-62bf6c2e1083b8ddc698f5c8b99d6c3614c9b56a.tar.gz llvm-62bf6c2e1083b8ddc698f5c8b99d6c3614c9b56a.tar.bz2 |
Use `bytes`, not `str`, to return C++ strings to Python.
`str` must be valid UTF-8, which is not guaranteed for C++ strings.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D147818
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions