commit | e97a3a4b4fccbe6283b616af93ab0117d3a7fee9 | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Tue Oct 09 08:13:15 2012 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Tue Oct 09 08:13:15 2012 +0000 |
tree | afe233298f0be8fd15476c640cc05e3c131a0c85 | |
parent | 6765834754cbb3cb0f15b4b15e98c5e73fa50066 [diff] |
Fix PR14016. DeadArgumentElimination pass can replace one LLVM function with another, invalidating a pointer stored in debug info metadata entry for this function. To fix this, we collect debug info descriptors for functions before running a DeadArgumentElimination pass and "patch" pointers in metadata nodes if we replace a function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165490 91177308-0d34-0410-b5e6-96231b3b80d8