[PATCH] D46830: [llvm-objcopy] Add --keep-file-symbols option
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 14 09:11:01 PDT 2018
jhenderson added a comment.
Other than explicitly stripping the file symbol, is there any way of actually removing such symbols currently? It seems like adding a switch just to prevent you doing something you asked for is a bit superfluous.
Do you have a specific use-case at the moment?
================
Comment at: test/tools/llvm-objcopy/keep-file-symbols-remove-section.test:1
+# RUN: yaml2obj %s > %t
+# RUN: llvm-objcopy --remove-section .text --keep-file-symbols %t %t2
----------------
I don't think you need this test, since the file symbol is by definition not in a section.
Repository:
rL LLVM
https://reviews.llvm.org/D46830
More information about the llvm-commits
mailing list