summaryrefslogtreecommitdiffstats
path: root/lld/ELF/DriverUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/DriverUtils.cpp')
-rw-r--r--lld/ELF/DriverUtils.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/lld/ELF/DriverUtils.cpp b/lld/ELF/DriverUtils.cpp
index d56dfbae47d..6a270a6d09d 100644
--- a/lld/ELF/DriverUtils.cpp
+++ b/lld/ELF/DriverUtils.cpp
@@ -90,32 +90,6 @@ opt::InputArgList ELFOptTable::parse(ArrayRef<const char *> Argv) {
return Args;
}
-// Parse the --dynamic-list argument. A dynamic list is in the form
-//
-// { symbol1; symbol2; [...]; symbolN };
-//
-// Multiple groups can be defined in the same file, and they are merged
-// into a single group.
-void elf::parseDynamicList(MemoryBufferRef MB) {
- class Parser : public ScriptParserBase {
- public:
- Parser(MemoryBufferRef MB) : ScriptParserBase(MB) {}
-
- void run() {
- while (!atEOF()) {
- expect("{");
- while (!Error && !consume("}")) {
- Config->DynamicList.push_back(unquote(next()));
- expect(";");
- }
- expect(";");
- }
- }
- };
-
- Parser(MB).run();
-}
-
void elf::printHelp(const char *Argv0) {
ELFOptTable Table;
Table.PrintHelp(outs(), Argv0, "lld", false);
OpenPOWER on IntegriCloud