[PATCH] Handle nested landing pads in outlined catch handlers for Windows C++ EH

Andy Kaylor andrew.kaylor at intel.com
Thu Apr 2 17:49:33 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: include/llvm/CodeGen/WinEHFuncInfo.h:77
@@ -74,2 +76,3 @@
   void setExceptionVar(const Value *Val) { ExceptionObjectVar = Val; }
+  void setExceptionVarIndex(int Index) { ExceptionObjectIndex = Index;  }
   void setReturnTargets(TinyPtrVector<BasicBlock *> &Targets) {
----------------
majnemer wrote:
> There is no `getExceptionVarIndex` and code which loads from `ExceptionObjectIndex`.  Is this code from a prior revision or do you have future intentions for it?
I expected that the code generating the .xdata tables would use that, but I didn't want to add the function until it was going to be called.

http://reviews.llvm.org/D8596

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list