[PATCH] D18808: Use the NoDebug emission kind to identify compile units that no debug info should be created from.
Duncan P. N. Exon Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 6 14:41:42 PDT 2016
Okay, weird. So the DICompileUnit wouldn't even get written out to
bitcode, IIUC. LGTM then.
> On 2016-Apr-06, at 14:31, Adrian Prantl <aprantl at apple.com> wrote:
> 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