From af0601328e5579dc0df1e76126653b4c1e97ba0d Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Thu, 22 Aug 2024 19:18:17 +0200 Subject: [PATCH] [llvm-c-test] Rename `--test-dibuilder-debuginfo-format` to `--test-dibuilder` 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`. --- llvm/test/Bindings/llvm-c/debug_info_new_format.ll | 2 +- llvm/tools/llvm-c-test/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..b4f5ad60bc1850 100644 --- a/llvm/tools/llvm-c-test/main.c +++ b/llvm/tools/llvm-c-test/main.c @@ -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();