[lldb] Add Apple simulator platforms to lldbplatform.py
authorRaphael Isemann <teemperor@gmail.com>
Thu, 5 Nov 2020 14:32:03 +0000 (15:32 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 5 Nov 2020 14:34:42 +0000 (15:34 +0100)
commit26a8e8502b5943cc13177bea48841491dadfef9b
tree79bb2c1514e8f1f7b50dff086cc9336387c27dbb
parente237d56b43ebfbb9847648ff82aa17c3d7607481
[lldb] Add Apple simulator platforms to lldbplatform.py

This just adds the simulator platforms to the lldbplatform enumerations
and the respective test decorator.

The platform names for the simulator are just the SDK names since D85537, so
that's why we are not using LLDB's usual platform names here (e.g., SDK =
"iphonesimulator" vs LLDB platform ="ios-simulator").

Also removes the duplicate platform enumaration in lldbplatformutil.py.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D89694
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/packages/Python/lldbsuite/test/lldbplatform.py
lldb/packages/Python/lldbsuite/test/lldbplatformutil.py