[llvm] db3569d - [llvm-c-test] Rename --test-dibuilder-debuginfo-format to `--test-dibuilder` (#105702)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 01:21:15 PDT 2024
Author: Michal Rostecki
Date: 2024-09-23T09:21:11+01:00
New Revision: db3569d2e5aa4d967a2e8c5b9893f9a49937e55d
URL: https://github.com/llvm/llvm-project/commit/db3569d2e5aa4d967a2e8c5b9893f9a49937e55d
DIFF: https://github.com/llvm/llvm-project/commit/db3569d2e5aa4d967a2e8c5b9893f9a49937e55d.diff
LOG: [llvm-c-test] Rename --test-dibuilder-debuginfo-format to `--test-dibuilder` (#105702)
The former name was introduced during the split between debug info
intrinsic and `DbgRecord`. Before the split, it was named
`--test-dibuilder`.
However, the full migration to `DbgRecord` happened already and we have
just one test suite related to building debug info using LLVM-C API.
Therefore, it makes sense to rename it back to `--test-dibuilder`.
Added:
Modified:
llvm/test/Bindings/llvm-c/debug_info_new_format.ll
llvm/tools/llvm-c-test/main.c
Removed:
################################################################################
diff --git a/llvm/test/Bindings/llvm-c/debug_info_new_format.ll b/llvm/test/Bindings/llvm-c/debug_info_new_format.ll
index 50496cb1605ec8..e7f537aa4f1a9a 100644
--- a/llvm/test/Bindings/llvm-c/debug_info_new_format.ll
+++ b/llvm/test/Bindings/llvm-c/debug_info_new_format.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-c-test --test-dibuilder-debuginfo-format | FileCheck %s
+; RUN: llvm-c-test --test-dibuilder | FileCheck %s
;; Duplicate of debug_info.ll using debug records instead of intrinsics.
; CHECK: ; ModuleID = 'debuginfo.c'
diff --git a/llvm/tools/llvm-c-test/main.c b/llvm/tools/llvm-c-test/main.c
index 8be9ea06fc68da..badbe4b13b6ba5 100644
--- a/llvm/tools/llvm-c-test/main.c
+++ b/llvm/tools/llvm-c-test/main.c
@@ -109,8 +109,7 @@ int main(int argc, char **argv) {
return llvm_echo();
} else if (argc == 2 && !strcmp(argv[1], "--test-diagnostic-handler")) {
return llvm_test_diagnostic_handler();
- } else if (argc == 2 &&
- !strcmp(argv[1], "--test-dibuilder-debuginfo-format")) {
+ } else if (argc == 2 && !strcmp(argv[1], "--test-dibuilder")) {
return llvm_test_dibuilder();
} else {
print_usage();
More information about the llvm-commits
mailing list