r193702 - clang-cl: Parse the /arch, /Yu and /Fp options (PR17736)

Hans Wennborg hans at chromium.org
Thu Oct 31 09:25:38 PDT 2013


On Thu, Oct 31, 2013 at 12:49 AM, Kim Gräsman <kim.grasman at gmail.com> wrote:
> On Wed, Oct 30, 2013 at 6:36 PM, Hans Wennborg <hans at hanshq.net> wrote:
>>
>> clang-cl: Parse the /arch, /Yu and /Fp options (PR17736)
>>
>> We don't support these options, but should at least parse them.
>
> Could /Yu be made to use Clang's PCH mechanism or is there something in the way?

Yes, supporting /Yu with Clang's PCH would be very nice. I haven't
really thought about it, but I don't know of any immediate problems.

> If we're expecting object files compiled by cl.exe and clang-cl to be
> compatible, it might get tricky, of course.

The PCH files won't be compatible, but I don't see why it would cause
problems for object files?

 - Hans




More information about the cfe-commits mailing list