[PATCH] D21406: [Codeview] Add a class for LF_UDT_MOD_SRC_LINE.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 13:58:42 PDT 2016


zturner accepted this revision.
zturner added a comment.
This revision is now accepted and ready to land.

Since a class is added, you will need to update `TypeRecords.def` and change this line:

  CV_TYPE(LF_UDT_MOD_SRC_LINE, 0x1607)

to this:

  TYPE_RECORD(LF_UDT_MOD_SRC_LINE, 0x1607, UdtModSourceLine)

Then you can add the following method to `TypeDumper.cpp`

  void CVTypeDumper::visitUdtModSourceLine(TypeLeafKind Leaf,
                                            UdtModSourceLineRecord &SrcLine) {
  }

You can do this now or in a subsequent patch if you like.


http://reviews.llvm.org/D21406





More information about the llvm-commits mailing list