mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Preserve debug info for only extracted symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107417 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
26d14294de
commit
c1874b7a7c
@ -112,6 +112,7 @@ int main(int argc, char **argv) {
|
||||
Passes.add(createGVExtractionPass(GVs, DeleteFn, Relink));
|
||||
if (!DeleteFn)
|
||||
Passes.add(createGlobalDCEPass()); // Delete unreachable globals
|
||||
Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info
|
||||
Passes.add(createDeadTypeEliminationPass()); // Remove dead types...
|
||||
Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user