[LLVMbugs] [Bug 7963] New: function attribute '__artificial__' ignored

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 21 22:58:20 PDT 2010


           Summary: function attribute '__artificial__' ignored
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nobled at dreamwidth.org
                CC: llvmbugs at cs.uiuc.edu

Clang doesn't seem to support the 'artificial' function attribute. A warning
turned up with this header file:


./util/u_sse.h:90:75: warning: '__artificial__' attribute ignored
static __inline __m128i __attribute__((__gnu_inline__, __always_inline__,

What it's supposed to do:
- "This attribute is useful for small inline wrappers which if possible should
appear during debugging as a unit, depending on the debug info format it will
either mean marking the function as artificial or using the caller location for
all instructions within the inlined body."
- "On a function, it basically means that if the function is inlined, the
debugger will not step through the inlined instructions."

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