[PATCH] D54755: [DebugInfo] IR/Bitcode changes for DISubprogram flags

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 27 14:24:34 PST 2018


probinson updated this revision to Diff 175581.
probinson added a comment.

Don't emit unused fields to the bitcode. Accommodate the new variant in the reader.

This does not address all comments, but I wanted to show @dexonsmith the change for bitcode format that he asked for.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54755/new/

https://reviews.llvm.org/D54755

Files:
  llvm/include/llvm/IR/DebugInfoFlags.def
  llvm/include/llvm/IR/DebugInfoMetadata.h
  llvm/lib/AsmParser/LLLexer.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/LLToken.h
  llvm/lib/Bitcode/Reader/MetadataLoader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/DebugInfoMetadata.cpp
  llvm/test/Assembler/disubprogram.ll
  llvm/test/Assembler/invalid-disubprogram-uniqued-definition.ll
  llvm/test/Bindings/llvm-c/debug_info.ll
  llvm/test/Bitcode/DISubprogram-distinct-definitions.ll
  llvm/test/DebugInfo/Generic/invalid.ll
  llvm/test/DebugInfo/debugify.ll
  llvm/test/Linker/replaced-function-matches-first-subprogram.ll
  llvm/test/Transforms/GCOVProfiling/three-element-mdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54755.175581.patch
Type: text/x-patch
Size: 28042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181127/b0e9a3df/attachment.bin>


More information about the llvm-commits mailing list