[Lldb-commits] [PATCH] D31880: Fix libc++ vector<bool> data formatter (bug #32553)

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 10 11:07:42 PDT 2017


labath created this revision.
Herald added a reviewer: EricWF.

The iteration list through the available data formatters was undefined,
which meant that the vector<bool> formatter kicked in only in cases
where it happened to be queried before the general vector formatter. To
fix this, I merge the two data formatter entries into one, and select
which implementation to use in the factory function.


https://reviews.llvm.org/D31880

Files:
  packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
  source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  source/Plugins/Language/CPlusPlus/LibCxx.cpp
  source/Plugins/Language/CPlusPlus/LibCxx.h
  source/Plugins/Language/CPlusPlus/LibCxxVector.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31880.94660.patch
Type: text/x-patch
Size: 14319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170410/a07f18b2/attachment-0001.bin>


More information about the lldb-commits mailing list