OSDN Git Service

[lldb] Skip scoped enum checks with Dwarf <4
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 7 Jan 2021 01:10:20 +0000 (17:10 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 7 Jan 2021 01:13:33 +0000 (17:13 -0800)
commitfbc13e9345c7c9607f0c28e0ccfa9a7baf254f29
tree71f883ecdb119f827e72608585f40adf4fbda244
parentb9bfe8a75306b211dc53291d28a31c0f37be2a2c
[lldb] Skip scoped enum checks with Dwarf <4

The scoped enum tests depend on DW_AT_enum_class which was added in
Dwarf 4.

I made part of the test conditional on the Dwarf version instead of
splitting it into a separate test and using the decorator to avoid the
overhead of setting up the test.
lldb/test/API/python_api/type/TestTypeList.py