[cfe-dev] Bug in LocationContextManager
Olaf Krzikalla
Olaf.Krzikalla at tu-dresden.de
Mon Nov 2 08:47:50 PST 2009
Hi,
there seems to be a bug in LocationContextManager preventing it from
doing what it is IMHO supposed to do: the member variable Contexts holds
LocationContext (and profile them accordingly), but the two insert
functions profile the actual types. Thus if getStackFrame is called,
always a new LocationContext is created. Making the Profile method in
LocationContext virtual would solve the issue. Patch attached.
Best
Olaf Krzikalla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: analysisctx.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091102/84ba62ba/attachment.ksh>
More information about the cfe-dev
mailing list