From: Chris Lattner Date: Sun, 30 Jun 2002 16:25:07 +0000 (+0000) Subject: Strip the symbols out of the bytecode to inflate generated executables less. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c5fbf71d766b1b79931a0bb6a8d58c4fc8a9e259;p=oota-llvm.git Strip the symbols out of the bytecode to inflate generated executables less. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2811 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 4f98e55b2ed..3e1dfbcae11 100644 --- a/tools/llc/llc.cpp +++ b/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?