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: unassignedb...@nondot.org Reporter: pump...@me.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs