File tree 11 files changed +35
-7
lines changed
library/profiler_builtins
instrument-coverage-cov-reports-base
instrument-coverage-cov-reports-link-dead-code
pgo-indirect-call-promotion
11 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -431,15 +431,15 @@ jobs:
431
431
- name : x86_64-mingw-1
432
432
env :
433
433
SCRIPT : make ci-mingw-subset-1
434
- RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu"
434
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler "
435
435
CUSTOM_MINGW : 1
436
436
NO_DEBUG_ASSERTIONS : 1
437
437
NO_LLVM_ASSERTIONS : 1
438
438
os : windows-latest-xl
439
439
- name : x86_64-mingw-2
440
440
env :
441
441
SCRIPT : make ci-mingw-subset-2
442
- RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu"
442
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler "
443
443
CUSTOM_MINGW : 1
444
444
os : windows-latest-xl
445
445
- name : dist-x86_64-msvc
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ fn main() {
48
48
// Turn off various features of gcc and such, mostly copying
49
49
// compiler-rt's build system already
50
50
cfg. flag ( "-fno-builtin" ) ;
51
- cfg. flag ( "-fvisibility=hidden" ) ;
52
51
cfg. flag ( "-fomit-frame-pointer" ) ;
53
52
cfg. define ( "VISIBILITY_HIDDEN" , None ) ;
54
53
if !target. contains ( "windows" ) {
54
+ cfg. flag ( "-fvisibility=hidden" ) ;
55
55
cfg. define ( "COMPILER_RT_HAS_UNAME" , Some ( "1" ) ) ;
56
56
} else {
57
57
profile_sources. push ( "WindowsMMap.c" ) ;
Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ jobs:
523
523
- name : x86_64-mingw-1
524
524
env :
525
525
SCRIPT : make ci-mingw-subset-1
526
- RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
526
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-profiler
527
527
CUSTOM_MINGW : 1
528
528
# FIXME(#59637)
529
529
NO_DEBUG_ASSERTIONS : 1
@@ -533,7 +533,7 @@ jobs:
533
533
- name : x86_64-mingw-2
534
534
env :
535
535
SCRIPT : make ci-mingw-subset-2
536
- RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
536
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-profiler
537
537
CUSTOM_MINGW : 1
538
538
<< : *job-windows-xl
539
539
Original file line number Diff line number Diff line change 1
1
# needs-profiler-support
2
+ # ignore-windows-gnu
3
+
4
+ # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5
+ # properly. Since we only have GCC on the CI ignore the test for now.
2
6
3
7
# ISSUE(76038): When targeting MSVC, Rust binaries built with both `-Z instrument-coverage` and
4
8
# `-C link-dead-code` typically crash (with a seg-fault) or at best generate an empty `*.profraw`.
Original file line number Diff line number Diff line change 1
1
# needs-profiler-support
2
2
# ignore-msvc
3
+ # ignore-windows-gnu
4
+
5
+ # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
6
+ # properly. Since we only have GCC on the CI ignore the test for now.
3
7
4
8
# LINK_DEAD_CODE requires ignore-msvc due to Issue #76038
5
9
LINK_DEAD_CODE =yes
@@ -8,4 +12,4 @@ LINK_DEAD_CODE=yes
8
12
9
13
# ISSUE(76038): When targeting MSVC, Rust binaries built with both `-Z instrument-coverage` and
10
14
# `-C link-dead-code` typically crash (with a seg-fault) or at best generate an empty `*.profraw`.
11
- # See ../instrument-coverage/coverage_tools.mk for more information.
15
+ # See ../instrument-coverage/coverage_tools.mk for more information.
Original file line number Diff line number Diff line change 1
1
# needs-profiler-support
2
+ # ignore-windows-gnu
3
+
4
+ # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5
+ # properly. Since we only have GCC on the CI ignore the test for now.
2
6
3
7
-include ../tools.mk
4
8
Original file line number Diff line number Diff line change 1
1
# needs-profiler-support
2
+ # ignore-windows-gnu
3
+
4
+ # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5
+ # properly. Since we only have GCC on the CI ignore the test for now.
2
6
3
7
-include ../tools.mk
4
8
Original file line number Diff line number Diff line change 1
1
# needs-profiler-support
2
+ # ignore-windows-gnu
3
+
4
+ # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5
+ # properly. Since we only have GCC on the CI ignore the test for now.
2
6
3
7
-include ../tools.mk
4
8
Original file line number Diff line number Diff line change 1
1
# needs-profiler-support
2
+ # ignore-windows-gnu
3
+
4
+ # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5
+ # properly. Since we only have GCC on the CI ignore the test for now.
2
6
3
7
-include ../tools.mk
4
8
Original file line number Diff line number Diff line change 1
1
# needs-profiler-support
2
+ # ignore-windows-gnu
3
+
4
+ # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5
+ # properly. Since we only have GCC on the CI ignore the test for now.
2
6
3
7
-include ../tools.mk
4
8
You can’t perform that action at this time.
0 commit comments