[PATCH] D33368: [libcxxabi][demangler] Fix a crash in the demangler

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 09:25:53 PDT 2017


erik.pilkington updated this revision to Diff 99930.
erik.pilkington added a comment.

In this new patch:

- Add the testcase from https://reviews.llvm.org/D33393
- Add an assert() that k0 <= k1
- Use std::for_each instead of the for loop

Thanks for taking a look,
Erik


https://reviews.llvm.org/D33368

Files:
  src/cxa_demangle.cpp
  test/test_demangle.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33368.99930.patch
Type: text/x-patch
Size: 5028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170523/adb55b14/attachment.bin>


More information about the cfe-commits mailing list