Commit e2a5aa2
committed
[RTSan][Darwin] Adjust OSSpinLock/_os_nospin_lock interceptor and tests (llvm#132867)
These changes align with these lock types and allows builds and tests to
pass with various SDKS.
rdar://147067322
(cherry picked from commit 7cc4472)1 parent 2453cd2 commit e2a5aa2
File tree
2 files changed
+32
-45
lines changed- compiler-rt/lib/rtsan
- tests
2 files changed
+32
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 24 | | |
43 | 25 | | |
44 | 26 | | |
| |||
633 | 615 | | |
634 | 616 | | |
635 | 617 | | |
| 618 | + | |
| 619 | + | |
636 | 620 | | |
637 | 621 | | |
638 | 622 | | |
639 | 623 | | |
640 | | - | |
| 624 | + | |
641 | 625 | | |
642 | 626 | | |
643 | 627 | | |
644 | 628 | | |
645 | 629 | | |
646 | 630 | | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
| 631 | + | |
| 632 | + | |
651 | 633 | | |
652 | 634 | | |
653 | 635 | | |
654 | 636 | | |
655 | 637 | | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
656 | 647 | | |
657 | 648 | | |
658 | 649 | | |
| |||
Lines changed: 18 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1036 | 1036 | | |
1037 | 1037 | | |
1038 | 1038 | | |
1039 | | - | |
1040 | 1039 | | |
1041 | 1040 | | |
1042 | 1041 | | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
1043 | 1051 | | |
1044 | 1052 | | |
1045 | 1053 | | |
| |||
1048 | 1056 | | |
1049 | 1057 | | |
1050 | 1058 | | |
1051 | | - | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1052 | 1067 | | |
1053 | 1068 | | |
1054 | 1069 | | |
| |||
1058 | 1073 | | |
1059 | 1074 | | |
1060 | 1075 | | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
| 1076 | + | |
1081 | 1077 | | |
1082 | 1078 | | |
1083 | 1079 | | |
| |||
0 commit comments