aprantl added a comment. Duncan: There already exists a verifier check that ensures each DICompileUnit is listed in llvm.dbg.cu. This didn't break existing users of sample-based profiling, because the Verifier cannot *find* the orphaned DICompileUnits. After the DISubprogram / DICompileUnit pointer reversal, however, this will be possible and the verification will fail.
http://reviews.llvm.org/D18808 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits