[PATCH] D13392: [ELF2] - Implemented --exclude-libs flag

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 10:57:17 PDT 2015


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

Specifies a list of archive libraries from which symbols should not be automatically exported. The library names may be delimited by commas. Specifying "--exclude-libs ALL" excludes symbols in all archive libraries from automatic export. For ELF targeted ports, symbols affected by this option will be treated as hidden.

Notes:
* Original flag description contains "the library names may be delimited by commas or colons". This implemention handles only commas. Not sure do I need to add colons handling ? Never see them anywhere in use for any command line I think.

http://reviews.llvm.org/D13392

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/Options.td
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  ELF/Symbols.h
  test/elf2/Inputs/exclude-libs.s
  test/elf2/exclude-libs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13392.36381.patch
Type: text/x-patch
Size: 12226 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151002/732075e3/attachment.bin>


More information about the llvm-commits mailing list