diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-11-04 16:15:04 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-11-04 16:15:04 +0000 |
commit | c86b67742a3298c0a5a715b57a64f11107b8a3f2 (patch) | |
tree | 016039c25c32162e4a55beda22cdced04819ab2f /lib/Transforms/IPO/StripSymbols.cpp | |
parent | 5544e64765c33afe15b9f427c355f6876ee4299f (diff) | |
download | llvm-c86b67742a3298c0a5a715b57a64f11107b8a3f2.tar.gz llvm-c86b67742a3298c0a5a715b57a64f11107b8a3f2.tar.bz2 llvm-c86b67742a3298c0a5a715b57a64f11107b8a3f2.tar.xz |
Finishing initial docs for all transformations in Passes.html.
Also cleaned up some comments in source files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/StripSymbols.cpp')
-rw-r--r-- | lib/Transforms/IPO/StripSymbols.cpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/lib/Transforms/IPO/StripSymbols.cpp b/lib/Transforms/IPO/StripSymbols.cpp index aaecc2f252..ee60ba2913 100644 --- a/lib/Transforms/IPO/StripSymbols.cpp +++ b/lib/Transforms/IPO/StripSymbols.cpp @@ -7,18 +7,16 @@ // //===----------------------------------------------------------------------===// // -// This file implements stripping symbols out of symbol tables. +// The StripSymbols transformation implements code stripping. Specifically, it +// can delete: +// +// * names for virtual registers +// * symbols for internal globals and functions +// * debug information // -// Specifically, this allows you to strip all of the symbols out of: -// * All functions in a module -// * All non-essential symbols in a module (all function symbols + all module -// scope symbols) -// * Debug information. -// -// Notice that: -// * This pass makes code much less readable, so it should only be used in -// situations where the 'strip' utility would be used (such as reducing -// code size, and making it harder to reverse engineer code). +// Note that this transformation makes code much less readable, so it should +// only be used in situations where the 'strip' utility would be used, such as +// reducing code size or making it harder to reverse engineer code. // //===----------------------------------------------------------------------===// |