commit | ff69509f94bcb060b56907e11b3cafcec3c66f05 | [log] [tgz] |
---|---|---|
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Mon Aug 25 17:51:14 2014 +0000 |
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Mon Aug 25 17:51:14 2014 +0000 |
tree | 3a72c0a4ba174a12383672fb5f28966a4918582e | |
parent | a696ccb89e17dd2b4f4b9c820a1e44778155f35c [diff] |
Remove dangling initializers in GlobalDCE GlobalDCE deletes global vars and updates their initializers to nullptr while leaving underlying constants to be cleaned up later by its uses. The clean up may never happen, fix this by forcing it every time it's safe to destroy constants. Final patch by Rafael Espindola http://reviews.llvm.org/D4931 <rdar://problem/17523868> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216390 91177308-0d34-0410-b5e6-96231b3b80d8