[LLVMbugs] [Bug 4134] New: clang: __builtin_extract_return_addr not implemented

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun May 3 04:11:06 PDT 2009


           Summary: clang: __builtin_extract_return_addr not implemented
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 4068

unsigned long foo(unsigned long addr)
    return (unsigned long) __builtin_extract_return_addr((void*)addr);
int main()

$ clang foo.c

tmp/cc-y3kFrH.o: In function `foo':
x.c:(.text+0x1b): undefined reference to `__builtin_extract_return_addr'
collect2: ld returned 1 exit status

$ gcc foo.c

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