[llvm] [llvm-c-test] Fix the usage message (PR #105702)

Michal Rostecki via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 20:59:49 PDT 2024


https://github.com/vadorovsky updated https://github.com/llvm/llvm-project/pull/105702

>From ecccadb75e5780ab096e9d6a377c300b448232ca Mon Sep 17 00:00:00 2001
From: Michal Rostecki <vadorovsky at protonmail.com>
Date: Thu, 22 Aug 2024 19:18:17 +0200
Subject: [PATCH] [llvm-c-test] Fix the usage message

There is no `--test-dibuilder` option. It was renamed multiple times,
the last time being db394edf95e7 defining it as
`--test-dibuilder-debuginfo-format`.
---
 llvm/tools/llvm-c-test/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/tools/llvm-c-test/main.c b/llvm/tools/llvm-c-test/main.c
index 8be9ea06fc68da..66861480220f58 100644
--- a/llvm/tools/llvm-c-test/main.c
+++ b/llvm/tools/llvm-c-test/main.c
@@ -61,7 +61,7 @@ static void print_usage(void) {
   fprintf(stderr, "  * --test-diagnostic-handler\n");
   fprintf(stderr,
           "    Read bitcode file from stdin with a diagnostic handler set\n\n");
-  fprintf(stderr, "  * --test-dibuilder\n");
+  fprintf(stderr, "  * --test-dibuilder-debuginfo-format\n");
   fprintf(stderr,
           "    Run tests for the DIBuilder C API - print generated module\n\n");
 }



More information about the llvm-commits mailing list