[LLVMbugs] [Bug 11038] New: returns_twice not implemented

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 29 09:03:22 PDT 2011


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

           Summary: returns_twice not implemented
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


We currently only know that a hard coded list of functions return twice (form
callsFunctionThatReturnsTwice). We should add support for the returns_twice
attribute.

What is needed:

* add returns_twice to the LLVM IL
* have clang produce it when a function has __attribute__((returns_twice))
* change callsFunctionThatReturnsTwice to look at all the calls the function
does and check for the attribute.
* maybe drop the hard coded names and have clang produce the attribute when
needed.

-- 
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