summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/dexter/dex/dextIR/FrameIR.py
diff options
context:
space:
mode:
Diffstat (limited to 'debuginfo-tests/dexter/dex/dextIR/FrameIR.py')
-rw-r--r--debuginfo-tests/dexter/dex/dextIR/FrameIR.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/debuginfo-tests/dexter/dex/dextIR/FrameIR.py b/debuginfo-tests/dexter/dex/dextIR/FrameIR.py
new file mode 100644
index 00000000000..a2c0523b47b
--- /dev/null
+++ b/debuginfo-tests/dexter/dex/dextIR/FrameIR.py
@@ -0,0 +1,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