Skip to content

Commit abc8e96

Browse files
committed
Move comments to unbreak windows tests
1 parent 5cb1780 commit abc8e96

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

llvm/test/tools/llvm-profdata/debug-info-correlate-warnings.ll

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ void no_cfg() {}
2020
void no_counter() {}
2121
void no_profc() {}
2222
void no_func() {}
23+
24+
// NOTE: After generating the IR below, manually remove the follwing pieces
25+
// 1. Remove "@removed" function and "@__profc_removed" global
26+
// 2. Remove "Function Name" annotation for "@no_name"
27+
// 3. Remove "CFG Hash" annotation for "@no_cfg"
28+
// 4. Remove "Num Counters" annotation for "@no_counter"
29+
// 5. Remove "@__profc_no_profc"
30+
// 6. Remove "@no_func"
2331
;--- gen
2432
clang --target=x86_64-linux -fprofile-generate -mllvm -debug-info-correlate -S -emit-llvm -g a.c -o -
25-
# NOTE: After generating the IR below, manually remove the follwing pieces
26-
# 1. Remove "@removed" function and "@__profc_removed" global
27-
# 2. Remove "Function Name" annotation for "@no_name"
28-
# 3. Remove "CFG Hash" annotation for "@no_cfg"
29-
# 4. Remove "Num Counters" annotation for "@no_counter"
30-
# 5. Remove "@__profc_no_profc"
31-
# 6. Remove "@no_func"
33+
3234
;--- a.ll
3335
; ModuleID = 'a.c'
3436
source_filename = "a.c"

0 commit comments

Comments
 (0)