Recommitting EH patch; this should answer most of the

review feedback.
-enable-eh is still accepted but doesn't do anything.
EH intrinsics use Dwarf EH if the target supports that,
and are handled by LowerInvoke otherwise.
The separation of the EH table and frame move data is,
I think, logically figured out, but either one still
causes full EH info to be generated (not sure how to
split the metadata correctly).
MachineModuleInfo::needsFrameInfo is no longer used and
is removed.

llvm-svn: 49064
This commit is contained in:
Dale Johannesen
2008-04-02 00:25:04 +00:00
parent ac38d444e2
commit fd967cf3fa
10 changed files with 112 additions and 102 deletions

View File

@@ -1583,12 +1583,6 @@ void MachineModuleInfo::AnalyzeModule(Module &M) {
}
}
/// needsFrameInfo - Returns true if we need to gather callee-saved register
/// move info for the frame.
bool MachineModuleInfo::needsFrameInfo() const {
return hasDebugInfo() || ExceptionHandling;
}
/// SetupCompileUnits - Set up the unique vector of compile units.
///
void MachineModuleInfo::SetupCompileUnits(Module &M) {