http://llvm.org/bugs/show_bug.cgi?id=3603

           Summary: Finish dependency file support
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


clang is still missing various things needed for full dependency file
generation support.

1. Change -M* options to be sane and force driver to convert -M* to the sane
set.

2. Support -M, -MG, -MM, -MQ.

3. Some corner cases differ vs gcc. For example:
--
ddun...@lordcrumb:tmp$ rm -f foo && xcc -S -MD -MF foo -m32 -o y -x c
/dev/null; cat foo
y.o: /dev/null
ddun...@lordcrumb:tmp$ rm -f foo && gcc -S -MD -MF foo -m32 -o y -x c
/dev/null; cat foo
y: /dev/null

ddun...@lordcrumb:tmp$ rm -f foo && xcc -E -MD -MF foo -m32 -o y -x c
/dev/null; cat foo
cat: foo: No such file or directory
ddun...@lordcrumb:tmp$ rm -f foo && gcc -E -MD -MF foo -m32 -o y -x c
/dev/null; cat foo
null.o: /dev/null
--


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to