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

           Summary: EmitGlobalFunctionDefinition ignores Annotations
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


There are no corresponded code in CodeGenModule::EmitGlobalFunctionDefinition
to add annotation attributes to Annotations array (though this code is in
CodeGenModule::EmitGlobalVarDefinition). As the result clang ignores functions'
__attribute__((annotate("blah-blah-blah"))) declarations.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to