[all-commits] [llvm/llvm-project] e78b76: update_test_checks: Relax DIFile filename checks (...
Scott Linder via All-commits
all-commits at lists.llvm.org
Thu Apr 24 10:03:55 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e78b763568e47e685926614195c3075afa35668c
https://github.com/llvm/llvm-project/commit/e78b763568e47e685926614195c3075afa35668c
Author: Scott Linder <scott.linder at amd.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/difile_absolute_filenames.ll
A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/difile_absolute_filenames.ll.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll.funcsig.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll.funcsig.transitiveglobals.expected
A llvm/test/tools/UpdateTestChecks/update_test_checks/difile_absolute_filenames.test
M llvm/utils/UpdateTestChecks/common.py
Log Message:
-----------
update_test_checks: Relax DIFile filename checks (#135692)
Avoid baking in absolute paths in check lines generated for DIFile
metadata. Generated test checks cannot be sensitive to absolute paths
anyway, as those vary with the environment, but there could be
situations where some sensitivity to partial paths is required for
certain tests. This implementation just assumes such tests aren't worth
the effort to support, but it could be supported in the future.
This is most useful for update_cc_test_checks with debug info enabled,
where the test writer cannot manipulate the paths within the generated
IR directly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list