[PATCH] Fix MIPS toolchain selection heuristics in case of reduced toolchain directories tree

Simon Atanasyan simon at atanasyan.com
Sun Mar 2 21:59:46 PST 2014


  Thanks for review. The patch fixes the problem on my machine but does not help Reed Kotler. So I the bug needs to be investigated further. Probably I will update the patch soon.


================
Comment at: lib/Driver/ToolChains.cpp:1838
@@ +1837,3 @@
+  // Then select the first toolchains matches command line flags.
+  std::vector<MultilibSet *> candidates = { &DebianMipsMultilibs,
+                                            &FSFMipsMultilibs,
----------------
David Majnemer wrote:
> Does this need to be a vector? Can't it just be an array?
Good point. I will fix that.


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



More information about the cfe-commits mailing list