https://bugs.llvm.org/show_bug.cgi?id=46103

            Bug ID: 46103
           Summary: -MMD misplaces the dependency file when
                    compiling+linking and the path to the output contains
                    periods
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: michael.aiva...@para-sim.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

Steps to recreate:

mkdir foo.lib foo.out
vi foo.lib/empty.c <- put some trivial code in here
clang -MMD foo.lib/empty.c -o foo.out/empty

and the dependency file is placed in the current directory. gcc places it in
foo.out, alongside the executable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to