MC Win64: Put unwind info for COMDAT code into the same COMDAT group
[oota-llvm.git] / include / llvm / MC / MCContext.h
index eb0340f7421a322bd3b45da5612b6b9db14e4f76..69365a385a6358739b1f1891e481760b220dc45d 100644 (file)
@@ -284,6 +284,13 @@ namespace llvm {
 
     const MCSectionCOFF *getCOFFSection(StringRef Section);
 
+    /// Gets or creates a section equivalent to Sec that is associated with the
+    /// section containing KeySym. For example, to create a debug info section
+    /// associated with an inline function, pass the normal debug info section
+    /// as Sec and the function symbol as KeySym.
+    const MCSectionCOFF *getAssociativeCOFFSection(const MCSectionCOFF *Sec,
+                                                   const MCSymbol *KeySym);
+
     /// @}
 
     /// @name Dwarf Management