[LLVMbugs] [Bug 1145] NEW: Support nothrow attribute on function calls
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jan 30 09:23:14 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1145
Summary: Support nothrow attribute on function calls
Product: libraries
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
With exception table support under development, it will soon be useful to know if a function can throw or
not. The front-end has this info for some functions (those marked throw()) and the prune-eh pass
computes this info, but there is no way to record this info in the IR for the code generator to use.
It should be straight-forward to add an attribute to functions to indicate that they cannot throw. If the
front-end sets this, it will make the prune-eh pass more effective (deleting more landing pads) and the
code generator can then start using it.
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list