-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[llvm] Fixed Demangle OutputBuffer #138564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The [llvm-clang-x86_64-expensive-checks-win](https://lab.llvm.org/buildbot/#/builders/14/builds/3075) buildbot has been broken by llvm#133249. DemangleTests causes the exception 0x80000003 inside CRT in case of the debug build on Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. I guess the problem was that we were passing memcpy
the pointer &*R.begin()
, which might be null if the string_view
is empty?
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring
|
Ah this was failing in the new test I added. I guess we never previously called |
I think the size checking is useful. I will add it to libcxxabi. |
See llvm#138564 for details.
The [llvm-clang-x86_64-expensive-checks-win](https://lab.llvm.org/buildbot/#/builders/14/builds/3075) buildbot has been broken by llvm#133249. DemangleTests causes the exception 0x80000003 inside CRT in case of the debug build on Windows.
The llvm-clang-x86_64-expensive-checks-win buildbot has been broken by #133249.
DemangleTests causes the exception 0x80000003 inside CRT in case of the debug build on Windows.