[PATCH] D54187: Add debuginfo-tests that use cdb on Windows

Zachary Turner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 7 11:04:23 PST 2018


zturner added a comment.

In https://reviews.llvm.org/D54187#1290432, @rnk wrote:

> I hadn't realized that Dexter knew how to drive VS tools. I'll have to go read more and get back to you all.
>
> I think it would be more promising than attempting to come up with a new llgdb.py-like abstraction for cdb. Specifically, abstracting over setting breakpoints and reformatting output is what makes that difficult. Everything can of course be done with enough effort, but especially in testing, it often makes sense to trade off duplication between test cases for ease of use.


Note that WinDbg (specifically) is an important use case, and uses a different debug engine than VS.  So Dexter would (at the very least) need to be extended to support WinDbg (which has the same debugging engine as cdb).  But I agree it's worth trying out and seeing what kind of test cases we can and can't fit into it.


https://reviews.llvm.org/D54187





More information about the cfe-commits mailing list