llvm-project
e78b7635 - update_test_checks: Relax DIFile filename checks (#135692)

Commit
1 year ago
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.
Author
Parents
Loading