commit | 8e33fae0ed53d91ce86c1764bcce445ebb98f8cb | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Sun Aug 20 19:18:36 2006 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Sun Aug 20 19:18:36 2006 +0000 |
tree | 00b49558e3be765ea7df5d3ae746157d9d0bcccc | |
parent | 3717ca965bcfb6c66d7e9016566be842a9cc5629 [diff] |
Convert llvm-ld to use the PluginLoader like opt instead of having its one-off (and broken) RunOptimizations function. Also, run some cleanup passes after the user's loaded passes run. This make sure to clean up any cruft left around by thos passes. This patch was inspired by a patch submitted by Bram Adams. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29781 91177308-0d34-0410-b5e6-96231b3b80d8