1from lldbsuite.test import lldbinline
2from lldbsuite.test.decorators import *
3from lldbsuite.test import lldbplatformutil
4
5supported_archs = ["x86_64", "aarch64", "arm64", "arm64e"]
6decorators = [
7    skipIf(archs=no_match(supported_archs)),
8    skipIf(compiler="clang", compiler_version=["<", "11.0"]),
9    skipUnlessHasCallSiteInfo,
10    skipIf(dwarf_version=["<", "4"]),
11]
12
13lldbinline.MakeInlineTest(
14    __file__,
15    globals(),
16    decorators=decorators,
17    name="BasicEntryValues_V5",
18    build_dict=dict(CXXFLAGS_EXTRAS="-O2 -glldb"),
19)
20
21lldbinline.MakeInlineTest(
22    __file__,
23    globals(),
24    decorators=decorators + [skipIf(debug_info="dsym")],
25    name="BasicEntryValues_GNU",
26    build_dict=dict(CXXFLAGS_EXTRAS="-O2 -ggdb -gdwarf-4"),
27)
28