diff --git a/src/Text/LLVM/AST.hs b/src/Text/LLVM/AST.hs index 94c4c00..2c22b3b 100644 --- a/src/Text/LLVM/AST.hs +++ b/src/Text/LLVM/AST.hs @@ -1408,6 +1408,8 @@ data DebugInfo' lab | DebugInfoImportedEntity (DIImportedEntity' lab) | DebugInfoLabel (DILabel' lab) | DebugInfoArgList (DIArgList' lab) + | DebugInfoAssignID + -- ^ Introduced in LLVM 17. deriving (Data, Eq, Functor, Generic, Generic1, Ord, Show, Typeable) type DebugInfo = DebugInfo' BlockLabel diff --git a/src/Text/LLVM/PP.hs b/src/Text/LLVM/PP.hs index e1395d0..275bfb3 100644 --- a/src/Text/LLVM/PP.hs +++ b/src/Text/LLVM/PP.hs @@ -957,6 +957,7 @@ ppDebugInfo' pp di = case di of DebugInfoImportedEntity diip -> ppDIImportedEntity' pp diip DebugInfoLabel dil -> ppDILabel' pp dil DebugInfoArgList args -> ppDIArgList' pp args + DebugInfoAssignID -> "!DIAssignID()" ppDebugInfo :: Fmt DebugInfo ppDebugInfo = ppDebugInfo' ppLabel