[patch] Don't make assumptions about the name of private global variables
Rafael EspĂndola
rafael.espindola at gmail.com
Tue Nov 11 15:51:36 PST 2014
On 11 November 2014 15:21, Michael Gottesman <mgottesman at apple.com> wrote:
> The simplest and least fragile way to test this is to make a small pass like
> the AAEvaluator that just runs ProvenanceAnalysis::related on all values in
> the function and just prints out a bool value. Then you could just use
> FileCheck to check that the query was successful.
>
> The other way is to try and create a specific sequence of instructions that
> hopefully will show by how the ARC optimizer moves a release that the query
> is correct.
The attached patch includes the pass, but I am still not sure exactly
how to test it :-)
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 6607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141111/932ad7e3/attachment.bin>
More information about the llvm-commits
mailing list