[PATCH] Implement semantic action for SEARCH_DIR linker script command

Ed Maste emaste at freebsd.org
Wed Jan 28 19:35:08 PST 2015


================
Comment at: lib/Driver/GnuLdDriver.cpp:290
@@ -287,1 +289,3 @@
         return ec;
+    if (auto *searchDir = dyn_cast<script::SearchDir>(c))
+        ctx.addSearchPath(searchDir->getSearchPath());
----------------
phabricator often has trouble rendering whitespace properly, but please double-check tabs vs spaces here

http://reviews.llvm.org/D7220

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






More information about the llvm-commits mailing list