<div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 7, 2012 at 9:26 PM, Ted Kremenek <span dir="ltr"><<a href="mailto:kremenek@apple.com" target="_blank" class="cremed">kremenek@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: kremenek<br>
Date: Fri Sep  7 23:26:37 2012<br>
New Revision: 163455<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=163455&view=rev" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project?rev=163455&view=rev</a><br>
Log:<br>
Attempt (again) to stabilize the order of the emission of diagnostics<br>
of the analyzer by using the FullProfile() of a PathDiagnostic<br>
for ordering them.<br></blockquote><div><br></div><div>I don't think this is the right strategy to get stable order of output. The profile and FoldingSetNodeIDs are fundamentally hash based and thus not suitable for ordering. It also seems to have pointers going into the hash, making it immediately unstable on systems with ASLR.</div>
<div><br></div><div>I think you'll need something much more akin to the SetVector abstraction that tracks insertion order to get the determinism needed here.</div></div></div>