[llvm-bugs] [Bug 26002] New: cc_kext configuration wants InstrProfilingWriter linked in

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jan 2 19:05:29 PST 2016


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

            Bug ID: 26002
           Summary: cc_kext configuration wants InstrProfilingWriter
                    linked in
           Product: compiler-rt
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: pumpkin at me.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I'm not 100% sure about this, but when I try to link xnu (the Darwin kernel, at
http://opensource.apple.com/source/xnu/xnu-3248.20.55/) with a
libclang_rt.cc_kext produced from compiler-rt (SVN 256647) it complains about a
missing llvmBufferWriter (and a couple of other related symbols).

I noticed that in CompilerRTDarwinUtils.cmake, PROFILE_SOURCES doesn't include
InstrProfilingWriter. If I add InstrProfilingWriter to that list, the linker
issue goes away (except it still complains about memcpy_chk/memset_chk, but I
that's likely unrelated).

-- 
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/20160103/0af50890/attachment.html>


More information about the llvm-bugs mailing list