summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-07-29 00:31:35 +0000
committerBill Wendling <isanbard@gmail.com>2009-07-29 00:31:35 +0000
commitb67440efb8f5a1b31c9472092162ae62e4f83642 (patch)
treec6664cb1ab379841a79da4d1de2ba3c0ee6133c6 /llvm/lib/CodeGen/AsmPrinter/DwarfException.h
parentf7802a33ce06554c2eb6959b699e35f4818ac1df (diff)
downloadbcm5719-llvm-b67440efb8f5a1b31c9472092162ae62e4f83642.tar.gz
bcm5719-llvm-b67440efb8f5a1b31c9472092162ae62e4f83642.zip
- Temporarily unbreak the build by forcing the TType "absptr", which isn't
correct. But what are you going to do? I'll fix this in the future. - Move another large loop into its own method. llvm-svn: 77408
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.h b/llvm/lib/CodeGen/AsmPrinter/DwarfException.h
index 4b3753893ef..e165df4693d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.h
@@ -143,9 +143,21 @@ class VISIBILITY_HIDDEN DwarfException : public Dwarf {
/// ComputeActionsTable - Compute the actions table and gather the first
/// action index for each landing pad site.
- unsigned ComputeActionsTable(const SmallVectorImpl<const LandingPadInfo*> &LP,
+ unsigned ComputeActionsTable(const SmallVectorImpl<const LandingPadInfo*>&LPs,
SmallVectorImpl<ActionEntry> &Actions,
SmallVectorImpl<unsigned> &FirstActions);
+
+ /// ComputeCallSiteTable - Compute the call-site table. The entry for an
+ /// invoke has a try-range containing the call, a non-zero landing pad and an
+ /// appropriate action. The entry for an ordinary call has a try-range
+ /// containing the call and zero for the landing pad and the action. Calls
+ /// marked 'nounwind' have no entry and must not be contained in the try-range
+ /// of any entry - they form gaps in the table. Entries must be ordered by
+ /// try-range address.
+ void ComputeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
+ const RangeMapType &PadMap,
+ const SmallVectorImpl<const LandingPadInfo *> &LPs,
+ const SmallVectorImpl<unsigned> &FirstActions);
void EmitExceptionTable();
public:
OpenPOWER on IntegriCloud