[WinEH] Update CoreCLR EH state numbering
[oota-llvm.git] / include / llvm / CodeGen / WinEHFuncInfo.h
index 70d558f5cfbd35ecd0f444bd7fc2e3525b1e0c66..f6ad7a8572ab0ff560df9d3e170a5d7816f07eca 100644 (file)
@@ -83,7 +83,9 @@ enum class ClrHandlerType { Catch, Finally, Fault, Filter };
 struct ClrEHUnwindMapEntry {
   MBBOrBasicBlock Handler;
   uint32_t TypeToken;
-  int Parent;
+  int HandlerParentState; ///< Outer handler enclosing this entry's handler
+  int TryParentState; ///< Outer try region enclosing this entry's try region,
+                      ///< treating later catches on same try as "outer"
   ClrHandlerType HandlerType;
 };