[PATCH] D23167: emit_DW_AT_noreturn flag

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 10:37:07 PDT 2016


aprantl added a comment.

You are adding a new constant to the LLVM IR, so there should be a round-trip test that tests the LLVM IR parser, bitcode writer, bitcode reader, and LLVM IR printer to make sure we're handling the new constant correctly.

One easy way to do this is by adding the new flag to the already existing test in test/IR/disubprogram.ll.


https://reviews.llvm.org/D23167





More information about the cfe-commits mailing list