summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/TestBasicEntryValues.py
blob: 29179daeb95c45ba29d4dc7a5600ee2c4cfae36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from lldbsuite.test import lldbinline
from lldbsuite.test.decorators import *
from lldbsuite.test import lldbplatformutil

supported_archs = ["x86_64", "aarch64", "arm64", "arm64e"]
decorators = [
    skipIf(archs=no_match(supported_archs)),
    skipIf(compiler="clang", compiler_version=["<", "11.0"]),
    skipUnlessHasCallSiteInfo,
    skipIf(dwarf_version=["<", "4"]),
]

lldbinline.MakeInlineTest(
    __file__,
    globals(),
    decorators=decorators,
    name="BasicEntryValues_V5",
    build_dict=dict(CXXFLAGS_EXTRAS="-O2 -glldb"),
)

lldbinline.MakeInlineTest(
    __file__,
    globals(),
    decorators=decorators + [skipIf(debug_info="dsym")],
    name="BasicEntryValues_GNU",
    build_dict=dict(CXXFLAGS_EXTRAS="-O2 -ggdb -gdwarf-4"),
)