<div dir="ltr">While checking for serialization/deserialization without using pointee types, I've come across a few test cases that crash at head, without my debugging assertions for accessing pointee types.<br><br>One of them isĀ <span style="color:rgb(0,0,0)">test/Transforms/StripSymbols/</span><span style="color:rgb(0,0,0)">2010-06-30-StripDebug.ll<br></span><br>Its retainedTypes metadata points to a metadata array of a single null element.<br><br>This crashes the dyn_cast (because it's not a dyn_cast_or_null) Verifier.cpp:3785<br><br>Do you have a preferred/canonical representation intended in this case - an extant, but zero-length list, or no list at all? I tend to prefer no list at all, just because it simplifies reading of the debug info. Rather than seeing a "retainedTypes" property, following it to the metadata, only to find it's zero-length?<br><br></div>