[PATCH] D23767: DebugInfo: use llvm::di_flags_t for debug info flags

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


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

Use llvm::di_flags_t type for debug flags instead of unsigned int to avoid problems on platforms with sizeof(int) < 4: we already have flags with values > (1 << 16).

https://reviews.llvm.org/D23767

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: D23767.68854.patch
Type: text/x-patch
Size: 43521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160822/19c82d4e/attachment-0001.bin>


More information about the llvm-commits mailing list