From a5fbebc2065d12a403f82380cbe0c3a571cfccbe Mon Sep 17 00:00:00 2001 From: George Rimar Date: Thu, 10 Dec 2015 09:12:18 +0000 Subject: [ELF] - Implemented --print-gc-sections command line argument. List all sections removed by garbage collection. This option is only effective if garbage collection has been enabled via the `--gc-sections' option. Differential revision: http://reviews.llvm.org/D15327 llvm-svn: 255235 --- lld/ELF/Config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lld/ELF/Config.h') diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h index 4aee5a5cb10..299a0df1858 100644 --- a/lld/ELF/Config.h +++ b/lld/ELF/Config.h @@ -58,6 +58,7 @@ struct Configuration { bool Mips64EL = false; bool NoInhibitExec; bool NoUndefined; + bool PrintGcSections; bool Shared; bool Static = false; bool StripAll; -- cgit v1.2.3