[PATCH] [RFC] Add EXPERIMENTAL --rtlib=compiler-rt to GNU Clang

Renato Golin renato.golin at linaro.org
Wed Feb 12 02:00:15 PST 2014



================
Comment at: lib/Driver/Tools.cpp:6708
@@ +6707,3 @@
+
+      switch(RLT) {
+      case ToolChain::RLT_CompilerRT:
----------------
Alexey Samsonov wrote:
> This logic (choosing between addClangRTLinux and AddLibgcc) should probably be factored into separate function, as it's duplicated below.
Yes, I thought about that, but left here as experimental. I probably should use the thing for all common targets. I also need to add gcc_s and gcc_eh for now.


http://llvm-reviews.chandlerc.com/D2740



More information about the cfe-commits mailing list