diff options
author | Richard Trieu <rtrieu@google.com> | 2013-04-30 22:45:10 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-04-30 22:45:10 +0000 |
commit | 8e229c24ed8b8a9a3866947a709e616b33780f1f (patch) | |
tree | f347eb054178074c0370a8804f209023d4f8ca8e /lib/CodeGen/Analysis.cpp | |
parent | cd6c57917db22a3913a2cdbadfa79fed3547bdec (diff) | |
download | external_llvm-8e229c24ed8b8a9a3866947a709e616b33780f1f.zip external_llvm-8e229c24ed8b8a9a3866947a709e616b33780f1f.tar.gz external_llvm-8e229c24ed8b8a9a3866947a709e616b33780f1f.tar.bz2 |
Fix a use after free. RI is freed before the call to getDebugLoc(). To
prevent this, capture the location before RI is freed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Analysis.cpp')
0 files changed, 0 insertions, 0 deletions