projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5d4493
)
Strip the symbols out of the bytecode to inflate generated executables less.
author
Chris Lattner
<sabre@nondot.org>
Sun, 30 Jun 2002 16:25:07 +0000
(16:25 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 30 Jun 2002 16:25:07 +0000
(16:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2811
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llc/llc.cpp
patch
|
blob
|
history
diff --git
a/tools/llc/llc.cpp
b/tools/llc/llc.cpp
index 4f98e55b2edfafc41c73722099fde2b72a390ba7..3e1dfbcae110c1b8faa87b08ebb4758d0d4ad4db 100644
(file)
--- 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?