summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Config.h
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2015-12-10 09:12:18 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2015-12-10 09:12:18 +0000
commita5fbebc2065d12a403f82380cbe0c3a571cfccbe (patch)
treec63f3cf75900c832b63c8e8ce07fd112b09bf121 /lld/ELF/Config.h
parente451eeff5c7e070764584aba20ffdd8919b4b4cd (diff)
downloadbcm5719-llvm-a5fbebc2065d12a403f82380cbe0c3a571cfccbe.tar.gz
bcm5719-llvm-a5fbebc2065d12a403f82380cbe0c3a571cfccbe.zip
[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
Diffstat (limited to 'lld/ELF/Config.h')
-rw-r--r--lld/ELF/Config.h1
1 files changed, 1 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud