[llvm-bugs] [Bug 42337] New: -fdebug-compilation-dir doesn't work in a FreeBSD version of clang

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 19 21:25:58 PDT 2019


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

            Bug ID: 42337
           Summary: -fdebug-compilation-dir doesn't work in a FreeBSD
                    version of clang
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: yuri at tsoft.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

-fdebug-compilation-dir is added to args in the clang code many times, and it
is present in many articles, like this one:
https://blog.the-pans.com/boost-darwin/

However, clang on FreeBSD doesn't know this option:
> $ clang++80 -fdebug-compilation-dir /tmp -c x.cpp
> clang-8: error: unknown argument: '-fdebug-compilation-dir'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190620/ad65ad5c/attachment.html>


More information about the llvm-bugs mailing list