llvm.org GIT mirror llvm / c1874b7
Preserve debug info for only extracted symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107417 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 10 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
111111 Passes.add(createGVExtractionPass(GVs, DeleteFn, Relink));
112112 if (!DeleteFn)
113113 Passes.add(createGlobalDCEPass()); // Delete unreachable globals
114 Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info
114115 Passes.add(createDeadTypeEliminationPass()); // Remove dead types...
115116 Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls
116117