[all-commits] [llvm/llvm-project] 9eaf0d: [UpdateCCTestChecks] Support --check-globals

Joel E. Denny via All-commits all-commits at lists.llvm.org
Fri Jun 25 10:18:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9eaf0d120d3255c43789213c499513ba1be9dde7
      https://github.com/llvm/llvm-project/commit/9eaf0d120d3255c43789213c499513ba1be9dde7
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    A clang/test/utils/update_cc_test_checks/Inputs/check-globals.c
    A clang/test/utils/update_cc_test_checks/Inputs/lit.cfg.example
    A clang/test/utils/update_cc_test_checks/check-globals.test
    M clang/test/utils/update_cc_test_checks/lit.local.cfg
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/update_cc_test_checks.py

  Log Message:
  -----------
  [UpdateCCTestChecks] Support --check-globals

This option is already supported by update_test_checks.py, but it can
also be useful in update_cc_test_checks.py.  For example, I'd like to
use it in OpenMP offload codegen tests to check global variables like
`.offload_maptypes*`.

Reviewed By: jdoerfert, arichardson, ggeorgakoudis

Differential Revision: https://reviews.llvm.org/D104714




More information about the All-commits mailing list