[cfe-commits] r143732 - in /cfe/trunk: lib/Driver/Tools.cpp test/Driver/debug-options.c

Chad Rosier mcrosier at apple.com
Sat Nov 5 10:25:10 PDT 2011


Thank you, Francois.

On Nov 5, 2011, at 10:22 AM, Francois Pichet wrote:

> On Fri, Nov 4, 2011 at 7:37 PM, Chad Rosier <mcrosier at apple.com> wrote:
>> 
>> On Nov 4, 2011, at 4:28 PM, NAKAMURA Takumi wrote:
>> 
>> 2011/11/5 Chad Rosier <mcrosier at apple.com>:
>> 
>> Author: mcrosier
>> 
>> Date: Fri Nov  4 14:28:44 2011
>> 
>> New Revision: 143732
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=143732&view=rev
>> 
>> Log:
>> 
>> [driver] Don't blindly accept all -g options.
>> 
>> rdar://10383444
>> 
>> Added:
>> 
>>    cfe/trunk/test/Driver/debug-options.c
>> 
>> Modified:
>> 
>>    cfe/trunk/lib/Driver/Tools.cpp
>> 
>> It broke msvc build.
>> http://bb.pgr.jp/builders/cmake-clang-i686-msvc10/builds/3657
>> (llvm test failure has been fixed in r143735)
>> 
>> These are mine, but I'm not sure what I can do about it as I don't have a
>> Windows machine to test with.
>> All of my errors look like:
>> 
>> clang: warning: the clang compiler does not support 'g'
>> [warn_drv_clang_unsupported]
>> 
>> This seems like rather odd behavior.  I assume the tests are passing -g and
>> the '-' is somehow getting stripped off.
>> Would someone with a Windows machine mind investigating?
> 
> I am investigating. Seem like the '-' is replaced with 0 ('\0').




More information about the cfe-commits mailing list