[LLVMbugs] [Bug 19108] New: Improper Name Mangling for Windows Kernel APIs

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 11 14:45:48 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19108

            Bug ID: 19108
           Summary: Improper Name Mangling for Windows Kernel APIs
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jb.feldman at kyrus-tech.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12212
  --> http://llvm.org/bugs/attachment.cgi?id=12212&action=edit
Preprocessor output of CL.exe

Clang is emitting incorrect name manglings which result in failed linking.

For example: clang emits __imp__KeInitializeEvent, while cl emits
__imp__KeInitializeEvent at 12

Similar issues exist for 
KeWaitForSingleObject
IoDetachDevice
IoDeleteDevice
PoStartNextPowerIrp
PoCallDriver
IoCreateDevice
IoAttachDeviceToDeviceStack
KeSetEvent

Attached is the source code, as preprocessed by cl.exe

-- 
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/20140311/77575c34/attachment.html>


More information about the llvm-bugs mailing list