[LLVMbugs] [Bug 23378] New: Lacking documentation on -fapple-kext

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 30 00:13:19 PDT 2015


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

            Bug ID: 23378
           Summary: Lacking documentation on -fapple-kext
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dannyniu at hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The -fapple-kext option specifies that clang generate kext codes for C++ files
instead of regular user-space codes. But this option is undocumented here and
elsewhere. 

I'm among those who believe that an overly-complicated language such as C++
should never be used to program a system kernel or a compiler, Much of the
esoteric features of C++ has complicated the implementations of the language. 

Although I'm fine with Clang being written in C++ since it's already capable of
self-hosting, I'd have a serious argument with someone if he uses it in system
kernel, especially when ABI is poorly documented.

-- 
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/20150430/8ee74b50/attachment.html>


More information about the llvm-bugs mailing list