diff options
| author | Nick Desaulniers <ndesaulniers@google.com> | 2023-05-02 15:54:09 -0700 |
|---|---|---|
| committer | Nick Desaulniers <ndesaulniers@google.com> | 2023-05-02 15:54:09 -0700 |
| commit | 3e3c6f24ff85ea52ed67d4c26f1d3d0eacd1ad1b (patch) | |
| tree | db1435ec6bb8dd51613636968c9a966b46218952 /lldb/test/API/python_api | |
| parent | 0fac44d80715ba04a7567346d1832d3b4f019f34 (diff) | |
| download | llvm-3e3c6f24ff85ea52ed67d4c26f1d3d0eacd1ad1b.zip llvm-3e3c6f24ff85ea52ed67d4c26f1d3d0eacd1ad1b.tar.gz llvm-3e3c6f24ff85ea52ed67d4c26f1d3d0eacd1ad1b.tar.bz2 | |
Revert "[Demangle] make llvm::demangle take std::string_view rather than const std::string&"
This reverts commit c117c2c8ba4afd45a006043ec6dd858652b2ffcc.
itaniumDemangle calls std::strlen with the results of
std::string_view::data() which may not be NUL-terminated. This causes
lld/test/wasm/why-extract.s to fail when "expensive checks" are enabled
via -DLLVM_ENABLE_EXPENSIVE_CHECKS=ON. See D149675 for further
discussion. Back this out until the individual demanglers are converted
to use std::string_view.
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
