aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-ifs/llvm-ifs.cpp
diff options
context:
space:
mode:
authorAlex Brachet <abrachet@google.com>2022-05-14 17:33:27 +0000
committerAlex Brachet <abrachet@google.com>2022-05-14 17:33:27 +0000
commit1f61260847642008b5d7ca8a19f5e51ee599ddfd (patch)
treeb125e0b5c83f0dc975f9b628b125617e0ba54717 /llvm/tools/llvm-ifs/llvm-ifs.cpp
parentb6b0fd6a940b7006ced344736decccffaa583b8a (diff)
downloadllvm-1f61260847642008b5d7ca8a19f5e51ee599ddfd.zip
llvm-1f61260847642008b5d7ca8a19f5e51ee599ddfd.tar.gz
llvm-1f61260847642008b5d7ca8a19f5e51ee599ddfd.tar.bz2
Revert "[ifs] Add --strip-size flag"
This reverts commit b6b0fd6a940b7006ced344736decccffaa583b8a.
Diffstat (limited to 'llvm/tools/llvm-ifs/llvm-ifs.cpp')
-rw-r--r--llvm/tools/llvm-ifs/llvm-ifs.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/tools/llvm-ifs/llvm-ifs.cpp b/llvm/tools/llvm-ifs/llvm-ifs.cpp
index 444a6d2..1ac8c0d 100644
--- a/llvm/tools/llvm-ifs/llvm-ifs.cpp
+++ b/llvm/tools/llvm-ifs/llvm-ifs.cpp
@@ -107,10 +107,6 @@ cl::opt<bool>
cl::opt<bool> StripNeededLibs("strip-needed",
cl::desc("Strip needed libs from output"),
cl::cat(IfsCategory));
-cl::opt<bool> StripSize("strip-size",
- cl::desc("Remove object size from the output"),
- cl::cat(IfsCategory));
-
cl::list<std::string>
ExcludeSyms("exclude",
cl::desc("Remove symbols which match the pattern. Can be "
@@ -436,10 +432,6 @@ int main(int argc, char *argv[]) {
if (Error E = filterIFSSyms(Stub, StripUndefined, ExcludeSyms))
fatalError(std::move(E));
- if (StripSize)
- for (IFSSymbol &Sym : Stub.Symbols)
- Sym.Size.reset();
-
if (OutputELFFilePath.getNumOccurrences() == 0 &&
OutputIFSFilePath.getNumOccurrences() == 0 &&
OutputTBDFilePath.getNumOccurrences() == 0) {