<div dir="ltr">Hi,<div>I'm trying to use DIBuilder to build my debug info and export it into a PDB, but I don't understand the way some DIBuilder method work.<br>My question might have a straightforward answer but I don't see it ... (and I can't find any example code using these methods anywhere).<br>Indeed createClassType takes an "Elements" argument, and createMemberType takes a "Scope" argument. Like the "who's first, egg or hen", I don't know If I need to create my members first using le compilation unit as the scope, put them in an array and give them to createClassType Elements parameter. Or forget the Elements parameter, call createClassType first then give it as "Scope" of createMemberType..<br>Thanks !</div></div>