We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
memo()
Module
1 parent 3524a93 commit 7138d86Copy full SHA for 7138d86
include/blook/module.h
@@ -42,6 +42,10 @@ class Module : public std::enable_shared_from_this<Module> {
42
43
std::optional<MemoryRange> section(const std::string &name);
44
45
+ inline MemoryRange memo() {
46
+ return base().range_size(size());
47
+ }
48
+
49
std::optional<Function> entry_point();
50
51
void *data();
0 commit comments