[PATCH] D46628: [ELF] Add --strip-debug-non-line option

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 10:39:55 PDT 2018


grimar added a comment.

In https://reviews.llvm.org/D46628#1094717, @ruiu wrote:

> Whitelist is a list of debug sections that you want to remove, and blacklist contains all the other debug sections. So what you are suggesting is not whitelist-only.


What I am trying to suggest is to keep the sections we *do not want* to remove. It's a whitelist.
Remove everything else. This should be applied to debug sections only.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46628





More information about the llvm-commits mailing list