[PATCH] D57248: [llvm-objcopy] Support -X|--discard-locals.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 25 12:10:00 PST 2019


mstorsjo added a comment.

> I am not sure about COFF local symbols: those appear to also use .L in most cases, but also use just L in other cases, so for now I am just leaving it unimplemented there.

AFAIK they only use `.L` - however GNU objcopy seems to strip out all local symbols that start with either `.L` or `L`. On arches other than i386, where symbols have no prefix otherwise, this actually seems to get rid of any normal local symbol that happens to start with such a char.

But leaving it unimplemented here is fine by me.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57248/new/

https://reviews.llvm.org/D57248





More information about the llvm-commits mailing list