diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index 4000ae48a85..3f4809974f3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -298,7 +298,9 @@ public: bool Minimal = false); /// \brief Find existing DIE or create new DIE for the given type. - DIE *getOrCreateTypeDIE(const MDNode *N); + /// \param N Type Node + /// \param ContextDIE DIE scope for N Node, if available. + DIE *getOrCreateTypeDIE(const MDNode *N, DIE *ContextDIE = nullptr); /// \brief Get context owner's DIE. DIE *createTypeDIE(const DICompositeType *Ty); |

