GaloisInc / llvm-pretty

An llvm pretty printer inspired by the haskell llvm binding
Other
28 stars 15 forks source link

Missing scope for DIDerivedType metadata in PP output. #126

Closed kquick closed 1 year ago

kquick commented 1 year ago

The didtScope field was added to the AST, but the PP module was not updated. This causes the scope: output to be omitted from !DIDerivedType output, which in turn causes the value to change from its previous value (e.g. Just (ValMdRef 0)) to Nothing if the AST for the former is pretty-printed and then that result is parsed by llvm-pretty-bc-parser.