diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-10-09 08:13:15 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-10-09 08:13:15 +0000 |
| commit | 3b861ec9898150947d023c6288c9a6e170df8ef3 (patch) | |
| tree | 5c11e2d23b6cd1b71d56a55a09d1dc2f2ee3e31c /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
| parent | 0597c1e53cc9e773eff07746df271cd035cc5bd2 (diff) | |
| download | llvm-3b861ec9898150947d023c6288c9a6e170df8ef3.zip llvm-3b861ec9898150947d023c6288c9a6e170df8ef3.tar.gz llvm-3b861ec9898150947d023c6288c9a6e170df8ef3.tar.bz2 | |
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.
llvm-svn: 165490
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions
