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
This commit is contained in:
Chris Lattner 2002-06-30 16:25:07 +00:00
parent c5d4493041
commit c5fbf71d76

View File

@ -165,6 +165,9 @@ int main(int argc, char **argv) {
if (DumpAsm) if (DumpAsm)
Passes.add(new PrintFunctionPass("Code after xformations: \n", &cerr)); 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... // Figure out where we are going to send the output...
std::ostream *Out = 0; std::ostream *Out = 0;
if (OutputFilename != "") { // Specified an output filename? if (OutputFilename != "") { // Specified an output filename?