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

Kim Gräsman kim.grasman at gmail.com
Thu Oct 31 11:52:42 PDT 2013


On Thu, Oct 31, 2013 at 5:25 PM, Hans Wennborg <hans at chromium.org> wrote:
> On Thu, Oct 31, 2013 at 12:49 AM, Kim Gräsman <kim.grasman at gmail.com> wrote:
>>
>> 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.

Cool, I'll keep an eye out and try to help when I have some spare time.

>> 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?

Brainfart. I was thinking the PCH was embedded in the object file, but
no, there should be no problem.

Cheers,
- Kim




More information about the cfe-commits mailing list