Skip to content

Commit

Permalink
[clang][NFC] Robustify testcase
Browse files Browse the repository at this point in the history
Protect this testcase from 'cleanup' appearing in metadata due to a pathname.

Reviewed By: jroelofs, bruno

Differential Revision: https://reviews.llvm.org/D157661
  • Loading branch information
urnathan committed Aug 11, 2023
1 parent 1e77536 commit e789bcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/test/CodeGen/fixup-depth-overflow.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e789bcb

Please sign in to comment.