summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/dexter/dex/dextIR/FrameIR.py
blob: a2c0523b47b79d3dc32ca56b17366b9b676b1c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# DExTer : Debugging Experience Tester
# ~~~~~~   ~         ~~         ~   ~~
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
from dex.dextIR.LocIR import LocIR


class FrameIR:
    """Data class which represents a frame in the call stack"""

    def __init__(self, function: str, is_inlined: bool, loc: LocIR):
        self.function = function
        self.is_inlined = is_inlined
        self.loc = loc
OpenPOWER on IntegriCloud