Use llvm::DINode::DIFlags type (strongly typed enum) for debug flags instead of unsigned int to avoid problems on platforms with sizeof(int) < 4: we already have flags with values > (1 << 16).
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D23767
DebugInfo: use llvm::DINode::DIFlags type for debug info flags ClosedPublic Authored by vleschuk on Aug 22 2016, 6:46 AM.
Details Summary Use llvm::DINode::DIFlags type (strongly typed enum) for debug flags instead of unsigned int to avoid problems on platforms with sizeof(int) < 4: we already have flags with values > (1 << 16).
Diff Detail Event Timelinevleschuk updated this object. vleschuk added a parent revision: D23766: DebugInfo: use strongly typed enum for debug info flags.Aug 22 2016, 6:47 AM vleschuk retitled this revision from DebugInfo: use llvm::di_flags_t for debug info flags to DebugInfo: use llvm::DIFlagsUnderlying type for debug info flags. vleschuk updated this object. Comment ActionsChnaged typedef name according to naming convention. This revision is now accepted and ready to land.Aug 29 2016, 8:52 AM vleschuk retitled this revision from DebugInfo: use llvm::DIFlagsUnderlying type for debug info flags to DebugInfo: use llvm::DINode::DIFlags type for debug info flags. vleschuk updated this object. vleschuk edited edge metadata. Comment ActionsSwitched to include/llvm/ADT/BitmaskEnum for debug info flags. Closed by commit rL280701: DebugInfo: use llvm::DINode::DIFlags type for debug info flags (authored by lkholodov). · Explain WhySep 6 2016, 3:56 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 69332 lib/CodeGen/CGDebugInfo.h
lib/CodeGen/CGDebugInfo.cpp
|