[PATCH] Implement semantic action for SEARCH_DIR linker script command

Ed Maste emaste at freebsd.org
Wed Jan 28 06:47:54 PST 2015


================
Comment at: lib/Driver/GnuLdDriver.cpp:293-295
@@ -285,1 +292,5 @@
+  // Currently we only recognize a subset of the commands:
+  // - GROUP()
+  // - SEARCH_DIR()
+  for (const script::Command *c : script->_commands) {
     if (auto *group = dyn_cast<script::Group>(c))
----------------
To me this comment implies we recognize a subset of GROUP() and SEARCH_DIR().

Maybe `Currently we only recognize this subset of linker script commands:`

http://reviews.llvm.org/D7220

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list