[llvm-bugs] [Bug 24619] New: Make -fdebug-compilation-dir a public option

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 28 12:47:12 PDT 2015


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

            Bug ID: 24619
           Summary: Make -fdebug-compilation-dir a public option
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael_andreas at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I'm using tup as my build system on linux.
Tup does some things different as more traditional build systems like make,
specifically it handles out of source builds via a temporary fuse folder.
This however, breaks debug info when compiling out of source, as it points to a
non-existent folder.

On the Tup google user groups a user came up with a solution to use GCC's
-fdebug-prefix-map option to fix the path to the source. As can be seen here:
https://groups.google.com/d/msg/tup-users/LggFabs7Iwo/FrZ4ZTn1CjwJ

In short, making this option public will allow me (and other tup users) to have
debug info working as expected.

-- 
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/20150828/993a4add/attachment.html>


More information about the llvm-bugs mailing list