Commit 1b15088
authored
Allow user override of default-enabled compile-time wasm features (#22966)
The signext feature is enabled by default by clang and can be overridden
with the -msign-ext/-mno-sign-ext flags at compile time. However it
cannot be individually controlled at link time (it can only be lowered
by setting the min browser version). This PR allows -mno-sign-ext,
-msign-ext (and likewise -mbulk-memory) to be used at link time as well,
and override the browser version control.1 parent 76ad476 commit 1b15088
3 files changed
+46
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
1403 | 1404 | | |
1404 | 1405 | | |
1405 | 1406 | | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
1406 | 1410 | | |
1407 | 1411 | | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
1408 | 1419 | | |
1409 | 1420 | | |
1410 | 1421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10434 | 10434 | | |
10435 | 10435 | | |
10436 | 10436 | | |
| 10437 | + | |
| 10438 | + | |
| 10439 | + | |
| 10440 | + | |
| 10441 | + | |
| 10442 | + | |
| 10443 | + | |
| 10444 | + | |
| 10445 | + | |
| 10446 | + | |
| 10447 | + | |
| 10448 | + | |
| 10449 | + | |
| 10450 | + | |
| 10451 | + | |
10437 | 10452 | | |
10438 | 10453 | | |
10439 | 10454 | | |
10440 | | - | |
10441 | 10455 | | |
10442 | 10456 | | |
10443 | 10457 | | |
10444 | | - | |
| 10458 | + | |
10445 | 10459 | | |
10446 | 10460 | | |
10447 | 10461 | | |
10448 | 10462 | | |
10449 | 10463 | | |
10450 | 10464 | | |
10451 | | - | |
10452 | | - | |
10453 | | - | |
| 10465 | + | |
| 10466 | + | |
| 10467 | + | |
10454 | 10468 | | |
10455 | 10469 | | |
10456 | 10470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
117 | | - | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| 128 | + | |
| 129 | + | |
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
| |||
132 | 141 | | |
133 | 142 | | |
134 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
135 | 150 | | |
136 | 151 | | |
137 | 152 | | |
| |||
0 commit comments