[LLVMbugs] [Bug 9909] New: EmitGlobalFunctionDefinition ignores Annotations

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 12 19:47:48 PDT 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: mcyril at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list