logan added a comment. Sorry, I don't have time to work on this recently. Here's the plan:
1. Add another flag to specify the path to `libclang_rt-builtin.a`. 2. If that flag was not specified and the compiler is `clang`, then run `clang -###` to extract for `-L` option and `-l` option for `libclang_rt-builtin.a`. 3. If neither (1) nor (2) are available, then report an error. I hope I can get back to this next week. https://reviews.llvm.org/D24083 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits