[cfe-commits] r67418 - in /cfe/trunk: include/clang/Driver/HostInfo.h lib/Driver/Driver.cpp lib/Driver/HostInfo.cpp test/Driver/phases.c tools/ccc/ccclib/Driver.py tools/ccc/ccclib/HostInfo.py

Chris Lattner clattner at apple.com
Sat Mar 21 10:48:24 PDT 2009


On Mar 21, 2009, at 8:47 AM, Daniel Dunbar wrote:

> On Sat, Mar 21, 2009 at 1:33 AM, Chris Lattner <clattner at apple.com>  
> wrote:
> On Mar 20, 2009, at 4:39 PM, Daniel Dunbar wrote:
> Author: ddunbar
> Date: Fri Mar 20 18:39:23 2009
> New Revision: 67418
>
> URL: http://llvm.org/viewvc/llvm-project?rev=67418&view=rev
> Log:
> ccc/Driver: .s defaults to 'assembler-with-cpp' on Darwin.
> - <rdar://problem/6669441> ccc doesn't handle assembler-with-cpp
>  semantics correctly (but clang supports it)
>
> Are you sure about this?  Doesn't -E just imply that .s is .S?
>
> I don't understand this comment. On Darwin '<driver> foo.s' should  
> run the preprocessor, then assemble. It doesn't really have anything  
> to do with -E (although, due to this behavior, -E on a .s file on  
> Darwin runs the preprocessor, and elsewhere will warn that the input  
> file is unused).

Wow, that is really weird and surprising.  Do you know if this is  
documented anywhere?

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090321/64556570/attachment.html>


More information about the cfe-commits mailing list