summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2019-12-26 15:48:50 +0300
committerTatyana Krasnukha <tatyana@synopsys.com>2019-12-26 18:49:36 +0300
commite2d3eb00ccd8bd789636464791f4acdd6e0c4583 (patch)
treed8e82942c7b80a55bc65376f472ea60fd082ed14 /lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py
parentb0469eede2857f8c15bbec3db7605f699324befb (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud