Skip to content

Commit

Permalink
[llvm-c-test] Rename --test-dibuilder-debuginfo-format to `--test-d…
Browse files Browse the repository at this point in the history
…ibuilder`

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`.
  • Loading branch information
vadorovsky committed Sep 21, 2024
1 parent 18225c7 commit 8dcc50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llvm/test/Bindings/llvm-c/debug_info_new_format.ll
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-c-test/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int main(int argc, char **argv) {
} 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")) {
!strcmp(argv[1], "--test-dibuilder")) {
return llvm_test_dibuilder();
} else {
print_usage();
Expand Down

0 comments on commit 8dcc50d

Please sign in to comment.