<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">What do the tests look like? Is that something that we can reasonably run as part of the libc++ test suite?<div class=""><br class=""></div><div class="">Louis<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 11, 2019, at 14:51, Sterling Augustine via libcxx-dev <<a href="mailto:libcxx-dev@lists.llvm.org" class="">libcxx-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">We have been on a bit of a sprint for gdb libc++ pretty printers over the last week or two. We have a reasonable set right now, with more coming. And a very good test harness and set of tests too.<div class=""><br class=""></div><div class="">We would love to get a good upstreaming story here, and it is high on my list of priorities.</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 11, 2019 at 11:48 AM Eric Christopher <<a href="mailto:echristo@gmail.com" class="">echristo@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Relatedly Sterling has been working with people on gdb pretty printers<br class="">
and so having a place in the libc++ sources would be great. :)<br class="">
<br class="">
Also things like testing that they don't break should be at least<br class="">
thought about a little bit.<br class="">
<br class="">
-eric<br class="">
<br class="">
On Wed, Jul 10, 2019 at 12:47 PM Nico Weber via libcxx-dev<br class="">
<<a href="mailto:libcxx-dev@lists.llvm.org" target="_blank" class="">libcxx-dev@lists.llvm.org</a>> wrote:<br class="">
><br class="">
> Friendly ping :)<br class="">
><br class="">
> On Wed, May 8, 2019 at 2:33 PM Nico Weber <<a href="mailto:thakis@chromium.org" target="_blank" class="">thakis@chromium.org</a>> wrote:<br class="">
>><br class="">
>> Sorry about the additional email, but the file has moved around. The new location is at <a href="https://cs.chromium.org/chromium/src/build/config/c%2B%2B/libc%2B%2B.natvis?q=file:libc...natvis&sq=package:chromium&g=0&l=1" rel="noreferrer" target="_blank" class="">https://cs.chromium.org/chromium/src/build/config/c%2B%2B/libc%2B%2B.natvis?q=file:libc...natvis&sq=package:chromium&g=0&l=1</a><br class="">
>><br class="">
>> On Tue, May 7, 2019 at 2:48 PM Nico Weber <<a href="mailto:thakis@chromium.org" target="_blank" class="">thakis@chromium.org</a>> wrote:<br class="">
>>><br class="">
>>> Thanks for the quick response! No rush, next week sounds great :)<br class="">
>>><br class="">
>>> On Tue, May 7, 2019 at 2:46 PM Marshall Clow <<a href="mailto:mclow.lists@gmail.com" target="_blank" class="">mclow.lists@gmail.com</a>> wrote:<br class="">
>>>><br class="">
>>>><br class="">
>>>><br class="">
>>>> On Tue, May 7, 2019 at 12:08 PM Nico Weber via libcxx-dev <<a href="mailto:libcxx-dev@lists.llvm.org" target="_blank" class="">libcxx-dev@lists.llvm.org</a>> wrote:<br class="">
>>>>><br class="">
>>>>> Hi,<br class="">
>>>>><br class="">
>>>>> Chromium now uses a statically linked libc++ on most platforms. One piece of feedback we got from devs is that they don't want the switch to libc++ to impede their debugging experience, so we wrote a natvis file that teaches Microsoft's debuggers how to display libc++ types. We're also using <a href="https://github.com/koutheir/libcxx-pretty-printers" rel="noreferrer" target="_blank" class="">https://github.com/koutheir/libcxx-pretty-printers</a> to achieve the same for gdb.<br class="">
>>>>><br class="">
>>>>> Other projects are probably also interested in having good libc++ support in their debuggers. Would there be interest to have these debug visualizers right in the libc++ repository, either somewhere in utils/, or in a new misc/ directory, or what have you?<br class="">
>>>>><br class="">
>>>>> We'd gladly contribute the natvis file [1] under LLVM's license.<br class="">
>>>>><br class="">
>>>>> (libcxx-pretty-printers is a separate project not done by us. If this thread goes somewhere, I'm planning to ask the upstream maintainers if they'd be open to relicensing and contributing the gdb pretty printers to upstream libcxx as well, but they might not agree. If they don't, we (chromium) might want to write libc++ pretty printers for gdb from scratch and contribute those, but not sure.)<br class="">
>>>>><br class="">
>>>><br class="">
>>>> Nico --<br class="">
>>>><br class="">
>>>> I'm going to apologize in advance for a slow response, since I (and Louis) are at C++Now this week.<br class="">
>>>> This sounds really interesting, and I'll take a look at this early next week.<br class="">
>>>><br class="">
>>>> -- Marshall<br class="">
>>>><br class="">
><br class="">
> _______________________________________________<br class="">
> libcxx-dev mailing list<br class="">
> <a href="mailto:libcxx-dev@lists.llvm.org" target="_blank" class="">libcxx-dev@lists.llvm.org</a><br class="">
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-dev</a><br class="">
</blockquote></div>
_______________________________________________<br class="">libcxx-dev mailing list<br class=""><a href="mailto:libcxx-dev@lists.llvm.org" class="">libcxx-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-dev<br class=""></div></blockquote></div><br class=""></div></body></html>