[PATCH] D43043: [DebugInfo] Unify ChecksumKind and Checksum value in DIFile

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 13:40:36 PST 2018


scott.linder created this revision.
scott.linder added reviewers: aprantl, JDevlieghere.
Herald added a subscriber: llvm-commits.

Rather than encode the absence of a checksum with a Kind variant, instead put both the kind and value in a struct and wrap it in an Optional.


Repository:
  rL LLVM

https://reviews.llvm.org/D43043

Files:
  include/llvm/IR/DIBuilder.h
  include/llvm/IR/DebugInfoMetadata.h
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Reader/MetadataLoader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/DIBuilder.cpp
  lib/IR/DebugInfoMetadata.cpp
  lib/IR/LLVMContextImpl.h
  lib/IR/Verifier.cpp
  test/Assembler/debug-info.ll
  test/Verifier/DIFile.ll
  unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43043.133295.patch
Type: text/x-patch
Size: 27287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/bea92c0c/attachment.bin>


More information about the llvm-commits mailing list