Skip to content

Commit db3569d

Browse files
authored
[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`.
1 parent 02711a7 commit db3569d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/test/Bindings/llvm-c/debug_info_new_format.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llvm-c-test --test-dibuilder-debuginfo-format | FileCheck %s
1+
; RUN: llvm-c-test --test-dibuilder | FileCheck %s
22
;; Duplicate of debug_info.ll using debug records instead of intrinsics.
33

44
; CHECK: ; ModuleID = 'debuginfo.c'

llvm/tools/llvm-c-test/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ int main(int argc, char **argv) {
109109
return llvm_echo();
110110
} else if (argc == 2 && !strcmp(argv[1], "--test-diagnostic-handler")) {
111111
return llvm_test_diagnostic_handler();
112-
} else if (argc == 2 &&
113-
!strcmp(argv[1], "--test-dibuilder-debuginfo-format")) {
112+
} else if (argc == 2 && !strcmp(argv[1], "--test-dibuilder")) {
114113
return llvm_test_dibuilder();
115114
} else {
116115
print_usage();

0 commit comments

Comments
 (0)