[LLVMbugs] [Bug 21195] New: clang emits gcno files to /tmp if -no-integrated-as is used

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 7 14:00:45 PDT 2014


            Bug ID: 21195
           Summary: clang emits gcno files to /tmp if -no-integrated-as is
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: danalbert at google.com
                CC: danalbert at google.com, llvmbugs at cs.uiuc.edu,
                    nlewycky at google.com, srhines at google.com
    Classification: Unclassified

$ clang++ --coverage hello.cpp -c
# hello.gcno in current directory
$ clang++ --coverage hello.cpp -c -no-integrated-as
# hello-XXXXXX.gcno in /tmp

This is because -no-integrated-as causes the assembly gets generated in /tmp,
which is then used to generate the names for the gcno files. Should be fixable
in the driver.

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/20141007/1b937e37/attachment.html>

More information about the llvm-bugs mailing list