Skip to content

Commit 564c38e

Browse files
committed
Fix clang test.
1 parent 8af4ed5 commit 564c38e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
!world
1+
v1
2+
f world
3+
c 0

clang/test/CodeGen/basic-block-sections.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ int another(int a) {
3030
//
3131
// BB_WORLD: .section .text.world,"ax",@progbits{{$}}
3232
// BB_WORLD: world:
33-
// BB_WORLD: .section .text.world,"ax",@progbits,unique
34-
// BB_WORLD: world.__part.1:
33+
// BB_ALL: .section .text.world,"ax",@progbits,unique
34+
// BB_ALL: world.__part.1:
35+
// BB_LIST: .section .text.split.world,"ax",@progbits
36+
// BB_LIST: world.cold:
3537
// BB_ALL: .section .text.another,"ax",@progbits
3638
// BB_ALL: another.__part.1:
3739
// BB_LIST-NOT: .section .text.another,"ax",@progbits

0 commit comments

Comments
 (0)