summaryrefslogtreecommitdiffhomepage
path: root/include/mdso/mdso_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mdso/mdso_output.h')
-rw-r--r--include/mdso/mdso_output.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/mdso/mdso_output.h b/include/mdso/mdso_output.h
new file mode 100644
index 0000000..9b158ed
--- /dev/null
+++ b/include/mdso/mdso_output.h
@@ -0,0 +1,19 @@
+#ifndef MDSO_OUTPUT_H
+#define MDSO_OUTPUT_H
+
+#include <stdint.h>
+
+#define MDSO_PRETTY(x) ((uint64_t)x << 32)
+
+/* output actions */
+#define MDSO_OUTPUT_EXPORT_SYMS 0x00000001
+
+
+/* pretty-printer flags */
+#define MDSO_PRETTY_LIST MDSO_PRETTY(0x00000001)
+#define MDSO_PRETTY_TABLE MDSO_PRETTY(0x00000002)
+#define MDSO_PRETTY_READOBJ MDSO_PRETTY(0x00000004)
+#define MDSO_PRETTY_OBJDUMP MDSO_PRETTY(0x00000008)
+#define MDSO_PRETTY_YAML MDSO_PRETTY(0x00000010)
+
+#endif