[PATCH] D46369: [llvm-objcopy] Add --strip-symbol (-N) option

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 05:10:48 PDT 2018


paulsemel added a comment.

Alright, I come back here because I completely missed something.. I didn't realized that the groups sections were already linked to symbols, which makes it completely possible to remove the symbol directly from here.
Anyway, for `-ffunction-sections`, we are not linking the section with the symbol (which we are doing for the Groups), which will again lead to the problem I mentioned above (I think).
For the moment, I will refactor the code as you told me, and wait until we find a solution for this functions sections. :)


Repository:
  rL LLVM

https://reviews.llvm.org/D46369





More information about the llvm-commits mailing list