diff options
author | Chris Lattner <sabre@nondot.org> | 2002-06-30 16:25:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-06-30 16:25:07 +0000 |
commit | e3e86f7027ef63548f56da3477f7f25ab7af6263 (patch) | |
tree | 6f3f6fcd6cbbffd9598cb53701ce4eedef3daf36 | |
parent | c19be16c7b8771f2f3a25916f7c93cb7ef6378e0 (diff) | |
download | bcm5719-llvm-e3e86f7027ef63548f56da3477f7f25ab7af6263.tar.gz bcm5719-llvm-e3e86f7027ef63548f56da3477f7f25ab7af6263.zip |
Strip the symbols out of the bytecode to inflate generated executables less.
llvm-svn: 2811
-rw-r--r-- | llvm/tools/llc/llc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 4f98e55b2ed..3e1dfbcae11 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -165,6 +165,9 @@ int main(int argc, char **argv) { if (DumpAsm) Passes.add(new PrintFunctionPass("Code after xformations: \n", &cerr)); + // Strip all of the symbols from the bytecode so that it will be smaller... + Passes.add(createSymbolStrippingPass()); + // Figure out where we are going to send the output... std::ostream *Out = 0; if (OutputFilename != "") { // Specified an output filename? |