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

Adrian Prantl via llvm-commits llvm-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.


http://reviews.llvm.org/D18808





More information about the llvm-commits mailing list