[PATCH] [lld][Driver] Parallelize reading initial object files.

Rui Ueyama ruiu at google.com
Wed Aug 7 16:52:30 PDT 2013


  Resurrecting the old thread.

  I'm thinking to rewrite the concurrent file parsing part using std::future and std::async. We can get performance benefit from doing that, as the core linker will not have to wait all the input files to be parsed (but instead will be blocked when it tries to use a future which is not ready). It will also simplifies the code because it's the standard library.

  What I'm wondering is why this code did not use std::future and std::async from the beginning. Was there any reason to avoid that?

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



More information about the llvm-commits mailing list