summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-27 18:10:42 +0300
committerOxore <oxore@protonmail.com>2023-05-27 18:12:31 +0300
commita4841d2a593f9efed1cb116137034c307c1d74bc (patch)
treeee0e850b39f6b7dfe1532835409d88e2e33156ef /disasm.h
parentedfe901ba751f4fcdf287102037eb36bf28cfa2a (diff)
Impl -fshort-ref-local-labels, refactor feature parsing
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/disasm.h b/disasm.h
index 441f7da..f138e5f 100644
--- a/disasm.h
+++ b/disasm.h
@@ -299,6 +299,7 @@ struct Arg {
size_t bufsz,
bool imm_as_hex = false,
RefKindMask ref_kinds = 0,
+ const char *label = nullptr,
uint32_t self_addr = 0,
uint32_t ref_addr = 0) const;
};
@@ -355,6 +356,8 @@ struct Op {
FILE *,
const char *indent,
RefKindMask ref_kinds = 0,
+ const char *ref1_label = nullptr,
+ const char *ref2_label = nullptr,
uint32_t self_addr = 0,
uint32_t ref1_addr = 0,
uint32_t ref2_addr = 0) const;