diff options
author | Duncan Sands <baldrick@free.fr> | 2009-01-07 19:39:06 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-01-07 19:39:06 +0000 |
commit | b0cea8ff3979b8af15311b34df12bbb4440fd888 (patch) | |
tree | 0ed275c6b2ae9046df57a9ac8191cb0242c0ca4f /unittests/ADT/StringMapTest.cpp | |
parent | 82447ebb41c787fbfa01c08fece50b252b23bd07 (diff) |
Remove alloca tracking from nocapture analysis. Not only
was it not very helpful, it was also wrong! The problem
is shown in the testcase: the alloca might be passed to
a nocapture callee which dereferences it and returns the
original pointer. But because it was a nocapture call we
think we don't need to track its uses, but we do.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/StringMapTest.cpp')
0 files changed, 0 insertions, 0 deletions