diff options
author | Tatyana Krasnukha <tatyana@synopsys.com> | 2019-12-26 15:48:50 +0300 |
---|---|---|
committer | Tatyana Krasnukha <tatyana@synopsys.com> | 2019-12-26 18:49:36 +0300 |
commit | e2d3eb00ccd8bd789636464791f4acdd6e0c4583 (patch) | |
tree | d8e82942c7b80a55bc65376f472ea60fd082ed14 /lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py | |
parent | b0469eede2857f8c15bbec3db7605f699324befb (diff) | |
download | bcm5719-llvm-e2d3eb00ccd8bd789636464791f4acdd6e0c4583.tar.gz bcm5719-llvm-e2d3eb00ccd8bd789636464791f4acdd6e0c4583.zip |
[lldb] Specify unsigned underlying type for an enumeration explicitly
The enumeration EntryType is used as a bit field of DebugMacroEntry:
```
EntryType m_type : 3
```
Since underlying type of enumeration is implementation-dependent, a signed integer is
converted to the 3-bit value by some compilers (MSVC).
That's why a DebugMacroEntry instance that was created with EntryType value > 3 (END_FILE or INDIRECT)
contains incorrect negative value in its m_type data-member.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py')
0 files changed, 0 insertions, 0 deletions