Trace loads and stores as they happen (stores were being
authorVikram S. Adve <vadve@cs.uiuc.edu>
Fri, 11 Jul 2003 21:57:43 +0000 (21:57 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Fri, 11 Jul 2003 21:57:43 +0000 (21:57 +0000)
commit919fc8c367bb875326a2420041a385a3f5f6ad4f
tree43a6f63ef4390e8212e953e658446bb88bbb1468
parent0517c5ac92ecb4f8a4658fd1a5f3d33bd45acbe8
Trace loads and stores as they happen (stores were being
remembered in valuesStoredInFunction, but never traced at function return,
and that's too late to be finding the error anyway).
Stores trace both the value and the address being stored to,
but after some experience I think only values should be traced.
The pointer hash table just fills up far too quickly if every
store address were traced.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7169 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/TraceValues.cpp