[PATCH] D18808: Use the NoDebug emission kind to identify compile units that no debug info should be created from.

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 14:31:03 PDT 2016

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.


More information about the cfe-commits mailing list