[LLVMbugs] [Bug 3603] New: Finish dependency file support

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Feb 17 11:00:41 PST 2009


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: unassignedclangbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


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:
--
ddunbar at lordcrumb:tmp$ rm -f foo && xcc -S -MD -MF foo -m32 -o y -x c
/dev/null; cat foo
y.o: /dev/null
ddunbar at lordcrumb:tmp$ rm -f foo && gcc -S -MD -MF foo -m32 -o y -x c
/dev/null; cat foo
y: /dev/null

ddunbar at 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
ddunbar at 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.



More information about the llvm-bugs mailing list