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 | c5fbf71d766b1b79931a0bb6a8d58c4fc8a9e259 (patch) | |
tree | 79e7ca855fa046c01f1a8e730741e621e2ed4002 | |
parent | c5d4493041a8679b7cae7b09af05302fb3037a4a (diff) |
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
-rw-r--r-- | tools/llc/llc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 4f98e55b2e..3e1dfbcae1 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? |