mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
c5d4493041
commit
c5fbf71d76
@ -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?
|
||||||
|
Loading…
Reference in New Issue
Block a user