[PATCH] D23766: DebugInfo: introduce di_flags_t type for debug info flags

Victor via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 06:42:33 PDT 2016


vleschuk created this revision.
vleschuk added reviewers: dexonsmith, aprantl, echristo.
vleschuk added a subscriber: llvm-commits.
Herald added a subscriber: mehdi_amini.

Introduce llvm::di_flags_t typedef to use with debug info flags. 
Use it instead of unsigned int to avoid problems on platforms with sizeof(int) < 4: currently we already have flags with values > (1 << 16).

https://reviews.llvm.org/D23766

Files:
  include/llvm/IR/DIBuilder.h
  include/llvm/IR/DebugInfoMetadata.h
  lib/IR/DIBuilder.cpp
  lib/IR/DebugInfoMetadata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23766.68852.patch
Type: text/x-patch
Size: 43521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160822/bfaa2a2d/attachment.bin>


More information about the llvm-commits mailing list