[clang] e789bcb - [clang][NFC] Robustify testcase
Nathan Sidwell via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 11 13:00:14 PDT 2023
Author: Nathan Sidwell
Date: 2023-08-11T15:59:52-04:00
New Revision: e789bcbb967f391d4f641bc8fa0403a45039a592
URL: https://github.com/llvm/llvm-project/commit/e789bcbb967f391d4f641bc8fa0403a45039a592
DIFF: https://github.com/llvm/llvm-project/commit/e789bcbb967f391d4f641bc8fa0403a45039a592.diff
LOG: [clang][NFC] Robustify testcase
Protect this testcase from 'cleanup' appearing in metadata due to a pathname.
Reviewed By: jroelofs, bruno
Differential Revision: https://reviews.llvm.org/D157661
Added:
Modified:
clang/test/CodeGen/fixup-depth-overflow.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/fixup-depth-overflow.c b/clang/test/CodeGen/fixup-depth-overflow.c
index 1ae2a41b1c2628..6662eb95bb2d4e 100644
--- a/clang/test/CodeGen/fixup-depth-overflow.c
+++ b/clang/test/CodeGen/fixup-depth-overflow.c
@@ -24,3 +24,5 @@ void f(int x) {
// CHECK-LABEL: define {{(dso_local )?}}void @f
// CHECK-NOT: cleanup
+// CHECK: {{^!0 = }}
+// We might see 'cleanup' as part of a pathname or versioning in metadata
More information about the cfe-commits
mailing list