aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineLoopRanges.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-10-09 08:13:15 +0000
committerAlexey Samsonov <samsonov@google.com>2012-10-09 08:13:15 +0000
commit3b861ec9898150947d023c6288c9a6e170df8ef3 (patch)
tree5c11e2d23b6cd1b71d56a55a09d1dc2f2ee3e31c /llvm/lib/CodeGen/MachineLoopRanges.cpp
parent0597c1e53cc9e773eff07746df271cd035cc5bd2 (diff)
downloadllvm-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/MachineLoopRanges.cpp')
0 files changed, 0 insertions, 0 deletions