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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs