[PATCH] D11237: Add support for -rtlib option and -stdlib option to the mingw driver

Martell Malone martellmalone at gmail.com
Mon Jul 20 18:01:07 PDT 2015


martell added a comment.

Added a comment regarding libunwind


================
Comment at: tools/clang/lib/Driver/Tools.cpp:2307
@@ +2306,3 @@
+    if (TC.getDriver().CCCIsCXX())
+      CmdArgs.push_back(Args.MakeArgString(getCompilerRT(TC, "unwind")));
+  }
----------------
Still not sure what way is the best location for installing libunwind is

lib/clang/3.8.0/lib/windows/libclang_rt.unwind-x86_64.a
lib/clang/3.8.0/lib/windows/libclang_rt.unwind-x86.a
etc
via
CmdArgs.push_back(Args.MakeArgString(getCompilerRT(TC, "unwind")));
or

lib/libunwind.a
via
CmdArgs.push_back("-lunwind");

Thoughts?


http://reviews.llvm.org/D11237







More information about the cfe-commits mailing list