aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-c-test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-c-test/main.c')
-rw-r--r--tools/llvm-c-test/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvm-c-test/main.c b/tools/llvm-c-test/main.c
index 72f8b04..59cc749 100644
--- a/tools/llvm-c-test/main.c
+++ b/tools/llvm-c-test/main.c
@@ -65,6 +65,10 @@ int main(int argc, char **argv) {
return disassemble();
} else if (argc == 2 && !strcmp(argv[1], "--calc")) {
return calc();
+ } else if (argc == 2 && !strcmp(argv[1], "--add-named-metadata-operand")) {
+ return add_named_metadata_operand();
+ } else if (argc == 2 && !strcmp(argv[1], "--set-metadata")) {
+ return set_metadata();
} else {
print_usage();
}