[PATCH] D59288: [DebugInfoMetadata] Move main subprogram DIFlag into DISPFlags

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 02:19:18 PDT 2019


djtodoro created this revision.
djtodoro added reviewers: probinson, aprantl.
Herald added a reviewer: deadalnix.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Moving subprogram specific flags into `DISPFlags` makes IR code more readable.
In addition, we provide free space in `DIFlags` for other 'non-subprogram-specific' debug info flags.


Repository:
  rL LLVM

https://reviews.llvm.org/D59288

Files:
  include/llvm-c/DebugInfo.h
  include/llvm/IR/DebugInfoFlags.def
  include/llvm/IR/DebugInfoMetadata.h
  test/DebugInfo/Generic/containing-type-extension.ll
  test/DebugInfo/Generic/discriminated-union.ll
  test/DebugInfo/Generic/mainsubprogram.ll
  test/DebugInfo/Generic/univariant-discriminated-union.ll
  test/DebugInfo/X86/containing-type-extension-rust.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59288.190381.patch
Type: text/x-patch
Size: 9805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190313/cf3b860a/attachment.bin>


More information about the llvm-commits mailing list